Merge pull request #11364 from hashicorp/use-go1.17

ci: test against go1.17
This commit is contained in:
Daniel Nephin 2021-10-21 16:52:18 -04:00 committed by GitHub
commit 846ff9a2c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 7 deletions

3
.changelog/11364.txt Normal file
View File

@ -0,0 +1,3 @@
```release-note:deprecation
tls: With the upgrade to Go 1.17, the ordering of `tls_cipher_suites` will no longer be honored, and `tls_prefer_server_cipher_suites` is now ignored.
```

View File

@ -15,7 +15,7 @@ references:
images: images:
# When updating the Go version, remember to also update the versions in the # When updating the Go version, remember to also update the versions in the
# workflows section for go-test-lib jobs. # workflows section for go-test-lib jobs.
go: &GOLANG_IMAGE docker.mirror.hashicorp.services/circleci/golang:1.16.7 go: &GOLANG_IMAGE docker.mirror.hashicorp.services/circleci/golang:1.17.2
ember: &EMBER_IMAGE docker.mirror.hashicorp.services/circleci/node:14-browsers ember: &EMBER_IMAGE docker.mirror.hashicorp.services/circleci/node:14-browsers
paths: paths:
@ -1017,9 +1017,9 @@ workflows:
go-version: "1.16" go-version: "1.16"
requires: [dev-build] requires: [dev-build]
- go-test-lib: - go-test-lib:
name: "go-test-api go1.15" name: "go-test-api go1.17"
path: api path: api
go-version: "1.15" go-version: "1.17"
requires: [dev-build] requires: [dev-build]
- go-test-lib: - go-test-lib:
name: "go-test-sdk go1.16" name: "go-test-sdk go1.16"
@ -1027,9 +1027,9 @@ workflows:
go-version: "1.16" go-version: "1.16"
<<: *filter-ignore-non-go-branches <<: *filter-ignore-non-go-branches
- go-test-lib: - go-test-lib:
name: "go-test-sdk go1.15" name: "go-test-sdk go1.17"
path: sdk path: sdk
go-version: "1.15" go-version: "1.17"
<<: *filter-ignore-non-go-branches <<: *filter-ignore-non-go-branches
- go-test-race: *filter-ignore-non-go-branches - go-test-race: *filter-ignore-non-go-branches
- go-test-32bit: *filter-ignore-non-go-branches - go-test-32bit: *filter-ignore-non-go-branches

View File

@ -1,4 +1,4 @@
ARG GOLANG_VERSION=1.16.7 ARG GOLANG_VERSION=1.17.2
FROM golang:${GOLANG_VERSION} FROM golang:${GOLANG_VERSION}
ARG GOTOOLS="github.com/elazarl/go-bindata-assetfs/... \ ARG GOTOOLS="github.com/elazarl/go-bindata-assetfs/... \

View File

@ -1,6 +1,6 @@
FROM travisci/ci-garnet:packer-1512502276-986baf0 FROM travisci/ci-garnet:packer-1512502276-986baf0
ENV GOLANG_VERSION 1.16.7 ENV GOLANG_VERSION 1.17.2
RUN mkdir -p /home/travis/go && chown -R travis /home/travis/go RUN mkdir -p /home/travis/go && chown -R travis /home/travis/go