Merge pull request #806 from adamreese/fix/ci-gcloud

fix(ci): use gcloud absolute path
pull/811/head
Adam Reese 9 years ago committed by GitHub
commit 632756a653

@ -38,8 +38,8 @@ deployment:
branch: master branch: master
commands: commands:
- echo $GCLOUD_SERVICE_KEY | base64 --decode > ${HOME}/gcloud-service-key.json - echo $GCLOUD_SERVICE_KEY | base64 --decode > ${HOME}/gcloud-service-key.json
- sudo gcloud --quiet components update - sudo /opt/google-cloud-sdk/bin/gcloud --quiet components update
- sudo gcloud auth activate-service-account --key-file ${HOME}/gcloud-service-key.json - sudo /opt/google-cloud-sdk/bin/gcloud auth activate-service-account --key-file ${HOME}/gcloud-service-key.json
- sudo gcloud config set project $GCLOUD_PROJECT - sudo /opt/google-cloud-sdk/bin/gcloud config set project $GCLOUD_PROJECT
- cd $GOPATH/src/$IMPORT_PATH - cd $GOPATH/src/$IMPORT_PATH
- make docker-build docker-mutable-push - make docker-build docker-mutable-push

Loading…
Cancel
Save