mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-01-29 16:19:29 +00:00
ci: add single quotes for namespace var
added single quotes for namespace variable Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
parent
1978e9a9f1
commit
78976616ac
@ -55,20 +55,19 @@ node('cico-workspace') {
|
||||
stage('deploy ceph-csi through helm') {
|
||||
timeout(time: 30, unit: 'MINUTES') {
|
||||
ssh 'cd /opt/build/go/src/github.com/ceph/ceph-csi && ./scripts/install-helm.sh up'
|
||||
ssh 'cd /opt/build/go/src/github.com/ceph/ceph-csi && ./scripts/install-helm.sh install-cephcsi ${namespace}'
|
||||
ssh "cd /opt/build/go/src/github.com/ceph/ceph-csi && ./scripts/install-helm.sh install-cephcsi '${namespace}'"
|
||||
}
|
||||
}
|
||||
stage('run e2e') {
|
||||
timeout(time: 60, 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"'
|
||||
ssh "cd /opt/build/go/src/github.com/ceph/ceph-csi && make run-e2e NAMESPACE='${namespace}' E2E_ARGS='--deploy-cephfs=false --deploy-rbd=false'"
|
||||
}
|
||||
}
|
||||
stage('cleanup ceph-csi deployment') {
|
||||
timeout(time: 30, unit: 'MINUTES') {
|
||||
ssh 'cd /opt/build/go/src/github.com/ceph/ceph-csi && ./scripts/install-helm.sh cleanup-cephcsi ${namespace}'
|
||||
ssh "cd /opt/build/go/src/github.com/ceph/ceph-csi && ./scripts/install-helm.sh cleanup-cephcsi '${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}'" }
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user