Commit 41f2e0e2 authored by Craig Barrett's avatar Craig Barrett

Test after adding missing CI/CD variables in GitLab UI

parent e1d24474
...@@ -34,12 +34,12 @@ validate: ...@@ -34,12 +34,12 @@ validate:
set +o pipefail set +o pipefail
echo "running tf validate" # there's no output for empty builds otherwise echo "running tf validate" # there's no output for empty builds otherwise
# SSH setup for module cloning # SSH setup for module cloning
#eval $(ssh-agent -s) eval $(ssh-agent -s)
#echo "$SSH_PRIVATE_KEY" | base64 -d | tr -d '\r' | ssh-add - > /dev/null echo "$SSH_PRIVATE_KEY" | base64 -d | tr -d '\r' | ssh-add - > /dev/null
#mkdir -p ~/.ssh mkdir -p ~/.ssh
#chmod 700 ~/.ssh chmod 700 ~/.ssh
#echo "$SSH_KNOWN_HOSTS" > ~/.ssh/known_hosts echo "$SSH_KNOWN_HOSTS" > ~/.ssh/known_hosts
#chmod 644 ~/.ssh/known_hosts chmod 644 ~/.ssh/known_hosts
cp private/env_vars/common.env.example private/env_vars/common.env cp private/env_vars/common.env.example private/env_vars/common.env
dir="environments" # For the "bin/tf-set-env" script dir="environments" # For the "bin/tf-set-env" script
...@@ -61,12 +61,12 @@ validate: ...@@ -61,12 +61,12 @@ validate:
.tf_plan: &tf_plan .tf_plan: &tf_plan
script: | script: |
# SSH setup for module cloning # SSH setup for module cloning
#eval $(ssh-agent -s) eval $(ssh-agent -s)
#echo "$SSH_PRIVATE_KEY" | base64 -d | tr -d '\r' | ssh-add - > /dev/null echo "$SSH_PRIVATE_KEY" | base64 -d | tr -d '\r' | ssh-add - > /dev/null
#mkdir -p ~/.ssh mkdir -p ~/.ssh
#chmod 700 ~/.ssh chmod 700 ~/.ssh
#echo "$SSH_KNOWN_HOSTS" > ~/.ssh/known_hosts echo "$SSH_KNOWN_HOSTS" > ~/.ssh/known_hosts
#chmod 644 ~/.ssh/known_hosts chmod 644 ~/.ssh/known_hosts
# Terraform plan # Terraform plan
export GOOGLE_CLOUD_KEYFILE_JSON=${GCLOUD_TERRAFORM_PRIVATE_KEY_JSON} export GOOGLE_CLOUD_KEYFILE_JSON=${GCLOUD_TERRAFORM_PRIVATE_KEY_JSON}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment