chore: Update go to v1.24.1 (#16595)

This commit is contained in:
Sven Rebhan 2025-03-07 21:01:26 +01:00 committed by GitHub
parent 666ada1a79
commit f7bd90f194
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 11 additions and 11 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.24.0'
- image: 'quay.io/influxdb/telegraf-ci:1.24.1'
environment:
GOFLAGS: -p=4
mac:

View File

@ -11,7 +11,7 @@ jobs:
steps:
- uses: actions/setup-go@v5
with:
go-version: '1.24.0'
go-version: '1.24.1'
- uses: actions/checkout@v4
with:
fetch-depth: 0

View File

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

View File

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

View File

@ -2,10 +2,10 @@
set -eux
GO_VERSION="1.24.0"
GO_VERSION="1.24.1"
GO_ARCH="linux-amd64"
# from https://go.dev/dl
GO_VERSION_SHA="dea9ca38a0b852a74e81c26134671af7c0fbe65d81b0dc1c5bfe22cf7d4c8858"
GO_VERSION_SHA="cb2396bae64183cdccf81a9a6df0aea3bce9511fc21469fb89a0c00470088073"
# Download Go and verify Go tarball
setup_go () {

View File

@ -3,9 +3,9 @@
set -eux
ARCH=$(uname -m)
GO_VERSION="1.24.0"
GO_VERSION_SHA_arm64="fd9cfb5dd6c75a347cfc641a253f0db1cebaca16b0dd37965351c6184ba595e4" # from https://go.dev/dl
GO_VERSION_SHA_amd64="7af054e5088b68c24b3d6e135e5ca8d91bbd5a05cb7f7f0187367b3e6e9e05ee" # from https://go.dev/dl
GO_VERSION="1.24.1"
GO_VERSION_SHA_arm64="295581b5619acc92f5106e5bcb05c51869337eb19742fdfa6c8346c18e78ff88" # from https://go.dev/dl
GO_VERSION_SHA_amd64="addbfce2056744962e2d7436313ab93486660cf7a2e066d171b9d6f2da7c7abe" # from https://go.dev/dl
if [ "$ARCH" = 'arm64' ]; then
GO_ARCH="darwin-arm64"

View File

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