diff --git a/bin/kitchen.sh b/bin/kitchen.sh index af319a1..779e226 100755 --- a/bin/kitchen.sh +++ b/bin/kitchen.sh @@ -7,7 +7,7 @@ openssl aes-256-cbc -K $encrypted_cfdeb2eb7efd_key -iv $encrypted_cfdeb2eb7efd_i # Decompress sensitive files tar -zxf ci.tar.gz rm ci.tar.gz -export PROJECT_NAME=$(jq -r '.project_id' credentials.json) +export GCLOUD_PROJECT=$(jq -r '.project_id' credentials.json) # Add binaries to bin directory mkdir -p vendor/bin @@ -21,7 +21,7 @@ rm google-cloud-sdk-*-linux-x86_64.tar.gz # Authenticate using the credentials.json gcloud auth activate-service-account --key-file credentials.json -gcloud config set project ${PROJECT_NAME} +gcloud config set project ${GCLOUD_PROJECT} gcloud config set compute/zone us-west1-a yes | ssh-keygen -f ubuntu -N '' >/dev/null