From 3c747bfed60d9149597ba21cf77d01327529d2b1 Mon Sep 17 00:00:00 2001 From: Jeremiah Stuever Date: Fri, 13 Mar 2020 16:38:04 -0700 Subject: [PATCH] gcp upi template: need to use full path to 02_lb_int.py on bootstrap destroy --- .../openshift/installer/cluster-launch-installer-upi-e2e.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci-operator/templates/openshift/installer/cluster-launch-installer-upi-e2e.yaml b/ci-operator/templates/openshift/installer/cluster-launch-installer-upi-e2e.yaml index 0aff695af90aa..29662dd6b1821 100644 --- a/ci-operator/templates/openshift/installer/cluster-launch-installer-upi-e2e.yaml +++ b/ci-operator/templates/openshift/installer/cluster-launch-installer-upi-e2e.yaml @@ -2066,7 +2066,7 @@ objects: aws cloudformation wait stack-delete-complete --stack-name "${CLUSTER_NAME}-bootstrap" & wait "$!" elif [[ "${CLUSTER_TYPE}" == "gcp" ]]; then - if [ -f 02_lb_int.py ]; then # for internal lb workflow using 02_lb_int.py + if [ -f ${HOME}/gcp/02_lb_int.py ]; then # for internal lb workflow using 02_lb_int.py gcloud compute instance-groups unmanaged remove-instances ${INFRA_ID}-master-${ZONE_0}-instance-group --zone=${ZONE_0} --instances=${INFRA_ID}-bootstrap else # for older workflow gcloud compute target-pools remove-instances ${INFRA_ID}-ign-target-pool --instances-zone="${ZONE_0}" --instances=${INFRA_ID}-bootstrap