ci: avoid deployment of sc and secret on v3.3

For release 3.3, we will not be deploying storageclass
and secret on helm installation on ci.
Moving forward, devel and all the future release will
have the deployment enabled by default in the ci.

Signed-off-by: Yug <yuggupta27@gmail.com>
This commit is contained in:
Yug 2021-07-05 19:15:07 +05:30 committed by mergify[bot]
parent f69921afb1
commit b8c039528d

View File

@ -170,9 +170,13 @@ node('cico-workspace') {
}
stage('deploy ceph-csi through helm') {
timeout(time: 30, unit: 'MINUTES') {
def deploy_param = ""
if (git_since != 'release-v3.3') {
deploy_param = '--deploy-sc --deploy-secret'
}
ssh 'cd /opt/build/go/src/github.com/ceph/ceph-csi && ./scripts/install-helm.sh up'
ssh "kubectl create namespace '${namespace}'"
ssh "cd /opt/build/go/src/github.com/ceph/ceph-csi && ./scripts/install-helm.sh install-cephcsi --namespace '${namespace}' --deploy-sc --deploy-secret"
ssh "cd /opt/build/go/src/github.com/ceph/ceph-csi && ./scripts/install-helm.sh install-cephcsi --namespace '${namespace}' '${deploy_param}'"
}
}
stage('run e2e') {