ci: remove create & delete namespace commands from helm jobs

Since this will be done internally by intall_helm.sh script
with kubectl_retry.

Fixes: #2309
Depends-on: #2377

Signed-off-by: Rakshith R <rar@redhat.com>
This commit is contained in:
Rakshith R 2021-08-09 12:00:49 +05:30 committed by mergify[bot]
parent 70c6414e1e
commit 935b261be1

View File

@ -175,7 +175,6 @@ node('cico-workspace') {
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_param}"
}
}
@ -188,7 +187,6 @@ node('cico-workspace') {
timeout(time: 30, unit: 'MINUTES') {
ssh "cd /opt/build/go/src/github.com/ceph/ceph-csi && ./scripts/install-helm.sh cleanup-cephcsi --namespace '${namespace}'"
ssh 'cd /opt/build/go/src/github.com/ceph/ceph-csi && ./scripts/install-helm.sh clean'
ssh "kubectl delete namespace '${namespace}' --ignore-not-found=true"
}
}
}