From d5afd654c69ff30355f33eb03ff3b7cd6596fb12 Mon Sep 17 00:00:00 2001 From: Mya Date: Tue, 9 Nov 2021 08:28:38 -0700 Subject: [PATCH] chore: update go version from 1.17.2 to 1.17.3 (#10073) --- .circleci/config.yml | 2 +- Makefile | 4 ++-- scripts/ci-1.17.docker | 2 +- scripts/installgo_mac.sh | 6 +++--- scripts/installgo_windows.sh | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 3fa611f8b..f282aa8b7 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -7,7 +7,7 @@ executors: go-1_17: working_directory: '/go/src/github.com/influxdata/telegraf' docker: - - image: 'quay.io/influxdb/telegraf-ci:1.17.2' + - image: 'quay.io/influxdb/telegraf-ci:1.17.3' environment: GOFLAGS: -p=8 mac: diff --git a/Makefile b/Makefile index 7b91fa1ed..52362a307 100644 --- a/Makefile +++ b/Makefile @@ -211,8 +211,8 @@ plugin-%: .PHONY: ci-1.17 ci-1.17: - docker build -t quay.io/influxdb/telegraf-ci:1.17.2 - < scripts/ci-1.17.docker - docker push quay.io/influxdb/telegraf-ci:1.17.2 + 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.3 .PHONY: install install: $(buildbin) diff --git a/scripts/ci-1.17.docker b/scripts/ci-1.17.docker index a69a0d7ed..6b220c089 100644 --- a/scripts/ci-1.17.docker +++ b/scripts/ci-1.17.docker @@ -1,4 +1,4 @@ -FROM golang:1.17.2 +FROM golang:1.17.3 RUN chmod -R 755 "$GOPATH" diff --git a/scripts/installgo_mac.sh b/scripts/installgo_mac.sh index f15aefa6a..2676495d3 100644 --- a/scripts/installgo_mac.sh +++ b/scripts/installgo_mac.sh @@ -3,13 +3,13 @@ set -eux ARCH=$(uname -m) -GO_VERSION="1.17.2" +GO_VERSION="1.17.3" if [ "$ARCH" = 'arm64' ]; then 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 GO_ARCH="darwin-amd64" - GO_VERSION_SHA="7914497a302a132a465d33f5ee044ce05568bacdb390ab805cb75a3435a23f94" # from https://golang.org/dl + GO_VERSION_SHA="765c021e372a87ce0bc58d3670ab143008dae9305a79e9fa83440425529bb636" # from https://golang.org/dl fi # This path is cachable. (Saving in /usr/local/ would cause issues restoring the cache.) diff --git a/scripts/installgo_windows.sh b/scripts/installgo_windows.sh index bd5dcca3d..1571daa28 100644 --- a/scripts/installgo_windows.sh +++ b/scripts/installgo_windows.sh @@ -2,7 +2,7 @@ set -eux -GO_VERSION="1.17.2" +GO_VERSION="1.17.3" setup_go () { choco upgrade golang --version=${GO_VERSION}