Browse Source

ci: test against go1.17

pull/11364/head
Daniel Nephin 3 years ago
parent
commit
66798ca42d
  1. 3
      .changelog/11364.txt
  2. 10
      .circleci/config.yml
  3. 2
      build-support/docker/Build-Go.dockerfile
  4. 2
      build-support/docker/Test-Flake.dockerfile

3
.changelog/11364.txt

@ -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.
```

10
.circleci/config.yml

@ -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

2
build-support/docker/Build-Go.dockerfile

@ -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/... \

2
build-support/docker/Test-Flake.dockerfile

@ -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

Loading…
Cancel
Save