Skip to content

Commit

Permalink
environment variable fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonjbjelland committed Sep 5, 2018
1 parent 0b99b54 commit e0d2400
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/kitchen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit e0d2400

Please sign in to comment.