From: Yolanda Robla Date: Fri, 26 Jun 2020 07:43:08 +0000 (+0200) Subject: Add missing PRESERVE_CLUSTER var X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=commitdiff_plain;h=39458521fffe8126edd92b57f4e5dbb02fac3f18;p=kni%2Finstaller.git Add missing PRESERVE_CLUSTER var When this is not set, CI is crashing when cleaning the cluster. Signed-off-by: Yolanda Robla Change-Id: Icfa5d282c9147c05000be0a0adde885e77dc6bf5 --- diff --git a/ci/kni_deploy_aws.sh b/ci/kni_deploy_aws.sh index 3f5ea9c..0f7434a 100755 --- a/ci/kni_deploy_aws.sh +++ b/ci/kni_deploy_aws.sh @@ -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}/ diff --git a/ci/kni_deploy_gcp.sh b/ci/kni_deploy_gcp.sh index 213e810..7c1f370 100755 --- a/ci/kni_deploy_gcp.sh +++ b/ci/kni_deploy_gcp.sh @@ -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}/