From a44bb6fd981b42fdc000301ccfef063612b5c731 Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: Wed, 5 Aug 2020 12:12:03 +0200 Subject: [PATCH] ci: create test namespace before "helm install ceph-csi" Without the namespace, Helm fails to install Ceph-CSI. Signed-off-by: Niels de Vos --- mini-e2e-helm.groovy | 1 + 1 file changed, 1 insertion(+) diff --git a/mini-e2e-helm.groovy b/mini-e2e-helm.groovy index 8d8634768..ff3c0575f 100644 --- a/mini-e2e-helm.groovy +++ b/mini-e2e-helm.groovy @@ -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}'" } }