mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-22 22:30:23 +00:00
ci: Fix E2E_ARGS for helm test
The test_type and deployment related args are being passed as make option instead of the E2E_ARGS. Pass it as E2E_ARGS. Signed-off-by: karthik-us <ksubrahm@redhat.com>
This commit is contained in:
parent
b8c16ccbac
commit
1245b49cb9
@ -198,13 +198,13 @@ node('cico-workspace') {
|
||||
}
|
||||
stage('run e2e') {
|
||||
timeout(time: 120, unit: 'MINUTES') {
|
||||
test_type = "--test-rbd=true --test-cephfs=true --test-nfs=true"
|
||||
test_type = '--test-rbd=true --test-cephfs=true --test-nfs=true'
|
||||
if ("${test_type}" == "cephfs"){
|
||||
test_type = "--test-cephfs=true --test-rbd=false --test-nfs=false"
|
||||
test_type = '--test-cephfs=true --test-rbd=false --test-nfs=false'
|
||||
} else if ("${test_type}" == "rbd"){
|
||||
test_type = "--test-rbd=true --test-cephfs=false --test-nfs=false"
|
||||
test_type = '--test-rbd=true --test-cephfs=false --test-nfs=false'
|
||||
} 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}\""
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user