mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-01-18 10:49:30 +00:00
ci: create test namespace before "helm install ceph-csi"
Without the namespace, Helm fails to install Ceph-CSI. Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
parent
78976616ac
commit
a44bb6fd98
@ -55,6 +55,7 @@ node('cico-workspace') {
|
|||||||
stage('deploy ceph-csi through helm') {
|
stage('deploy ceph-csi through helm') {
|
||||||
timeout(time: 30, unit: 'MINUTES') {
|
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 up'
|
||||||
|
ssh "kubectl create namespace '${namespace}'"
|
||||||
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}'"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user