chore: update to go v1.19.3 (#12142)

This commit is contained in:
Joshua Powers 2022-11-01 14:19:12 -06:00 committed by GitHub
parent 09d5a9c8b6
commit 294f9a9961
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'
resource_class: large
docker:
- image: 'quay.io/influxdb/telegraf-ci:1.19.2'
- image: 'quay.io/influxdb/telegraf-ci:1.19.3'
environment:
GOFLAGS: -p=4
mac:

View File

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

View File

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

View File

@ -2,10 +2,10 @@
set -eux
GO_VERSION="1.19.2"
GO_VERSION="1.19.3"
GO_ARCH="linux-amd64"
# from https://golang.org/dl
GO_VERSION_SHA="5e8c5a74fe6470dd7e055a461acda8bb4050ead8c2df70f227e3ff7d8eb7eeb6"
GO_VERSION_SHA="74b9640724fd4e6bb0ed2a1bc44ae813a03f1e72a4c76253e2d5c015494430ba"
# Download Go and verify Go tarball
setup_go () {

View File

@ -3,9 +3,9 @@
set -eux
ARCH=$(uname -m)
GO_VERSION="1.19.2"
GO_VERSION_SHA_arm64="35d819df25197c0be45f36ce849b994bba3b0559b76d4538b910d28f6395c00d" # from https://golang.org/dl
GO_VERSION_SHA_amd64="16f8047d7b627699b3773680098fbaf7cc962b7db02b3e02726f78c4db26dfde" # from https://golang.org/dl
GO_VERSION="1.19.3"
GO_VERSION_SHA_arm64="49e394ab92bc6fa3df3d27298ddf3e4491f99477bee9dd4934525a526f3a391c" # from https://golang.org/dl
GO_VERSION_SHA_amd64="7fa09a9a34cb6f794e61e9ada1d6d18796f936a2b35f22724906cad71396e590" # from https://golang.org/dl
if [ "$ARCH" = 'arm64' ]; then
GO_ARCH="darwin-arm64"

View File

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