Skip to content

Commit

Permalink
chore: Update to Go v1.22.5 (#15599)
Browse files Browse the repository at this point in the history
  • Loading branch information
powersj authored Jul 8, 2024
1 parent 7fedef8 commit 6a36d27
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ executors:
working_directory: '/go/src/github.com/influxdata/telegraf'
resource_class: large
docker:
- image: 'quay.io/influxdb/telegraf-ci:1.22.4'
- image: 'quay.io/influxdb/telegraf-ci:1.22.5'
environment:
GOFLAGS: -p=4
mac:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/readme-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
steps:
- uses: actions/setup-go@v5
with:
go-version: '1.22.4'
go-version: '1.22.5'
- uses: actions/checkout@v4
with:
fetch-depth: 0
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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.22.4 - < scripts/ci.docker
docker push quay.io/influxdb/telegraf-ci:1.22.4
docker build -t quay.io/influxdb/telegraf-ci:1.22.5 - < scripts/ci.docker
docker push quay.io/influxdb/telegraf-ci:1.22.5

.PHONY: install
install: $(buildbin)
Expand Down
2 changes: 1 addition & 1 deletion scripts/ci.docker
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.22.4
FROM golang:1.22.5

RUN chmod -R 755 "$GOPATH"

Expand Down
4 changes: 2 additions & 2 deletions scripts/installgo_linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

set -eux

GO_VERSION="1.22.4"
GO_VERSION="1.22.5"
GO_ARCH="linux-amd64"
# from https://golang.org/dl
GO_VERSION_SHA="ba79d4526102575196273416239cca418a651e049c2b099f3159db85e7bade7d"
GO_VERSION_SHA="904b924d435eaea086515bc63235b192ea441bd8c9b198c507e85009e6e4c7f0"

# Download Go and verify Go tarball
setup_go () {
Expand Down
6 changes: 3 additions & 3 deletions scripts/installgo_mac.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
set -eux

ARCH=$(uname -m)
GO_VERSION="1.22.4"
GO_VERSION_SHA_arm64="242b78dc4c8f3d5435d28a0d2cec9b4c1aa999b601fb8aa59fb4e5a1364bf827" # from https://golang.org/dl
GO_VERSION_SHA_amd64="c95967f50aa4ace34af0c236cbdb49a9a3e80ee2ad09d85775cb4462a5c19ed3" # from https://golang.org/dl
GO_VERSION="1.22.5"
GO_VERSION_SHA_arm64="4cd1bcb05be03cecb77bccd765785d5ff69d79adf4dd49790471d00c06b41133" # from https://golang.org/dl
GO_VERSION_SHA_amd64="95d9933cdcf45f211243c42c7705c37353cccd99f27eb4d8e2d1bf2f4165cb50" # from https://golang.org/dl

if [ "$ARCH" = 'arm64' ]; then
GO_ARCH="darwin-arm64"
Expand Down
2 changes: 1 addition & 1 deletion scripts/installgo_windows.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -eux

GO_VERSION="1.22.4"
GO_VERSION="1.22.5"

setup_go () {
choco upgrade golang --allow-downgrade --version=${GO_VERSION}
Expand Down

0 comments on commit 6a36d27

Please sign in to comment.