chore: Update to go1.20.2 (#12824)

This commit is contained in:
Joshua Powers 2023-03-10 05:42:41 -07:00 committed by GitHub
parent 7c7ddf8b91
commit 0f5ced7aab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 10 additions and 10 deletions

View File

@ -8,7 +8,7 @@ executors:
working_directory: '/go/src/github.com/influxdata/telegraf' working_directory: '/go/src/github.com/influxdata/telegraf'
resource_class: large resource_class: large
docker: docker:
- image: 'quay.io/influxdb/telegraf-ci:1.20.1' - image: 'quay.io/influxdb/telegraf-ci:1.20.2'
environment: environment:
GOFLAGS: -p=4 GOFLAGS: -p=4
mac: mac:

View File

@ -247,8 +247,8 @@ plugins/parsers/influx/machine.go: plugins/parsers/influx/machine.go.rl
.PHONY: ci .PHONY: ci
ci: ci:
docker build -t quay.io/influxdb/telegraf-ci:1.20.1 - < scripts/ci.docker docker build -t quay.io/influxdb/telegraf-ci:1.20.2 - < scripts/ci.docker
docker push quay.io/influxdb/telegraf-ci:1.20.1 docker push quay.io/influxdb/telegraf-ci:1.20.2
.PHONY: install .PHONY: install
install: $(buildbin) install: $(buildbin)

View File

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

View File

@ -2,10 +2,10 @@
set -eux set -eux
GO_VERSION="1.20.1" GO_VERSION="1.20.2"
GO_ARCH="linux-amd64" GO_ARCH="linux-amd64"
# from https://golang.org/dl # from https://golang.org/dl
GO_VERSION_SHA="000a5b1fca4f75895f78befeb2eecf10bfff3c428597f3f1e69133b63b911b02" GO_VERSION_SHA="4eaea32f59cde4dc635fbc42161031d13e1c780b87097f4b4234cfce671f1768"
# Download Go and verify Go tarball # Download Go and verify Go tarball
setup_go () { setup_go () {

View File

@ -3,9 +3,9 @@
set -eux set -eux
ARCH=$(uname -m) ARCH=$(uname -m)
GO_VERSION="1.20.1" GO_VERSION="1.20.2"
GO_VERSION_SHA_arm64="f1a8e06c7f1ba1c008313577f3f58132eb166a41ceb95ce6e9af30bc5a3efca4" # from https://golang.org/dl GO_VERSION_SHA_arm64="7343c87f19e79c0063532e82e1c4d6f42175a32d99f7a4d15e658e88bf97f885" # from https://golang.org/dl
GO_VERSION_SHA_amd64="a300a45e801ab459f3008aae5bb9efbe9a6de9bcd12388f5ca9bbd14f70236de" # from https://golang.org/dl GO_VERSION_SHA_amd64="c93b8ced9517d07e1cd4c362c6e2d5242cb139e29b417a328fbf19aded08764c" # from https://golang.org/dl
if [ "$ARCH" = 'arm64' ]; then if [ "$ARCH" = 'arm64' ]; then
GO_ARCH="darwin-arm64" GO_ARCH="darwin-arm64"

View File

@ -2,7 +2,7 @@
set -eux set -eux
GO_VERSION="1.20.1" GO_VERSION="1.20.2"
setup_go () { setup_go () {
choco upgrade golang --allow-downgrade --version=${GO_VERSION} choco upgrade golang --allow-downgrade --version=${GO_VERSION}