chore: Update to go1.21.4 (#14268)

This commit is contained in:
Joshua Powers 2023-11-10 04:26:08 -07:00 committed by GitHub
parent d4449b6faf
commit 87ca7b2719
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 17 additions and 17 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.21.3'
- image: 'quay.io/influxdb/telegraf-ci:1.21.4'
environment:
GOFLAGS: -p=4
mac:
@ -40,7 +40,7 @@ commands:
default: "v1"
goversion:
type: string
default: 1.21.3
default: 1.21.4
steps:
- check-changed-files-or-halt
- when:
@ -229,7 +229,7 @@ jobs:
parameters:
goversion:
type: string
default: 1.21.3
default: 1.21.4
cache_version:
type: string
default: "v1"
@ -261,7 +261,7 @@ jobs:
parameters:
goversion:
type: string
default: 1.21.3
default: 1.21.4
cache_version:
type: string
default: "v1"
@ -298,7 +298,7 @@ jobs:
parameters:
goversion:
type: string
default: 1.21.3
default: 1.21.4
cache_version:
type: string
default: "v1"
@ -321,7 +321,7 @@ jobs:
parameters:
goversion:
type: string
default: 1.21.3
default: 1.21.4
cache_version:
type: string
default: "v1"
@ -350,7 +350,7 @@ jobs:
parameters:
goversion:
type: string
default: 1.21.3
default: 1.21.4
cache_version:
type: string
default: "v1"

View File

@ -15,5 +15,5 @@ jobs:
- name: Scan for Vulnerabilities in Code
uses: golang/govulncheck-action@v1
with:
go-version-input: 1.21.3
go-version-input: 1.21.4
go-package: ./...

View File

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

View File

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

View File

@ -2,10 +2,10 @@
set -eux
GO_VERSION="1.21.3"
GO_VERSION="1.21.4"
GO_ARCH="linux-amd64"
# from https://golang.org/dl
GO_VERSION_SHA="1241381b2843fae5a9707eec1f8fb2ef94d827990582c7c7c32f5bdfbfd420c8"
GO_VERSION_SHA="73cac0215254d0c7d1241fa40837851f3b9a8a742d0b54714cbdfb3feaf8f0af"
# Download Go and verify Go tarball
setup_go () {

View File

@ -3,9 +3,9 @@
set -eux
ARCH=$(uname -m)
GO_VERSION="1.21.3"
GO_VERSION_SHA_arm64="65302a7a9f7a4834932b3a7a14cb8be51beddda757b567a2f9e0cbd0d7b5a6ab" # from https://golang.org/dl
GO_VERSION_SHA_amd64="27014fc69e301d7588a169ca239b3cc609f0aa1abf38528bf0d20d3b259211eb" # from https://golang.org/dl
GO_VERSION="1.21.4"
GO_VERSION_SHA_arm64="8b7caf2ac60bdff457dba7d4ff2a01def889592b834453431ae3caecf884f6a5" # from https://golang.org/dl
GO_VERSION_SHA_amd64="cd3bdcc802b759b70e8418bc7afbc4a65ca73a3fe576060af9fc8a2a5e71c3b8" # from https://golang.org/dl
if [ "$ARCH" = 'arm64' ]; then
GO_ARCH="darwin-arm64"

View File

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