UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit aa5c9bce authored by Ismail Ahmad's avatar Ismail Ahmad
Browse files

chore: testing tf_var change

parent 542495f1
No related branches found
No related tags found
1 merge request!153BB-1271 Fix TF Workspace Deletion
Pipeline #132624 waiting for manual action
......@@ -71,6 +71,8 @@ pre vars:
- if (( ${DIFF_ARR[1]} > 0 )); then CHART_BREAKING_CHANGE="true"; fi
# store variables
- echo "CHART_BREAKING_CHANGE=$CHART_BREAKING_CHANGE" >> variables.env
# Create the TF_VAR_env variable
- echo "TF_VAR_env=$(echo $CI_COMMIT_REF_SLUG | cut -c 1-7)-$(echo $CI_COMMIT_SHA | cut -c 1-7)"
- cat variables.env
#-----------------------------------------------------------------------------------------------------------------------
......
......@@ -17,9 +17,9 @@ include:
interruptible: false
variables:
TF_IN_AUTOMATION: "1"
TF_VAR_env: $(echo "${CI_COMMIT_REF_SLUG}"| cut -c 1-7)-$(echo "${CI_COMMIT_SHA}" | cut -c 1-7)
before_script:
# Shorten the env name down to 15 characters
- echo "$TF_VAR_env"
- cd ${CI_PROJECT_DIR}/${TF_ROOT}
- terraform version
- terraform init -input=false
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment