File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change 22
22
- BRANCH=${TRAVIS_BRANCH}
23
23
- BRANCH=`echo $BRANCH | sed -E "s/\//-/g"`
24
24
- BRANCH=${BRANCH,,}
25
- - CI_SERVICE_ACCOUNT=${TRAVIS_SERVICE_ACCOUNT}
26
25
27
26
# Check that all needed travis environment variables are set.
28
27
# 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.
Original file line number Diff line number Diff line change 3
3
curl -LO https://storage.googleapis.com/kubernetes-release/release/$( curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt) /bin/linux/amd64/kubectl
4
4
chmod +x ./kubectl
5
5
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
7
7
gcloud auth activate-service-account ${CI_SERVICE_ACCOUNT} --key-file travis-service-account.json --project=${PROJECT_ID}
8
8
gcloud config set compute/zone europe-west1-c
9
9
gcloud config set core/project ${PROJECT_ID}
You can’t perform that action at this time.
0 commit comments