From 4b72f797e94bbef635eac51978e1799eb240f342 Mon Sep 17 00:00:00 2001 From: Alan Moran Date: Thu, 29 Aug 2024 11:52:50 +0200 Subject: [PATCH] Remove PR_NUMBER check from build-extension-file.sh in autoscaler module Checking for the PR number is not necessary, when PR number is not present the default port of 5432 will be assign to the autoscaler tcp route. Removing this check would allow the pipeline to run for the concourse branch in main. --- src/autoscaler/build-extension-file.sh | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/autoscaler/build-extension-file.sh b/src/autoscaler/build-extension-file.sh index cebda974c2..a35b1805a3 100755 --- a/src/autoscaler/build-extension-file.sh +++ b/src/autoscaler/build-extension-file.sh @@ -15,11 +15,6 @@ if [ -z "${DEPLOYMENT_NAME}" ]; then exit 1 fi -if [ -z "${PR_NUMBER}" ]; then - echo "PR_NUMBER is not set" - exit 1 -fi - export SYSTEM_DOMAIN="autoscaler.app-runtime-interfaces.ci.cloudfoundry.org" export POSTGRES_ADDRESS="${DEPLOYMENT_NAME}-postgres.tcp.${SYSTEM_DOMAIN}" export POSTGRES_EXTERNAL_PORT="${PR_NUMBER:-5432}"