Skip to content

Commit

Permalink
chore: update go to 1.17.7 (#10658)
Browse files Browse the repository at this point in the history
(cherry picked from commit f75f437)
  • Loading branch information
powersj committed Feb 16, 2022
1 parent 7c81f59 commit 7a40bbf
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Expand Up @@ -8,7 +8,7 @@ executors:
working_directory: '/go/src/github.com/influxdata/telegraf'
resource_class: large
docker:
- image: 'quay.io/influxdb/telegraf-ci:1.17.6'
- image: 'quay.io/influxdb/telegraf-ci:1.17.7'
environment:
GOFLAGS: -p=4
mac:
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Expand Up @@ -211,8 +211,8 @@ plugin-%:

.PHONY: ci-1.17
ci-1.17:
docker build -t quay.io/influxdb/telegraf-ci:1.17.6 - < scripts/ci-1.17.docker
docker push quay.io/influxdb/telegraf-ci:1.17.6
docker build -t quay.io/influxdb/telegraf-ci:1.17.7 - < scripts/ci-1.17.docker
docker push quay.io/influxdb/telegraf-ci:1.17.7

.PHONY: install
install: $(buildbin)
Expand Down
2 changes: 1 addition & 1 deletion scripts/ci-1.17.docker
@@ -1,4 +1,4 @@
FROM golang:1.17.6
FROM golang:1.17.7

RUN chmod -R 755 "$GOPATH"

Expand Down
6 changes: 3 additions & 3 deletions scripts/installgo_mac.sh
Expand Up @@ -3,13 +3,13 @@
set -eux

ARCH=$(uname -m)
GO_VERSION="1.17.6"
GO_VERSION="1.17.7"
if [ "$ARCH" = 'arm64' ]; then
GO_ARCH="darwin-arm64"
GO_VERSION_SHA="dc54f3f4099e2be9e9c33bf926a7dc3ad64f34717142f7abcaff9ae44bc03d0c" # from https://golang.org/dl
GO_VERSION_SHA="e141bd85577b875cc771cfcc18604989c861e93bbef377ba6c80d29e18f9a338" # from https://golang.org/dl
elif [ "$ARCH" = 'x86_64' ]; then
GO_ARCH="darwin-amd64"
GO_VERSION_SHA="874bc6f95e07697380069a394a21e05576a18d60f4ba178646e1ebed8f8b1f89" # from https://golang.org/dl
GO_VERSION_SHA="7c3d9cc70ee592515d92a44385c0cba5503fd0a9950f78d76a4587916c67a84d" # from https://golang.org/dl
fi

# This path is cachable. (Saving in /usr/local/ would cause issues restoring the cache.)
Expand Down
2 changes: 1 addition & 1 deletion scripts/installgo_windows.sh
Expand Up @@ -2,7 +2,7 @@

set -eux

GO_VERSION="1.17.6"
GO_VERSION="1.17.7"

setup_go () {
choco upgrade golang --allow-downgrade --version=${GO_VERSION}
Expand Down

0 comments on commit 7a40bbf

Please sign in to comment.