Skip to content
This repository has been archived by the owner on Jan 25, 2018. It is now read-only.

Commit

Permalink
Give Travis more permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
SamLau95 committed Nov 6, 2016
1 parent b05d87d commit 91e11cc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ env:

- GCLOUD_ZONE=us-central1-a
- GCLOUD_PROJECT=data-8
- GOOGLE_APPLICATION_CREDENTIALS=./data8-travis-creds.json
# Travis assumes this cluster exists before running this deployment
- GCLOUD_CLUSTER_NAME=staging

Expand All @@ -36,8 +37,9 @@ before_install:
- gcloud components install kubectl

# Decrypt the gcloud credentials and login
- openssl aes-256-cbc -K $encrypted_3f1be162614a_key -iv $encrypted_3f1be162614a_iv
-in data8-travis-creds.json.enc -out data8-travis-creds.json -d
- openssl aes-256-cbc -K $encrypted_3f1be162614a_key
-iv $encrypted_3f1be162614a_iv -in data8-travis-creds.json.enc
-out data8-travis-creds.json -d
- gcloud auth activate-service-account --key-file data8-travis-creds.json

- gcloud config set compute/zone $GCLOUD_ZONE
Expand Down
Binary file modified data8-travis-creds.json.enc
Binary file not shown.

0 comments on commit 91e11cc

Please sign in to comment.