From 39458521fffe8126edd92b57f4e5dbb02fac3f18 Mon Sep 17 00:00:00 2001 From: Yolanda Robla Date: Fri, 26 Jun 2020 09:43:08 +0200 Subject: [PATCH] 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 --- ci/kni_deploy_aws.sh | 1 + ci/kni_deploy_gcp.sh | 1 + 2 files changed, 2 insertions(+) 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}/ -- 2.16.6