Skip to content
This repository has been archived by the owner before Nov 9, 2022. It is now read-only.
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
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
@@ -0,0 +1,4 @@
# exclude top-level credential files:
/service_key.json
/client_secret*.json
/travis_secrets.tar.gz
@@ -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

@@ -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.