helpful-advantage-49286
01/07/2019, 7:54 PMmicroscopic-florist-22719
gorgeous-egg-16927
01/07/2019, 8:20 PMhelpful-advantage-49286
01/07/2019, 8:21 PMgorgeous-egg-16927
01/07/2019, 8:21 PMhelpful-advantage-49286
01/07/2019, 8:24 PMcreamy-potato-29402
01/07/2019, 8:24 PMhelpful-advantage-49286
01/07/2019, 8:24 PMcreamy-potato-29402
01/07/2019, 8:25 PMhelpful-advantage-49286
01/07/2019, 8:26 PMcreamy-potato-29402
01/07/2019, 8:29 PMhelpful-advantage-49286
01/07/2019, 8:30 PMcreamy-potato-29402
01/07/2019, 8:30 PMhelpful-advantage-49286
01/07/2019, 8:32 PMcreamy-potato-29402
01/07/2019, 8:32 PMhelpful-advantage-49286
01/07/2019, 8:34 PMcreamy-potato-29402
01/07/2019, 8:35 PMhelpful-advantage-49286
01/07/2019, 8:36 PMcreamy-potato-29402
01/07/2019, 8:36 PMhelpful-advantage-49286
01/07/2019, 8:38 PMcreamy-potato-29402
01/07/2019, 8:59 PMtravis login --pro --github-token <gh-token>
# Generate `credentials.tar.gz`. This contains client-secret.json and kubeconfig.yaml.
./scripts/login-to-ci-service-account.sh
# NOTE: Repository root must have a `.travis.yaml` file!
mv credentials.tar.gz <your-repository-root>
cd <your-repository-root>
travis encrypt-file credentials.tar.gz --add --pro
--pro
is for the case where you’re paying for travis ci, i.e., using travis-ci.com.This last command will:
Generate credentials.tar.gz.enc
Alter travis.yaml so that the first before_install command is to decrypt credentials.tar.gz.enc.
In order to get this to work you need to:
git add credentials.tar.gz.enc
git add .travis.yaml
NOTE: Do not add credentials.tar.gz to the repository! This contains your secrets!
helpful-advantage-49286
01/07/2019, 10:17 PMcreamy-potato-29402
01/08/2019, 10:00 PMgorgeous-egg-16927
01/08/2019, 10:02 PMhelpful-advantage-49286
01/08/2019, 10:02 PMgorgeous-egg-16927
01/08/2019, 10:08 PMhelpful-advantage-49286
01/09/2019, 6:19 PMcreamy-potato-29402
01/09/2019, 6:25 PM./scripts/login-to-ci-service-account.sh
? that’s right. it should be getting client credentials out of the identity stack reference.helpful-advantage-49286
01/09/2019, 6:26 PMcreamy-potato-29402
01/09/2019, 6:26 PMhelpful-advantage-49286
01/09/2019, 6:28 PMcreamy-potato-29402
01/09/2019, 6:31 PM