Skip to content

Commit

Permalink
Added the registry_project_id variable to the test script.
Browse files Browse the repository at this point in the history
  • Loading branch information
mmontan committed Oct 4, 2019
1 parent 2223151 commit da7629e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/setup/make_source.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ echo "#!/usr/bin/env bash" > ../source.sh
project_id=$(terraform output project_id)
echo "export TF_VAR_project_id='$project_id'" >> ../source.sh

# We use the same project for registry project in the tests.
echo "export TF_VAR_registry_project_id='$project_id'" >> ../source.sh

sa_json=$(terraform output sa_key)
# shellcheck disable=SC2086
echo "export SERVICE_ACCOUNT_JSON='$(echo $sa_json | base64 --decode)'" >> ../source.sh
Expand Down

0 comments on commit da7629e

Please sign in to comment.