Skip to content

Commit

Permalink
Format .travis.yml
Browse files Browse the repository at this point in the history
YAML isn't the eaiest thing in the wold to read, but we can do a
little bit of formatting to this file to make it a little easier on
the eyes in editors.
  • Loading branch information
ellismg committed Aug 29, 2019
1 parent 1983bd4 commit 218486f
Showing 1 changed file with 24 additions and 27 deletions.
51 changes: 24 additions & 27 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,38 +8,35 @@ cache:
directories:
- "$HOME/google-cloud-sdk/"
before_install:
- openssl aes-256-cbc -K $encrypted_9f72dfef7328_key -iv $encrypted_9f72dfef7328_iv
-in gcp-credentials.json.enc -out gcp-credentials.json -d
- git clone https://github.com/pulumi/scripts ${GOPATH}/src/github.com/pulumi/scripts
- source ${GOPATH}/src/github.com/pulumi/scripts/ci/prepare-environment.sh
- source ${PULUMI_SCRIPTS}/ci/keep-failed-tests.sh
- sudo apt-get update && sudo apt-get install -y apt-transport-https
- openssl aes-256-cbc -K $encrypted_9f72dfef7328_key -iv $encrypted_9f72dfef7328_iv -in gcp-credentials.json.enc -out gcp-credentials.json -d
- git clone https://github.com/pulumi/scripts ${GOPATH}/src/github.com/pulumi/scripts
- source ${GOPATH}/src/github.com/pulumi/scripts/ci/prepare-environment.sh
- source ${PULUMI_SCRIPTS}/ci/keep-failed-tests.sh
- sudo apt-get update && sudo apt-get install -y apt-transport-https
install:
- source ${PULUMI_SCRIPTS}/ci/install-common-toolchain.sh
- curl -L https://get.pulumi.com/ | bash
- export PATH=$HOME/.pulumi/bin:$PATH
- if [ ! -d $HOME/google-cloud-sdk ]; then curl https://sdk.cloud.google.com | bash;
fi
- export PATH=$PATH:$HOME/google-cloud-sdk/bin
- export CLOUDSDK_CORE_DISABLE_PROMPTS=1
- export GOOGLE_CREDENTIALS=$(cat gcp-credentials.json)
- gcloud auth activate-service-account --key-file gcp-credentials.json
- curl -o- -L https://raw.githubusercontent.com/kubernetes/helm/master/scripts/get
| bash
- helm init -c
- helm repo add bitnami https://charts.bitnami.com/bitnami
- source ${PULUMI_SCRIPTS}/ci/install-common-toolchain.sh
- curl -L https://get.pulumi.com/ | bash
- export PATH=$HOME/.pulumi/bin:$PATH
- if [ ! -d $HOME/google-cloud-sdk ]; then curl https://sdk.cloud.google.com | bash; fi
- export PATH=$PATH:$HOME/google-cloud-sdk/bin
- export CLOUDSDK_CORE_DISABLE_PROMPTS=1
- export GOOGLE_CREDENTIALS=$(cat gcp-credentials.json)
- gcloud auth activate-service-account --key-file gcp-credentials.json
- curl -o- -L https://raw.githubusercontent.com/kubernetes/helm/master/scripts/get | bash
- helm init -c
- helm repo add bitnami https://charts.bitnami.com/bitnami
# Install aws-iam-authenticator
# See: https://docs.aws.amazon.com/eks/latest/userguide/install-aws-iam-authenticator.html)
- curl -o aws-iam-authenticator https://amazon-eks.s3-us-west-2.amazonaws.com/1.13.7/2019-06-11/bin/linux/amd64/aws-iam-authenticator
- chmod +x ./aws-iam-authenticator
- sudo mv aws-iam-authenticator /usr/local/bin
- curl -o aws-iam-authenticator https://amazon-eks.s3-us-west-2.amazonaws.com/1.13.7/2019-06-11/bin/linux/amd64/aws-iam-authenticator
- chmod +x ./aws-iam-authenticator
- sudo mv aws-iam-authenticator /usr/local/bin
# Install kubectl
- curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl
- chmod +x ./kubectl
- sudo mv kubectl /usr/local/bin
- curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl
- chmod +x ./kubectl
- sudo mv kubectl /usr/local/bin
before_script:
- "${PULUMI_SCRIPTS}/ci/ensure-dependencies"
- "${PULUMI_SCRIPTS}/ci/ensure-dependencies"
after_failure:
- "${PULUMI_SCRIPTS}/ci/upload-failed-tests"
- "${PULUMI_SCRIPTS}/ci/upload-failed-tests"
notifications:
webhooks: https://ufci1w66n3.execute-api.us-west-2.amazonaws.com/stage/travis

0 comments on commit 218486f

Please sign in to comment.