Skip to content

Commit

Permalink
[#494] Use cluster name variables in deploy script
Browse files Browse the repository at this point in the history
  • Loading branch information
kardan committed Jan 17, 2017
1 parent d047a2b commit 3b11132
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ci/dev/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -e

export GOOGLE_APPLICATION_CREDENTIALS="/home/ubuntu/gcloud-service-key.json"
sudo /opt/google-cloud-sdk/bin/gcloud container clusters get-credentials lumen-dev --zone europe-west1-d
sudo /opt/google-cloud-sdk/bin/gcloud container clusters get-credentials ${DEV_CLUSTER_NAME} --zone europe-west1-d
sudo /opt/google-cloud-sdk/bin/gcloud config set container/use_client_certificate True

sudo /opt/google-cloud-sdk/bin/gcloud docker -- push eu.gcr.io/${PROJECT_NAME}/lumen-backend
Expand Down
2 changes: 1 addition & 1 deletion ci/prod/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -e

export GOOGLE_APPLICATION_CREDENTIALS="/home/ubuntu/gcloud-service-key.json"
sudo /opt/google-cloud-sdk/bin/gcloud container clusters get-credentials lumen --zone europe-west1-d
sudo /opt/google-cloud-sdk/bin/gcloud container clusters get-credentials ${PROD_CLUSTER_NAME} --zone europe-west1-d
sudo /opt/google-cloud-sdk/bin/gcloud config set container/use_client_certificate True

sudo /opt/google-cloud-sdk/bin/gcloud docker -- push eu.gcr.io/${PROJECT_NAME}/lumen-backend
Expand Down

0 comments on commit 3b11132

Please sign in to comment.