From 919f0664ab6e2a3aadb578be676ccdb7646c4f14 Mon Sep 17 00:00:00 2001 From: Tim Gross Date: Fri, 5 Nov 2021 10:00:14 -0400 Subject: [PATCH] build: bump go version to 1.17.3 --- .circleci/config.yml | 8 ++++---- contributing/README.md | 2 +- go.mod | 2 +- scripts/release/mac-remote-build | 2 +- scripts/vagrant-linux-priv-go.sh | 2 +- tools/go.mod | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 1f4e64459aba..88bb0d3e2d5e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -512,7 +512,7 @@ executors: go: working_directory: /go/src/github.com/hashicorp/nomad docker: - - image: docker.mirror.hashicorp.services/golang:1.17.1 + - image: docker.mirror.hashicorp.services/golang:1.17.3 environment: <<: *common_envs GOPATH: /go @@ -524,7 +524,7 @@ executors: environment: &machine_env <<: *common_envs GOPATH: /home/circleci/go - GOLANG_VERSION: 1.17.1 + GOLANG_VERSION: 1.17.3 # uses a more recent image with unattended upgrades disabled properly # but seems to break docker builds @@ -541,7 +541,7 @@ executors: environment: <<: *common_envs GOPATH: /Users/distiller/go - GOLANG_VERSION: 1.17.1 + GOLANG_VERSION: 1.17.3 go-windows: machine: @@ -553,7 +553,7 @@ executors: GOPATH: c:\gopath GOBIN: c:\gopath\bin GOTESTSUM_PATH: c:\tmp\test-reports - GOLANG_VERSION: 1.17.1 + GOLANG_VERSION: 1.17.3 GOTESTSUM_VERSION: 0.4.2 VAULT_VERSION: 1.4.1 diff --git a/contributing/README.md b/contributing/README.md index 945e35d80c5e..2401cf7456cf 100644 --- a/contributing/README.md +++ b/contributing/README.md @@ -30,7 +30,7 @@ A development environment is supplied via Vagrant to make getting started easier Developing without Vagrant --- -1. Install [Go 1.17.1+](https://golang.org/) *(Note: `gcc-go` is not supported)* +1. Install [Go 1.17.3+](https://golang.org/) *(Note: `gcc-go` is not supported)* 1. Clone this repo ```sh $ git clone https://github.com/hashicorp/nomad.git diff --git a/go.mod b/go.mod index 0b8784c06e96..c57f419a8ac2 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/hashicorp/nomad -go 1.16 +go 1.17 replace ( github.com/Microsoft/go-winio => github.com/endocrimes/go-winio v0.4.13-0.20190628114223-fb47a8b41948 diff --git a/scripts/release/mac-remote-build b/scripts/release/mac-remote-build index 0222e2d43622..7027058bd029 100755 --- a/scripts/release/mac-remote-build +++ b/scripts/release/mac-remote-build @@ -56,7 +56,7 @@ REPO_PATH="${TMP_WORKSPACE}/gopath/src/github.com/hashicorp/nomad" mkdir -p "${TMP_WORKSPACE}/tmp" install_go() { - local go_version="1.17.1" + local go_version="1.17.3" local download= download="https://storage.googleapis.com/golang/go${go_version}.darwin-amd64.tar.gz" diff --git a/scripts/vagrant-linux-priv-go.sh b/scripts/vagrant-linux-priv-go.sh index fd85d5bccbdb..7efb21eb29d1 100755 --- a/scripts/vagrant-linux-priv-go.sh +++ b/scripts/vagrant-linux-priv-go.sh @@ -3,7 +3,7 @@ set -o errexit function install_go() { - local go_version="1.17.1" + local go_version="1.17.3" local download="https://storage.googleapis.com/golang/go${go_version}.linux-amd64.tar.gz" if go version 2>&1 | grep -q "${go_version}"; then diff --git a/tools/go.mod b/tools/go.mod index 5ef82a5f272c..0cf657c962c5 100644 --- a/tools/go.mod +++ b/tools/go.mod @@ -1,5 +1,5 @@ module github.com/hashicorp/nomad/tools -go 1.16 +go 1.17 require github.com/aws/aws-sdk-go v1.37.26