Skip to content

Commit 5f37b2f

Browse files
authored
build: update from go1.20.1 to go1.20.2 (#16427)
* build: update from go1.20.1 to go1.20.2 Note that the CVE fixed in go1.20.2 does *not* impact Nomad. golang/go#58647
1 parent 5febe9b commit 5f37b2f

File tree

6 files changed

+11
-8
lines changed

6 files changed

+11
-8
lines changed

.changelog/16427.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:security
2+
build: Update to go1.20.2
3+
```

.circleci/config.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ executors:
450450
go:
451451
working_directory: /go/src/github.com/hashicorp/nomad
452452
docker:
453-
- image: docker.mirror.hashicorp.services/golang:1.20.1
453+
- image: docker.mirror.hashicorp.services/golang:1.20.2
454454
resource_class: medium
455455
environment:
456456
<<: *common_envs
@@ -463,7 +463,7 @@ executors:
463463
resource_class: large
464464
environment: &machine_env
465465
<<: *common_envs
466-
GOLANG_VERSION: 1.20.1
466+
GOLANG_VERSION: 1.20.2
467467

468468
go-macos:
469469
working_directory: ~/go/src/github.com/hashicorp/nomad
@@ -472,7 +472,7 @@ executors:
472472
environment:
473473
<<: *common_envs
474474
GOPATH: /Users/distiller/go
475-
GOLANG_VERSION: 1.20.1
475+
GOLANG_VERSION: 1.20.2
476476

477477
go-windows:
478478
machine:
@@ -484,7 +484,7 @@ executors:
484484
GOPATH: c:\gopath
485485
GOBIN: c:\gopath\bin
486486
GOTESTSUM_PATH: c:\tmp\test-reports
487-
GOLANG_VERSION: 1.20.1
487+
GOLANG_VERSION: 1.20.2
488488
GOTESTSUM_VERSION: 1.7.0
489489
VAULT_VERSION: 1.4.1
490490

.go-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.20.1
1+
1.20.2

contributing/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ A development environment is supplied via Vagrant to make getting started easier
3030

3131
Developing without Vagrant
3232
---
33-
1. Install [Go 1.20.1+](https://golang.org/) *(Note: `gcc-go` is not supported)*
33+
1. Install [Go 1.20.2+](https://golang.org/) *(Note: `gcc-go` is not supported)*
3434
1. Clone this repo
3535
```sh
3636
$ git clone https://github.com/hashicorp/nomad.git

scripts/release/mac-remote-build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ REPO_PATH="${TMP_WORKSPACE}/gopath/src/github.com/hashicorp/nomad"
5656
mkdir -p "${TMP_WORKSPACE}/tmp"
5757
5858
install_go() {
59-
local go_version="1.20.1"
59+
local go_version="1.20.2"
6060
local download=
6161
6262
download="https://storage.googleapis.com/golang/go${go_version}.darwin-amd64.tar.gz"

scripts/vagrant-linux-priv-go.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
set -o errexit
44

55
function install_go() {
6-
local go_version="1.20.1"
6+
local go_version="1.20.2"
77
local download="https://storage.googleapis.com/golang/go${go_version}.linux-amd64.tar.gz"
88

99
if go version 2>&1 | grep -q "${go_version}"; then

0 commit comments

Comments
 (0)