ci: Fix helm test E2E_ARGS

Fix the helm tests E2E_ARGS interpolation.

Signed-off-by: karthik-us <ksubrahm@redhat.com>
This commit is contained in:
karthik-us 2023-11-08 13:36:51 +05:30 committed by mergify[bot]
parent 1245b49cb9
commit ea0464958c

View File

@ -206,7 +206,8 @@ node('cico-workspace') {
} else if ("${test_type}" == "nfs"){ } else if ("${test_type}" == "nfs"){
test_type = '--test-nfs=true --test-cephfs=false --test-rbd=false' test_type = '--test-nfs=true --test-cephfs=false --test-rbd=false'
} }
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 ${test_type}\"" def e2e_args = "--delete-namespace-on-failure=false --deploy-cephfs=false --deploy-rbd=false --helm-test=true ${test_type}"
ssh "cd /opt/build/go/src/github.com/ceph/ceph-csi && make run-e2e NAMESPACE='${namespace}' E2E_ARGS='${e2e_args}'"
} }
} }
stage('cleanup ceph-csi deployment') { stage('cleanup ceph-csi deployment') {