chore: update go version from 1.17.2 to 1.17.3 (#10073)

This commit is contained in:
Mya 2021-11-09 08:28:38 -07:00 committed by GitHub
parent ddeb6ec890
commit d5afd654c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 8 additions and 8 deletions

View File

@ -7,7 +7,7 @@ executors:
go-1_17: go-1_17:
working_directory: '/go/src/github.com/influxdata/telegraf' working_directory: '/go/src/github.com/influxdata/telegraf'
docker: docker:
- image: 'quay.io/influxdb/telegraf-ci:1.17.2' - image: 'quay.io/influxdb/telegraf-ci:1.17.3'
environment: environment:
GOFLAGS: -p=8 GOFLAGS: -p=8
mac: mac:

View File

@ -211,8 +211,8 @@ plugin-%:
.PHONY: ci-1.17 .PHONY: ci-1.17
ci-1.17: ci-1.17:
docker build -t quay.io/influxdb/telegraf-ci:1.17.2 - < scripts/ci-1.17.docker docker build -t quay.io/influxdb/telegraf-ci:1.17.3 - < scripts/ci-1.17.docker
docker push quay.io/influxdb/telegraf-ci:1.17.2 docker push quay.io/influxdb/telegraf-ci:1.17.3
.PHONY: install .PHONY: install
install: $(buildbin) install: $(buildbin)

View File

@ -1,4 +1,4 @@
FROM golang:1.17.2 FROM golang:1.17.3
RUN chmod -R 755 "$GOPATH" RUN chmod -R 755 "$GOPATH"

View File

@ -3,13 +3,13 @@
set -eux set -eux
ARCH=$(uname -m) ARCH=$(uname -m)
GO_VERSION="1.17.2" GO_VERSION="1.17.3"
if [ "$ARCH" = 'arm64' ]; then if [ "$ARCH" = 'arm64' ]; then
GO_ARCH="darwin-arm64" GO_ARCH="darwin-arm64"
GO_VERSION_SHA="ce8771bd3edfb5b28104084b56bbb532eeb47fbb7769c3e664c6223712c30904" # from https://golang.org/dl GO_VERSION_SHA="ffe45ef267271b9681ca96ca9b0eb9b8598dd82f7bb95b27af3eef2461dc3d2c" # from https://golang.org/dl
elif [ "$ARCH" = 'x86_64' ]; then elif [ "$ARCH" = 'x86_64' ]; then
GO_ARCH="darwin-amd64" GO_ARCH="darwin-amd64"
GO_VERSION_SHA="7914497a302a132a465d33f5ee044ce05568bacdb390ab805cb75a3435a23f94" # from https://golang.org/dl GO_VERSION_SHA="765c021e372a87ce0bc58d3670ab143008dae9305a79e9fa83440425529bb636" # from https://golang.org/dl
fi fi
# This path is cachable. (Saving in /usr/local/ would cause issues restoring the cache.) # This path is cachable. (Saving in /usr/local/ would cause issues restoring the cache.)

View File

@ -2,7 +2,7 @@
set -eux set -eux
GO_VERSION="1.17.2" GO_VERSION="1.17.3"
setup_go () { setup_go () {
choco upgrade golang --version=${GO_VERSION} choco upgrade golang --version=${GO_VERSION}