Add missing PRESERVE_CLUSTER var 00/3600/2
authorYolanda Robla <yroblamo@redhat.com>
Fri, 26 Jun 2020 07:43:08 +0000 (09:43 +0200)
committerYolanda Robla <yroblamo@redhat.com>
Fri, 26 Jun 2020 07:43:42 +0000 (09:43 +0200)
When this is not set, CI is crashing when
cleaning the cluster.

Signed-off-by: Yolanda Robla <yroblamo@redhat.com>
Change-Id: Icfa5d282c9147c05000be0a0adde885e77dc6bf5

ci/kni_deploy_aws.sh
ci/kni_deploy_gcp.sh

index 3f5ea9c..0f7434a 100755 (executable)
@@ -19,6 +19,7 @@ set -e -u -x -o pipefail
 export PATH=$PATH:/usr/local/go/bin:/usr/local/bin
 KNI_PATH='src/gerrit.akraino.org/kni/'
 SITE_NAME='edge-sites-testing.devcluster.openshift.com'
+PRESERVE_CLUSTER="${PRESERVE_CLUSTER:-}"
 
 echo '---> Starting kni installer generation'
 export GOPATH=${WORKSPACE}/
index 213e810..7c1f370 100755 (executable)
@@ -19,6 +19,7 @@ set -e -u -x -o pipefail
 export PATH=$PATH:/usr/local/go/bin:/usr/local/bin
 KNI_PATH='src/gerrit.akraino.org/kni/'
 SITE_NAME='edge-sites-testing.gcp.devcluster.openshift.com'
+PRESERVE_CLUSTER="${PRESERVE_CLUSTER:-}"
 
 echo '---> Starting kni installer generation'
 export GOPATH=${WORKSPACE}/