ci: add --ignore-not-found=true to delete namespace in helm cleanup

This commit is added to facilitate merging of
https://github.com/ceph/ceph-csi/pull/2377 into devel and release
branches.

https://github.com/ceph/ceph-csi/pull/2378 will remove create &
delete namespace cmds from helm e2e jobs later on.

Signed-off-by: Rakshith R <rar@redhat.com>
This commit is contained in:
Rakshith R 2021-08-11 09:19:53 +05:30 committed by mergify[bot]
parent e6c04e1414
commit 70c6414e1e

View File

@ -188,7 +188,7 @@ 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}'"
ssh "kubectl delete namespace '${namespace}' --ignore-not-found=true"
}
}
}