Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgraded to go 1.13 #135

Merged
merged 3 commits into from
Sep 27, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
76 changes: 38 additions & 38 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,49 +1,49 @@
language: go
go:
- 1.12.5
- "1.13"
sudo: false
dist: trusty
cache: pip
install:
# terraform
- wget -t 10 -O terraform.zip https://releases.hashicorp.com/terraform/0.12.6/terraform_0.12.6_linux_amd64.zip
- unzip terraform.zip
- mv terraform ~/bin/
- chmod +x ~/bin/terraform
# terraform-provider-bless
- wget -t 10 -O terraform-provider-bless.tar https://github.com/chanzuckerberg/terraform-provider-bless/releases/download/v0.2.8/terraform-provider-bless_0.2.8_linux_amd64.tar.gz
- tar -C ~/bin -xzf terraform-provider-bless.tar
# terraform-docs
# - wget -t 10 -O terraform-docs https://github.com/segmentio/terraform-docs/releases/download/v0.6.0/terraform-docs-v0.6.0-linux-amd64
# - mv terraform-docs ~/bin/terraform-docs
# - chmod +x ~/bin/terraform-docs
# awscli
- pip install awscli --upgrade --user
# gotest
- go get github.com/rakyll/gotest
- go install github.com/rakyll/gotest
# terraform
- wget -t 10 -O terraform.zip https://releases.hashicorp.com/terraform/0.12.6/terraform_0.12.6_linux_amd64.zip
- unzip terraform.zip
- mv terraform ~/bin/
- chmod +x ~/bin/terraform
# terraform-provider-bless
- wget -t 10 -O terraform-provider-bless.tar https://github.com/chanzuckerberg/terraform-provider-bless/releases/download/v0.2.8/terraform-provider-bless_0.2.8_linux_amd64.tar.gz
- tar -C ~/bin -xzf terraform-provider-bless.tar
# terraform-docs
# - wget -t 10 -O terraform-docs https://github.com/segmentio/terraform-docs/releases/download/v0.6.0/terraform-docs-v0.6.0-linux-amd64
# - mv terraform-docs ~/bin/terraform-docs
# - chmod +x ~/bin/terraform-docs
# awscli
- pip install awscli --upgrade --user
# gotest
- go get github.com/rakyll/gotest
- go install github.com/rakyll/gotest

jobs:
include:
- stage: check
script: make lint
# terraform-docs is incompatible with 0.12 for now
# - stage: check
# script: make check-docs
- stage: check
before_script:
- aws configure set aws_access_key_id $CI1_AWS_ACCESS_KEY_ID --profile cztack-ci-1
- aws configure set aws_secret_access_key $CI1_AWS_SECRET_ACCESS_KEY --profile cztack-ci-1
- aws --profile cztack-ci-1 sts get-caller-identity
- aws configure set aws_access_key_id $CI2_AWS_ACCESS_KEY_ID --profile cztack-ci-2
- aws configure set aws_secret_access_key $CI2_AWS_SECRET_ACCESS_KEY --profile cztack-ci-2
- aws --profile cztack-ci-2 sts get-caller-identity
script: travis_wait 45 make test
- stage: check
script: make lint
# terraform-docs is incompatible with 0.12 for now
# - stage: check
# script: make check-docs
- stage: check
before_script:
- aws configure set aws_access_key_id $CI1_AWS_ACCESS_KEY_ID --profile cztack-ci-1
- aws configure set aws_secret_access_key $CI1_AWS_SECRET_ACCESS_KEY --profile cztack-ci-1
- aws --profile cztack-ci-1 sts get-caller-identity
- aws configure set aws_access_key_id $CI2_AWS_ACCESS_KEY_ID --profile cztack-ci-2
- aws configure set aws_secret_access_key $CI2_AWS_SECRET_ACCESS_KEY --profile cztack-ci-2
- aws --profile cztack-ci-2 sts get-caller-identity
script: travis_wait 45 make test
env:
global:
- secure: H6toE/cJTjXbp9QEONjA2wvWxIPIzPiX3VRY0r5C6YTYEMeujR/w8XW/HMrUFgK7DrD6td5vgpDVeoC84SmQ/KIyU/jEOJsjktxcsMK4Y/5Pbi5p9iK24ps7LUFLDGtYAnYiSOWd3lTDr1vRp/N1Es8VaSqyyRJwi5NwBFGjA0YoxiriIYe7WRCz9HRTiUSQ3PKZPJBLznqUrClvwVq9kZyI7zwyNmDYOr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aYYlxWob2N3DCJypCBNIivMGzVfEEqF+ltVaYS5dpSPowBthQUPY2+/Qc3v6e4+VXZuFJ28FzsOmWryHdgqrxptCx/7nPVxS3N1wX1T+GPmiLd4UCZqThT0hN//67g03LmlQr0+HxmnGPSDWEEg3PfzrvNeHbEG5Pb9mXVJ8Rt6hn2FYUqLqbfh7SAsTIZ2FKPoRo0kQWGGqjs/yyHbEw5HDTxtdyVnpoYIJW7HrsNeyQyEugwca0/nBmzlBYxqm5lhBDhsIay3uZ21y7ZQ70L8vubhx80VzyqqC4DAT6oJ5V9Y4EfG3SG6B33ZBCe0ej1LWRdeLR7SarW/R22dyCs1gY2cxy5yWrDJDtZBtHRIpvK0Y9mjTEHaFogatLaPaNK33s3lNuXh2asbhktG80PjdJpcLQaqhziTjFPV8OMtBtgI5vAOiIHiXw3s1Er5Ct2HcmpWTTQbRPoPMkKubJEq9bYlrLTsqNPimtkfEZm0aryRvL0+U=
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/chanzuckerberg/cztack

go 1.12
go 1.13

require (
github.com/aws/aws-sdk-go v1.19.43
Expand Down