mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 18:43:34 +00:00
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:
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user