From 49faed6efeaa8833854e8b831ce202c4d121c6d4 Mon Sep 17 00:00:00 2001 From: Daniel Nephin Date: Wed, 20 Oct 2021 14:37:29 -0400 Subject: [PATCH] ci: test against go1.17 --- .changelog/11364.txt | 3 +++ .circleci/config.yml | 10 +++++----- build-support/docker/Build-Go.dockerfile | 2 +- build-support/docker/Test-Flake.dockerfile | 2 +- 4 files changed, 10 insertions(+), 7 deletions(-) create mode 100644 .changelog/11364.txt diff --git a/.changelog/11364.txt b/.changelog/11364.txt new file mode 100644 index 000000000..e59d0f929 --- /dev/null +++ b/.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. +``` diff --git a/.circleci/config.yml b/.circleci/config.yml index 02f3ad639..324b39455 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -15,7 +15,7 @@ references: images: # When updating the Go version, remember to also update the versions in the # 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 paths: @@ -1017,9 +1017,9 @@ workflows: go-version: "1.16" requires: [dev-build] - go-test-lib: - name: "go-test-api go1.15" + name: "go-test-api go1.17" path: api - go-version: "1.15" + go-version: "1.17" requires: [dev-build] - go-test-lib: name: "go-test-sdk go1.16" @@ -1027,9 +1027,9 @@ workflows: go-version: "1.16" <<: *filter-ignore-non-go-branches - go-test-lib: - name: "go-test-sdk go1.15" + name: "go-test-sdk go1.17" path: sdk - go-version: "1.15" + go-version: "1.17" <<: *filter-ignore-non-go-branches - go-test-race: *filter-ignore-non-go-branches - go-test-32bit: *filter-ignore-non-go-branches diff --git a/build-support/docker/Build-Go.dockerfile b/build-support/docker/Build-Go.dockerfile index 62833db17..483fe80e0 100644 --- a/build-support/docker/Build-Go.dockerfile +++ b/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} ARG GOTOOLS="github.com/elazarl/go-bindata-assetfs/... \ diff --git a/build-support/docker/Test-Flake.dockerfile b/build-support/docker/Test-Flake.dockerfile index 6f7e1cfca..42d17af0e 100644 --- a/build-support/docker/Test-Flake.dockerfile +++ b/build-support/docker/Test-Flake.dockerfile @@ -1,6 +1,6 @@ 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