mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-22 22:30:23 +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:
parent
e6c04e1414
commit
70c6414e1e
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user