mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-26 16:20:28 +00:00
e2e: do not delete the namespace and contents after a failure
When a failure occurs, by default the test namespace is removed. This makes it impossible to fetch the logs of the containers where the failure was discovered. Pass --delete-namespace-on-failure=false as an additional argument to the `run-e2e` make target, so that the namespace is kept. Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
parent
83e483bb8d
commit
e122cff477
@ -180,7 +180,7 @@ node('cico-workspace') {
|
||||
}
|
||||
stage('run e2e') {
|
||||
timeout(time: 120, unit: 'MINUTES') {
|
||||
ssh "cd /opt/build/go/src/github.com/ceph/ceph-csi && make run-e2e NAMESPACE='${namespace}' E2E_ARGS='--deploy-cephfs=false --deploy-rbd=false --helm-test=true'"
|
||||
ssh "cd /opt/build/go/src/github.com/ceph/ceph-csi && make run-e2e NAMESPACE='${namespace}' E2E_ARGS='--delete-namespace-on-failure=false --deploy-cephfs=false --deploy-rbd=false --helm-test=true'"
|
||||
}
|
||||
}
|
||||
stage('cleanup ceph-csi deployment') {
|
||||
|
@ -167,7 +167,7 @@ node('cico-workspace') {
|
||||
}
|
||||
stage('run e2e') {
|
||||
timeout(time: 120, unit: 'MINUTES') {
|
||||
ssh 'cd /opt/build/go/src/github.com/ceph/ceph-csi && make run-e2e'
|
||||
ssh 'cd /opt/build/go/src/github.com/ceph/ceph-csi && make run-e2e E2E_ARGS="--delete-namespace-on-failure=false"'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user