Skip to content

Commit

Permalink
Add VARIABLE_GROUP_ID environment variable to deployer scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
rdeveen committed Mar 27, 2024
1 parent 3c64aaa commit 5db8d86
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ end_group
set -euo pipefail

export USE_MSI=false
export VARIABLE_GROUP_ID=${deployerfolder}

if [[ $(get_platform) = github ]]; then
export CONFIG_REPO_PATH=${GITHUB_WORKSPACE}/WORKSPACES
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ end_group
set -euo pipefail

export USE_MSI=false
export VARIABLE_GROUP_ID=${deployerfolder}

cd ${CONFIG_REPO_PATH}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ fi

# TODO:
export USE_MSI=false
export VARIABLE_GROUP_ID=${deployerfolder}

start_group "Setup platform dependencies"
# Will return vars which we need to export afterwards
Expand Down Expand Up @@ -142,7 +143,6 @@ echo "Environment(filename): $ENVIRONMENT_IN_FILENAME"
echo "Location(filename): $LOCATION_IN_FILENAME"
echo "Network(filename): $NETWORK_IN_FILENAME"

export VARIABLE_GROUP_ID=$deployerfolder

if [ $ENVIRONMENT != $ENVIRONMENT_IN_FILENAME ]; then
exit_error "The environment setting in ${workload_zone_configuration_file} '$ENVIRONMENT' does not match the ${workload_zone_configuration_file} file name '$ENVIRONMENT_IN_FILENAME'. Filename should have the pattern [ENVIRONMENT]-[REGION_CODE]-[NETWORK_LOGICAL_NAME]-INFRASTRUCTURE" 2
Expand Down

0 comments on commit 5db8d86

Please sign in to comment.