Skip to content

Commit 61713ff

Browse files
authored
Merge pull request #36 from Mathieudewet/fix/deployment
Fix travis deployment
2 parents 641e414 + 63d2579 commit 61713ff

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ env:
2222
- BRANCH=${TRAVIS_BRANCH}
2323
- BRANCH=`echo $BRANCH | sed -E "s/\//-/g"`
2424
- BRANCH=${BRANCH,,}
25-
- CI_SERVICE_ACCOUNT=${TRAVIS_SERVICE_ACCOUNT}
2625

2726
# Check that all needed travis environment variables are set.
2827
# When working in dev branchs we don't want to override the master builds so we need to define à DEV_ADMIN_BUCKET and a DEV_CLIENT_BUCKET.

ci/before_deploy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl
44
chmod +x ./kubectl
55
sudo mv ./kubectl /usr/local/bin/kubectl
6-
echo -n ${CI_SERVICE_ACCOUNT} | base64 -d > travis-service-account.json
6+
echo -n ${CI_SERVICE_ACCOUNT_KEY} | base64 -d > travis-service-account.json
77
gcloud auth activate-service-account ${CI_SERVICE_ACCOUNT} --key-file travis-service-account.json --project=${PROJECT_ID}
88
gcloud config set compute/zone europe-west1-c
99
gcloud config set core/project ${PROJECT_ID}

0 commit comments

Comments
 (0)