Skip to content

Commit

Permalink
chore: update go to 1.17.2 (influxdata#9873)
Browse files Browse the repository at this point in the history
  • Loading branch information
sspaink authored and VladislavSenkevich committed Nov 23, 2021
1 parent 3ff100a commit 8dcf8a8
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.0'
- image: 'quay.io/influxdb/telegraf-ci:1.17.2'
environment:
GOFLAGS: -p=8
mac:
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,8 @@ plugin-%:

.PHONY: ci-1.17
ci-1.17:
docker build -t quay.io/influxdb/telegraf-ci:1.17.0 - < scripts/ci-1.17.docker
docker push quay.io/influxdb/telegraf-ci:1.17.0
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

.PHONY: install
install: $(buildbin)
Expand Down
2 changes: 1 addition & 1 deletion scripts/alpine.docker
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.17.0 as builder
FROM golang:1.17.2 as builder
WORKDIR /go/src/github.com/influxdata/telegraf

COPY . /go/src/github.com/influxdata/telegraf
Expand Down
2 changes: 1 addition & 1 deletion scripts/buster.docker
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.17.0-buster as builder
FROM golang:1.17.2-buster as builder
WORKDIR /go/src/github.com/influxdata/telegraf

COPY . /go/src/github.com/influxdata/telegraf
Expand Down
2 changes: 1 addition & 1 deletion scripts/ci-1.17.docker
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.17.0
FROM golang:1.17.2

RUN chmod -R 755 "$GOPATH"

Expand Down
6 changes: 3 additions & 3 deletions scripts/installgo_mac.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
set -eux

GO_ARCH="darwin-amd64"
GO_VERSION="1.17"
GO_VERSION_SHA="355bd544ce08d7d484d9d7de05a71b5c6f5bc10aa4b316688c2192aeb3dacfd1" # from https://golang.org/dl
GO_VERSION="1.17.2"
GO_VERSION_SHA="7914497a302a132a465d33f5ee044ce05568bacdb390ab805cb75a3435a23f94" # from https://golang.org/dl

# This path is cachable. (Saving in /usr/local/ would cause issues restoring the cache.)
path="/usr/local/Cellar"
Expand All @@ -18,7 +18,7 @@ setup_go () {
echo "Checksum failed" >&2
exit 1
fi

sudo rm -rf ${path}/go
sudo tar -C $path -xzf go${GO_VERSION}.${GO_ARCH}.tar.gz
ln -sf ${path}/go/bin/go /usr/local/bin/go
Expand Down
2 changes: 1 addition & 1 deletion scripts/installgo_windows.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -eux

GO_VERSION="1.17"
GO_VERSION="1.17.2"

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

0 comments on commit 8dcf8a8

Please sign in to comment.