chore: update to go1.19.2 (#11940)

This commit is contained in:
Joshua Powers 2022-10-04 15:54:15 -06:00 committed by GitHub
parent ed8bd1dd52
commit bc2b328911
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.1'
- image: 'quay.io/influxdb/telegraf-ci:1.19.2'
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.1 - < scripts/ci.docker
docker push quay.io/influxdb/telegraf-ci:1.19.1
docker build -t quay.io/influxdb/telegraf-ci:1.19.2 - < scripts/ci.docker
docker push quay.io/influxdb/telegraf-ci:1.19.2
.PHONY: install
install: $(buildbin)

View File

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

View File

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

View File

@ -3,13 +3,13 @@
set -eux
ARCH=$(uname -m)
GO_VERSION="1.19.1"
GO_VERSION="1.19.2"
if [ "$ARCH" = 'arm64' ]; then
GO_ARCH="darwin-arm64"
GO_VERSION_SHA="e46aecce83a9289be16ce4ba9b8478a5b89b8aa0230171d5c6adbc0c66640548" # from https://golang.org/dl
GO_VERSION_SHA="35d819df25197c0be45f36ce849b994bba3b0559b76d4538b910d28f6395c00d" # from https://golang.org/dl
elif [ "$ARCH" = 'x86_64' ]; then
GO_ARCH="darwin-amd64"
GO_VERSION_SHA="b2828a2b05f0d2169afc74c11ed010775bf7cf0061822b275697b2f470495fb7" # from https://golang.org/dl
GO_VERSION_SHA="16f8047d7b627699b3773680098fbaf7cc962b7db02b3e02726f78c4db26dfde" # from https://golang.org/dl
fi
# This path is cachable. (Saving in /usr/local/ would cause issues restoring the cache.)

View File

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