From 66fbdeb6a5831e5f5ff6bdd8de4ff43208727ef4 Mon Sep 17 00:00:00 2001 From: Michael Schurter Date: Thu, 14 May 2020 14:30:45 -0700 Subject: [PATCH] build: update from Go 1.14.1 to Go 1.14.3 --- .circleci/config.yml | 26 +++++++++++++------------- .circleci/config/config.yml | 6 +++--- CHANGELOG.md | 4 ++++ README.md | 2 +- appveyor.yml | 2 +- scripts/release/mac-remote-build | 2 +- scripts/vagrant-linux-priv-go.sh | 2 +- 7 files changed, 24 insertions(+), 20 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 751cc4e2944..ead80d09d72 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -10,7 +10,7 @@ jobs: working_directory: ~/go/src/github.com/hashicorp/nomad environment: - GIT_PAGER: cat - - GOLANG_VERSION: 1.14.1 + - GOLANG_VERSION: 1.14.3 - GOMAXPROCS: 1 - GOPATH: /home/circleci/go - GOTESTSUM_JSONFILE: /tmp/test-reports/testjsonfile.json @@ -95,7 +95,7 @@ jobs: working_directory: ~/go/src/github.com/hashicorp/nomad environment: - GIT_PAGER: cat - - GOLANG_VERSION: 1.14.1 + - GOLANG_VERSION: 1.14.3 - GOMAXPROCS: 1 - GOPATH: /home/circleci/go - GOTESTSUM_JSONFILE: /tmp/test-reports/testjsonfile.json @@ -180,7 +180,7 @@ jobs: working_directory: ~/go/src/github.com/hashicorp/nomad environment: - GIT_PAGER: cat - - GOLANG_VERSION: 1.14.1 + - GOLANG_VERSION: 1.14.3 - GOMAXPROCS: 1 - GOPATH: /home/circleci/go - GOTESTSUM_JSONFILE: /tmp/test-reports/testjsonfile.json @@ -265,7 +265,7 @@ jobs: working_directory: ~/go/src/github.com/hashicorp/nomad environment: - GIT_PAGER: cat - - GOLANG_VERSION: 1.14.1 + - GOLANG_VERSION: 1.14.3 - GOMAXPROCS: 1 - GOPATH: /home/circleci/go - GOTESTSUM_JSONFILE: /tmp/test-reports/testjsonfile.json @@ -350,7 +350,7 @@ jobs: working_directory: ~/go/src/github.com/hashicorp/nomad environment: - GIT_PAGER: cat - - GOLANG_VERSION: 1.14.1 + - GOLANG_VERSION: 1.14.3 - GOMAXPROCS: 1 - GOPATH: /home/circleci/go - GOTESTSUM_JSONFILE: /tmp/test-reports/testjsonfile.json @@ -462,7 +462,7 @@ jobs: path: /tmp/test-reports lint-go: docker: - - image: golang:1.14.1 + - image: golang:1.14.3 working_directory: /go/src/github.com/hashicorp/nomad steps: - checkout @@ -526,7 +526,7 @@ jobs: working_directory: ~/go/src/github.com/hashicorp/nomad environment: - GIT_PAGER: cat - - GOLANG_VERSION: 1.14.1 + - GOLANG_VERSION: 1.14.3 - GOMAXPROCS: 1 - GOPATH: /home/circleci/go - GOTESTSUM_JSONFILE: /tmp/test-reports/testjsonfile.json @@ -607,7 +607,7 @@ jobs: path: /tmp/test-reports test-devices: docker: - - image: golang:1.14.1 + - image: golang:1.14.3 working_directory: /go/src/github.com/hashicorp/nomad environment: - GIT_PAGER: cat @@ -704,7 +704,7 @@ jobs: path: pkg/darwin_amd64.zip environment: - GIT_PAGER: cat - - GOLANG_VERSION: 1.14 + - GOLANG_VERSION: 1.14.3 - GOMAXPROCS: 1 - GOPATH: /Users/distiller/go - GOTESTSUM_JSONFILE: /tmp/test-reports/testjsonfile.json @@ -717,7 +717,7 @@ jobs: working_directory: ~/go/src/github.com/hashicorp/nomad environment: - GIT_PAGER: cat - - GOLANG_VERSION: 1.14.1 + - GOLANG_VERSION: 1.14.3 - GOMAXPROCS: 1 - GOPATH: /home/circleci/go - GOTESTSUM_JSONFILE: /tmp/test-reports/testjsonfile.json @@ -798,7 +798,7 @@ jobs: path: /tmp/test-reports build-binaries: docker: - - image: golang:1.14.1 + - image: golang:1.14.3 working_directory: /go/src/github.com/hashicorp/nomad environment: - GIT_PAGER: cat @@ -832,7 +832,7 @@ jobs: path: pkg/linux_amd64.zip test-e2e: docker: - - image: golang:1.14.1 + - image: golang:1.14.3 working_directory: /go/src/github.com/hashicorp/nomad steps: - checkout @@ -864,7 +864,7 @@ jobs: working_directory: ~/go/src/github.com/hashicorp/nomad environment: - GIT_PAGER: cat - - GOLANG_VERSION: 1.14.1 + - GOLANG_VERSION: 1.14.3 - GOMAXPROCS: 1 - GOPATH: /home/circleci/go - GOTESTSUM_JSONFILE: /tmp/test-reports/testjsonfile.json diff --git a/.circleci/config/config.yml b/.circleci/config/config.yml index 45de96c0487..f2286cc92c5 100644 --- a/.circleci/config/config.yml +++ b/.circleci/config/config.yml @@ -22,7 +22,7 @@ executors: go: working_directory: /go/src/github.com/hashicorp/nomad docker: - - image: golang:1.14.1 + - image: golang:1.14.3 environment: <<: *common_envs GOPATH: /go @@ -34,7 +34,7 @@ executors: environment: &machine_env <<: *common_envs GOPATH: /home/circleci/go - GOLANG_VERSION: 1.14.1 + GOLANG_VERSION: 1.14.3 # uses a more recent image with unattended upgrades disabled properly # but seems to break docker builds @@ -51,4 +51,4 @@ executors: environment: <<: *common_envs GOPATH: /Users/distiller/go - GOLANG_VERSION: 1.14 + GOLANG_VERSION: 1.14.3 diff --git a/CHANGELOG.md b/CHANGELOG.md index df5d8f1b849..80236f0062b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ ## 0.11.3 (Unreleased) +IMPROVEMENTS: + + * build: Updated to Go 1.14.3 [[GH-7431](https://github.com/hashicorp/nomad/issues/7970)] + ## 0.11.2 (May 14, 2020) FEATURES: diff --git a/README.md b/README.md index a771fa43f47..5461ee0dbe0 100644 --- a/README.md +++ b/README.md @@ -138,7 +138,7 @@ Who Uses Nomad Contributing to Nomad -------------------- -If you wish to contribute to Nomad, you will need [Go](https://www.golang.org) installed on your machine (version 1.14.1+ is *required*, and `gcc-go` is not supported). +If you wish to contribute to Nomad, you will need [Go](https://www.golang.org) installed on your machine (version 1.14.3+ is *required*, and `gcc-go` is not supported). See the [`contributing`](contributing/) directory for more developer documentation. diff --git a/appveyor.yml b/appveyor.yml index d0b7ca1711a..3c9c4eecd69 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -26,7 +26,7 @@ install: # install the go version used for cutting a release - cmd: | mkdir c:\go - appveyor DownloadFile "https://dl.google.com/go/go1.14.1.windows-amd64.zip" -FileName "%TEMP%\\go.zip" + appveyor DownloadFile "https://dl.google.com/go/go1.14.3.windows-amd64.zip" -FileName "%TEMP%\\go.zip" - ps: Expand-Archive $Env:TEMP\go.zip -DestinationPath C:\ diff --git a/scripts/release/mac-remote-build b/scripts/release/mac-remote-build index 0758382775d..b87f0dd06c6 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.14.1" + local go_version="1.14.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 780f37d5119..95fb547b4e5 100755 --- a/scripts/vagrant-linux-priv-go.sh +++ b/scripts/vagrant-linux-priv-go.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash function install_go() { - local go_version="1.14.1" + local go_version="1.14.3" local download= download="https://storage.googleapis.com/golang/go${go_version}.linux-amd64.tar.gz"