mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-29 17:50:23 +00:00
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:
parent
f69921afb1
commit
b8c039528d
@ -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') {
|
||||
|
Loading…
Reference in New Issue
Block a user