From d51a85d4061460c8aa0ee82937f8d7c6ec1ee4b6 Mon Sep 17 00:00:00 2001 From: Eric Lipe Date: Thu, 14 Nov 2024 14:56:21 -0500 Subject: [PATCH] - remove dev test code --- scripts/deploy-backend.sh | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/scripts/deploy-backend.sh b/scripts/deploy-backend.sh index 35c1d1d84..c4ab36e2b 100755 --- a/scripts/deploy-backend.sh +++ b/scripts/deploy-backend.sh @@ -70,16 +70,10 @@ set_cf_envs() cf_cmd="cf unset-env $CGAPPNAME_BACKEND $var_name ${!var_name}" $cf_cmd continue - # TODO: REMOVE DEV TESTING CODE - elif [[("$CF_SPACE" = "tanf-dev") ]]; then + elif [[ ("$CF_SPACE" = "tanf-staging") ]]; then var_value=${!var_name} staging_var="STAGING_$var_name" if [[ "${!staging_var}" ]]; then - echo . - echo . - echo SETTING UNIQUE VALUE FOR $staging_var SPECIFIC VARIABLE - echo . - echo . var_value=${!staging_var} fi cf_cmd="cf set-env $CGAPPNAME_BACKEND $var_name ${var_value}"