chore: update to go1.19.4 (#12347)

This commit is contained in:
Joshua Powers 2022-12-07 09:41:11 -07:00 committed by GitHub
parent 5d9f57406d
commit 1f607196b6
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.19.3' - image: 'quay.io/influxdb/telegraf-ci:1.19.4'
environment: environment:
GOFLAGS: -p=4 GOFLAGS: -p=4
mac: mac:

View File

@ -238,8 +238,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.19.3 - < scripts/ci.docker docker build -t quay.io/influxdb/telegraf-ci:1.19.4 - < scripts/ci.docker
docker push quay.io/influxdb/telegraf-ci:1.19.3 docker push quay.io/influxdb/telegraf-ci:1.19.4
.PHONY: install .PHONY: install
install: $(buildbin) install: $(buildbin)

View File

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

View File

@ -2,10 +2,10 @@
set -eux set -eux
GO_VERSION="1.19.3" GO_VERSION="1.19.4"
GO_ARCH="linux-amd64" GO_ARCH="linux-amd64"
# from https://golang.org/dl # from https://golang.org/dl
GO_VERSION_SHA="74b9640724fd4e6bb0ed2a1bc44ae813a03f1e72a4c76253e2d5c015494430ba" GO_VERSION_SHA="c9c08f783325c4cf840a94333159cc937f05f75d36a8b307951d5bd959cf2ab8"
# 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.19.3" GO_VERSION="1.19.4"
GO_VERSION_SHA_arm64="49e394ab92bc6fa3df3d27298ddf3e4491f99477bee9dd4934525a526f3a391c" # from https://golang.org/dl GO_VERSION_SHA_arm64="bb3bc5d7655b9637cfe2b5e90055dee93b0ead50e2ffd091df320d1af1ca853f" # from https://golang.org/dl
GO_VERSION_SHA_amd64="7fa09a9a34cb6f794e61e9ada1d6d18796f936a2b35f22724906cad71396e590" # from https://golang.org/dl GO_VERSION_SHA_amd64="44894862d996eec96ef2a39878e4e1fce4d05423fc18bdc1cbba745ebfa41253" # 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.19.3" GO_VERSION="1.19.4"
setup_go () { setup_go () {
choco upgrade golang --allow-downgrade --version=${GO_VERSION} choco upgrade golang --allow-downgrade --version=${GO_VERSION}