Permalink
Browse files

Add .dockerignore file, move gcloud auth command to travis (#622)

  • Loading branch information...
Liamsi committed Jun 20, 2017
1 parent 9049287 commit b48c0d10ead57a3879b672b90026176a5cc76d29
Showing with 6 additions and 1 deletion.
  1. +4 −0 .dockerignore
  2. +2 −0 .travis.yml
  3. +0 −1 scripts/deploy.sh
View
@@ -0,0 +1,4 @@
# exclude top-level credential files:
/service_key.json
/client_secret*.json
/travis_secrets.tar.gz
View
@@ -47,6 +47,8 @@ before_deploy:
curl https://sdk.cloud.google.com | bash; fi
- openssl aes-256-cbc -K $encrypted_a1eb99cfc21e_key -iv $encrypted_a1eb99cfc21e_iv -in travis_secrets.tar.gz.enc -out travis_secrets.tar.gz -d
- tar -xzf travis_secrets.tar.gz
- gcloud auth activate-service-account --key-file service_key.json
- rm -f service_key.json
- gcloud --quiet version
- sudo gcloud --quiet components update kubectl
View
@@ -37,7 +37,6 @@ function main()
function initGcloud()
{
gcloud auth activate-service-account --key-file service_key.json
gcloud config set project ${PROJECT_NAME}
gcloud config set compute/zone us-central1-a
gcloud container clusters get-credentials ci-cluster

0 comments on commit b48c0d1

Please sign in to comment.