mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-26 16:20:28 +00:00
ci: Pass test_type as E2E_ARGS
The test_type is being passed as the make option instead of the E2E_ARGS. This fix should pass it as the E2E_ARGS. Signed-off-by: karthik-us <ksubrahm@redhat.com>
This commit is contained in:
parent
c659487084
commit
b8c16ccbac
@ -206,7 +206,7 @@ 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}'"
|
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}\""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('cleanup ceph-csi deployment') {
|
stage('cleanup ceph-csi deployment') {
|
||||||
|
@ -193,7 +193,7 @@ 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 E2E_ARGS='--delete-namespace-on-failure=false ${test_type}'"
|
ssh "cd /opt/build/go/src/github.com/ceph/ceph-csi && make run-e2e E2E_ARGS=\"--delete-namespace-on-failure=false ${test_type}\""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user