Merge pull request #9345 from hashicorp/go-1.15.5

build: upgrade from Go 1.15.4 to 1.15.5
This commit is contained in:
Michael Schurter 2020-11-12 14:41:10 -08:00 committed by GitHub
commit d38f3e6e04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 22 additions and 22 deletions

28
.circleci/config.yml generated
View File

@ -10,7 +10,7 @@ jobs:
working_directory: ~/go/src/github.com/hashicorp/nomad working_directory: ~/go/src/github.com/hashicorp/nomad
environment: environment:
- GIT_PAGER: cat - GIT_PAGER: cat
- GOLANG_VERSION: 1.15.4 - GOLANG_VERSION: 1.15.5
- GOMAXPROCS: 1 - GOMAXPROCS: 1
- GOPATH: /home/circleci/go - GOPATH: /home/circleci/go
- GOTESTSUM_JSONFILE: /tmp/test-reports/testjsonfile.json - GOTESTSUM_JSONFILE: /tmp/test-reports/testjsonfile.json
@ -128,7 +128,7 @@ jobs:
working_directory: ~/go/src/github.com/hashicorp/nomad working_directory: ~/go/src/github.com/hashicorp/nomad
environment: environment:
- GIT_PAGER: cat - GIT_PAGER: cat
- GOLANG_VERSION: 1.15.4 - GOLANG_VERSION: 1.15.5
- GOMAXPROCS: 1 - GOMAXPROCS: 1
- GOPATH: /home/circleci/go - GOPATH: /home/circleci/go
- GOTESTSUM_JSONFILE: /tmp/test-reports/testjsonfile.json - GOTESTSUM_JSONFILE: /tmp/test-reports/testjsonfile.json
@ -246,7 +246,7 @@ jobs:
working_directory: ~/go/src/github.com/hashicorp/nomad working_directory: ~/go/src/github.com/hashicorp/nomad
environment: environment:
- GIT_PAGER: cat - GIT_PAGER: cat
- GOLANG_VERSION: 1.15.4 - GOLANG_VERSION: 1.15.5
- GOMAXPROCS: 1 - GOMAXPROCS: 1
- GOPATH: /home/circleci/go - GOPATH: /home/circleci/go
- GOTESTSUM_JSONFILE: /tmp/test-reports/testjsonfile.json - GOTESTSUM_JSONFILE: /tmp/test-reports/testjsonfile.json
@ -364,7 +364,7 @@ jobs:
working_directory: ~/go/src/github.com/hashicorp/nomad working_directory: ~/go/src/github.com/hashicorp/nomad
environment: environment:
- GIT_PAGER: cat - GIT_PAGER: cat
- GOLANG_VERSION: 1.15.4 - GOLANG_VERSION: 1.15.5
- GOMAXPROCS: 1 - GOMAXPROCS: 1
- GOPATH: /home/circleci/go - GOPATH: /home/circleci/go
- GOTESTSUM_JSONFILE: /tmp/test-reports/testjsonfile.json - GOTESTSUM_JSONFILE: /tmp/test-reports/testjsonfile.json
@ -574,7 +574,7 @@ jobs:
path: c:\tmp\test-reports path: c:\tmp\test-reports
environment: environment:
- GOBIN: c:\gopath\bin - GOBIN: c:\gopath\bin
- GOLANG_VERSION: 1.15.4 - GOLANG_VERSION: 1.15.5
- GOPATH: c:\gopath - GOPATH: c:\gopath
- GOTESTSUM_PATH: c:\tmp\test-reports - GOTESTSUM_PATH: c:\tmp\test-reports
- GOTESTSUM_VERSION: 0.4.2 - GOTESTSUM_VERSION: 0.4.2
@ -587,7 +587,7 @@ jobs:
working_directory: ~/go/src/github.com/hashicorp/nomad working_directory: ~/go/src/github.com/hashicorp/nomad
environment: environment:
- GIT_PAGER: cat - GIT_PAGER: cat
- GOLANG_VERSION: 1.15.4 - GOLANG_VERSION: 1.15.5
- GOMAXPROCS: 1 - GOMAXPROCS: 1
- GOPATH: /home/circleci/go - GOPATH: /home/circleci/go
- GOTESTSUM_JSONFILE: /tmp/test-reports/testjsonfile.json - GOTESTSUM_JSONFILE: /tmp/test-reports/testjsonfile.json
@ -732,7 +732,7 @@ jobs:
path: /tmp/test-reports path: /tmp/test-reports
lint-go: lint-go:
docker: docker:
- image: docker.mirror.hashicorp.services/golang:1.15.4 - image: docker.mirror.hashicorp.services/golang:1.15.5
working_directory: /go/src/github.com/hashicorp/nomad working_directory: /go/src/github.com/hashicorp/nomad
steps: steps:
- checkout - checkout
@ -798,7 +798,7 @@ jobs:
working_directory: ~/go/src/github.com/hashicorp/nomad working_directory: ~/go/src/github.com/hashicorp/nomad
environment: environment:
- GIT_PAGER: cat - GIT_PAGER: cat
- GOLANG_VERSION: 1.15.4 - GOLANG_VERSION: 1.15.5
- GOMAXPROCS: 1 - GOMAXPROCS: 1
- GOPATH: /home/circleci/go - GOPATH: /home/circleci/go
- GOTESTSUM_JSONFILE: /tmp/test-reports/testjsonfile.json - GOTESTSUM_JSONFILE: /tmp/test-reports/testjsonfile.json
@ -912,7 +912,7 @@ jobs:
path: /tmp/test-reports path: /tmp/test-reports
test-devices: test-devices:
docker: docker:
- image: docker.mirror.hashicorp.services/golang:1.15.4 - image: docker.mirror.hashicorp.services/golang:1.15.5
working_directory: /go/src/github.com/hashicorp/nomad working_directory: /go/src/github.com/hashicorp/nomad
environment: environment:
- GIT_PAGER: cat - GIT_PAGER: cat
@ -1041,7 +1041,7 @@ jobs:
path: pkg/darwin_amd64.zip path: pkg/darwin_amd64.zip
environment: environment:
- GIT_PAGER: cat - GIT_PAGER: cat
- GOLANG_VERSION: 1.15.4 - GOLANG_VERSION: 1.15.5
- GOMAXPROCS: 1 - GOMAXPROCS: 1
- GOPATH: /Users/distiller/go - GOPATH: /Users/distiller/go
- GOTESTSUM_JSONFILE: /tmp/test-reports/testjsonfile.json - GOTESTSUM_JSONFILE: /tmp/test-reports/testjsonfile.json
@ -1070,7 +1070,7 @@ jobs:
working_directory: ~/go/src/github.com/hashicorp/nomad working_directory: ~/go/src/github.com/hashicorp/nomad
environment: environment:
- GIT_PAGER: cat - GIT_PAGER: cat
- GOLANG_VERSION: 1.15.4 - GOLANG_VERSION: 1.15.5
- GOMAXPROCS: 1 - GOMAXPROCS: 1
- GOPATH: /home/circleci/go - GOPATH: /home/circleci/go
- GOTESTSUM_JSONFILE: /tmp/test-reports/testjsonfile.json - GOTESTSUM_JSONFILE: /tmp/test-reports/testjsonfile.json
@ -1184,7 +1184,7 @@ jobs:
path: /tmp/test-reports path: /tmp/test-reports
build-binaries: build-binaries:
docker: docker:
- image: docker.mirror.hashicorp.services/golang:1.15.4 - image: docker.mirror.hashicorp.services/golang:1.15.5
working_directory: /go/src/github.com/hashicorp/nomad working_directory: /go/src/github.com/hashicorp/nomad
environment: environment:
- GIT_PAGER: cat - GIT_PAGER: cat
@ -1218,7 +1218,7 @@ jobs:
path: pkg/linux_amd64.zip path: pkg/linux_amd64.zip
test-e2e: test-e2e:
docker: docker:
- image: docker.mirror.hashicorp.services/golang:1.15.4 - image: docker.mirror.hashicorp.services/golang:1.15.5
working_directory: /go/src/github.com/hashicorp/nomad working_directory: /go/src/github.com/hashicorp/nomad
steps: steps:
- checkout - checkout
@ -1252,7 +1252,7 @@ jobs:
working_directory: ~/go/src/github.com/hashicorp/nomad working_directory: ~/go/src/github.com/hashicorp/nomad
environment: environment:
- GIT_PAGER: cat - GIT_PAGER: cat
- GOLANG_VERSION: 1.15.4 - GOLANG_VERSION: 1.15.5
- GOMAXPROCS: 1 - GOMAXPROCS: 1
- GOPATH: /home/circleci/go - GOPATH: /home/circleci/go
- GOTESTSUM_JSONFILE: /tmp/test-reports/testjsonfile.json - GOTESTSUM_JSONFILE: /tmp/test-reports/testjsonfile.json

View File

@ -24,7 +24,7 @@ executors:
go: go:
working_directory: /go/src/github.com/hashicorp/nomad working_directory: /go/src/github.com/hashicorp/nomad
docker: docker:
- image: docker.mirror.hashicorp.services/golang:1.15.4 - image: docker.mirror.hashicorp.services/golang:1.15.5
environment: environment:
<<: *common_envs <<: *common_envs
GOPATH: /go GOPATH: /go
@ -36,7 +36,7 @@ executors:
environment: &machine_env environment: &machine_env
<<: *common_envs <<: *common_envs
GOPATH: /home/circleci/go GOPATH: /home/circleci/go
GOLANG_VERSION: 1.15.4 GOLANG_VERSION: 1.15.5
# uses a more recent image with unattended upgrades disabled properly # uses a more recent image with unattended upgrades disabled properly
# but seems to break docker builds # but seems to break docker builds
@ -53,7 +53,7 @@ executors:
environment: environment:
<<: *common_envs <<: *common_envs
GOPATH: /Users/distiller/go GOPATH: /Users/distiller/go
GOLANG_VERSION: 1.15.4 GOLANG_VERSION: 1.15.5
go-windows: go-windows:
machine: machine:
@ -65,6 +65,6 @@ executors:
GOPATH: c:\gopath GOPATH: c:\gopath
GOBIN: c:\gopath\bin GOBIN: c:\gopath\bin
GOTESTSUM_PATH: c:\tmp\test-reports GOTESTSUM_PATH: c:\tmp\test-reports
GOLANG_VERSION: 1.15.4 GOLANG_VERSION: 1.15.5
GOTESTSUM_VERSION: 0.4.2 GOTESTSUM_VERSION: 0.4.2
VAULT_VERSION: 1.4.1 VAULT_VERSION: 1.4.1

View File

@ -15,7 +15,7 @@ IMPROVEMENTS:
* api: Job Register API now permits non-zero initial Version to accommodate multi-region deployments. [[GH-9071](https://github.com/hashicorp/nomad/issues/9071)] * api: Job Register API now permits non-zero initial Version to accommodate multi-region deployments. [[GH-9071](https://github.com/hashicorp/nomad/issues/9071)]
* api: Added ?resources=true query parameter to /v1/nodes and /v1/allocations to include resource allocations in listings. [[GH-9055](https://github.com/hashicorp/nomad/issues/9055)] * api: Added ?resources=true query parameter to /v1/nodes and /v1/allocations to include resource allocations in listings. [[GH-9055](https://github.com/hashicorp/nomad/issues/9055)]
* api: Added ?task_states=false query parameter to /v1/allocations to remove TaskStates from listings. Defaults to being included as before. [[GH-9055](https://github.com/hashicorp/nomad/issues/9055)] * api: Added ?task_states=false query parameter to /v1/allocations to remove TaskStates from listings. Defaults to being included as before. [[GH-9055](https://github.com/hashicorp/nomad/issues/9055)]
* build: Updated to Go 1.15.4. [[GH-9305](https://github.com/hashicorp/nomad/issues/9305)] * build: Updated to Go 1.15.5. [[GH-9345](https://github.com/hashicorp/nomad/issues/9345)]
* cli: Added autocompletion for `recommendation` commands [[GH-9317](https://github.com/hashicorp/nomad/issues/9317)] * cli: Added autocompletion for `recommendation` commands [[GH-9317](https://github.com/hashicorp/nomad/issues/9317)]
* cli: Added `scale` and `scaling-events` subcommands to the `job` command. [[GH-9023](https://github.com/hashicorp/nomad/pull/9023)] * cli: Added `scale` and `scaling-events` subcommands to the `job` command. [[GH-9023](https://github.com/hashicorp/nomad/pull/9023)]
* cli: Added `scaling` command for interaction with the scaling API endpoint. [[GH-9025](https://github.com/hashicorp/nomad/pull/9025)] * cli: Added `scaling` command for interaction with the scaling API endpoint. [[GH-9025](https://github.com/hashicorp/nomad/pull/9025)]

View File

@ -121,7 +121,7 @@ Who Uses Nomad
Contributing to 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.15.4+ 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.15.5+ is *required*, and `gcc-go` is not supported).
See the [`contributing`](contributing/) directory for more developer documentation. See the [`contributing`](contributing/) directory for more developer documentation.

View File

@ -56,7 +56,7 @@ REPO_PATH="${TMP_WORKSPACE}/gopath/src/github.com/hashicorp/nomad"
mkdir -p "${TMP_WORKSPACE}/tmp" mkdir -p "${TMP_WORKSPACE}/tmp"
install_go() { install_go() {
local go_version="1.15.4" local go_version="1.15.5"
local download= local download=
download="https://storage.googleapis.com/golang/go${go_version}.darwin-amd64.tar.gz" download="https://storage.googleapis.com/golang/go${go_version}.darwin-amd64.tar.gz"

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
function install_go() { function install_go() {
local go_version="1.15.4" local go_version="1.15.5"
local download= local download=
download="https://storage.googleapis.com/golang/go${go_version}.linux-amd64.tar.gz" download="https://storage.googleapis.com/golang/go${go_version}.linux-amd64.tar.gz"