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:
Niels de Vos 2020-08-05 12:12:03 +02:00 committed by mergify[bot]
parent 78976616ac
commit a44bb6fd98

View File

@ -55,6 +55,7 @@ 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 "kubectl create namespace '${namespace}'"
ssh "cd /opt/build/go/src/github.com/ceph/ceph-csi && ./scripts/install-helm.sh install-cephcsi '${namespace}'"
}
}