From 9ffdf3f568e47a066c14f1f53d1d0edea649d723 Mon Sep 17 00:00:00 2001 From: Joshua Casey Date: Tue, 9 Sep 2025 09:20:01 -0500 Subject: [PATCH] Bump go to v1.25.1 --- dockerfiles/integration-test-runner-beta/Dockerfile | 2 +- dockerfiles/integration-test-runner/Dockerfile | 2 +- dockerfiles/k8s-code-generator/setup.sh | 4 ++-- pipelines/dockerfile-builders/pipeline.yml | 2 +- pipelines/pull-requests/pipeline.yml | 2 +- pipelines/shared-tasks/build-cli-binaries/task.yml | 2 +- pipelines/shared-tasks/confirm-built-with-fips/task.yml | 2 +- pipelines/shared-tasks/confirm-version/task.yml | 2 +- pipelines/shared-tasks/format-release/task.yml | 2 +- pipelines/shared-tasks/run-go-vuln-scan/task.yml | 2 +- pipelines/shared-tasks/run-unit-tests/task.yml | 2 +- pipelines/shared-tasks/run-verify-go-generate/task.yml | 2 +- pipelines/shared-tasks/run-verify-go-mod-tidy/task.yml | 2 +- pipelines/shared-tasks/run-verify-lint/task.yml | 2 +- pipelines/shared-tasks/update-version-and-cli-docs/task.yml | 2 +- 15 files changed, 16 insertions(+), 16 deletions(-) diff --git a/dockerfiles/integration-test-runner-beta/Dockerfile b/dockerfiles/integration-test-runner-beta/Dockerfile index 3c5c3a5b4..98ae388b1 100644 --- a/dockerfiles/integration-test-runner-beta/Dockerfile +++ b/dockerfiles/integration-test-runner-beta/Dockerfile @@ -36,7 +36,7 @@ RUN google-chrome --version # Install Go. The download URL that can be used below for any version of Go can be found on https://go.dev/dl/ ENV PATH /usr/local/go/bin:$PATH -RUN curl -fsSL https://go.dev/dl/go1.25.0.linux-amd64.tar.gz -o /tmp/go.tar.gz && \ +RUN curl -fsSL https://go.dev/dl/go1.25.1.linux-amd64.tar.gz -o /tmp/go.tar.gz && \ tar -C /usr/local -xzf /tmp/go.tar.gz && \ rm /tmp/go.tar.gz && \ go version diff --git a/dockerfiles/integration-test-runner/Dockerfile b/dockerfiles/integration-test-runner/Dockerfile index 04eac5374..e625ea3da 100644 --- a/dockerfiles/integration-test-runner/Dockerfile +++ b/dockerfiles/integration-test-runner/Dockerfile @@ -36,7 +36,7 @@ RUN google-chrome --version # Install Go. The download URL that can be used below for any version of Go can be found on https://go.dev/dl/ ENV PATH /usr/local/go/bin:$PATH -RUN curl -fsSL https://go.dev/dl/go1.25.0.linux-amd64.tar.gz -o /tmp/go.tar.gz && \ +RUN curl -fsSL https://go.dev/dl/go1.25.1.linux-amd64.tar.gz -o /tmp/go.tar.gz && \ tar -C /usr/local -xzf /tmp/go.tar.gz && \ rm /tmp/go.tar.gz && \ go version diff --git a/dockerfiles/k8s-code-generator/setup.sh b/dockerfiles/k8s-code-generator/setup.sh index e823e8704..2ce48c375 100755 --- a/dockerfiles/k8s-code-generator/setup.sh +++ b/dockerfiles/k8s-code-generator/setup.sh @@ -68,7 +68,7 @@ cp -pr "$(go env GOMODCACHE)/k8s.io/code-generator@v$K8S_PKG_VERSION" "$(go env # to instead say "GO111MODULE=on go install ..." so this sed is a little wrong, but still seems to work. echo "Running go install for all k8s.io/code-generator commands ..." # Using sed to edit the go.mod file (and then running go mod tidy) is a dirty hack to work around -# an issue introduced starting in Go 1.25.0. See https://github.com/golang/go/issues/74462. +# an issue introduced in Go v1.25. See https://github.com/golang/go/issues/74462. # The version of code-generator used by Kube 1.30 depends on x/tools v0.18.0. # The version of code-generator used by Kube 1.31 depends on x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d. # Other versions of Kube use code-generator versions which do not have this problem. @@ -87,7 +87,7 @@ if [[ ! -f "$(go env GOPATH)/bin/openapi-gen" ]]; then # Install that version of its openapi-gen command. echo "Running go install for openapi-gen $kube_openapi_version ..." # Using sed to edit the go.mod file (and then running go mod tidy) is a dirty hack to work around - # an issue introduced starting in Go 1.25.0. See https://github.com/golang/go/issues/74462. + # an issue introduced in Go v1.25. See https://github.com/golang/go/issues/74462. # If this were not needed, then we could just use "go install" directly without # copying the source code or editing the go.mod file (which is what this script used to do), # like this: go install -v "k8s.io/kube-openapi/cmd/openapi-gen@$kube_openapi_version" diff --git a/pipelines/dockerfile-builders/pipeline.yml b/pipelines/dockerfile-builders/pipeline.yml index 2c2f9c8ba..4a96e3642 100644 --- a/pipelines/dockerfile-builders/pipeline.yml +++ b/pipelines/dockerfile-builders/pipeline.yml @@ -38,7 +38,7 @@ meta: # These version numbers should be updated periodically. codegen-versions: &codegen-versions # Choose which version of Golang to use in the codegen container images. - BUILD_ARG_GO_VERSION: '1.25.0' + BUILD_ARG_GO_VERSION: '1.25.1' # Choose which version of sigs.k8s.io/controller-tools/cmd/controller-gen to install # in the codegen container images. BUILD_ARG_CONTROLLER_GEN_VERSION: 0.19.0 diff --git a/pipelines/pull-requests/pipeline.yml b/pipelines/pull-requests/pipeline.yml index 2d4a8b81e..ec220de2c 100644 --- a/pipelines/pull-requests/pipeline.yml +++ b/pipelines/pull-requests/pipeline.yml @@ -606,7 +606,7 @@ jobs: type: registry-image source: repository: golang - tag: '1.25.0' + tag: '1.25.1' inputs: - name: pinniped-pr outputs: diff --git a/pipelines/shared-tasks/build-cli-binaries/task.yml b/pipelines/shared-tasks/build-cli-binaries/task.yml index f62be4dab..86bc5a02c 100644 --- a/pipelines/shared-tasks/build-cli-binaries/task.yml +++ b/pipelines/shared-tasks/build-cli-binaries/task.yml @@ -7,7 +7,7 @@ image_resource: type: registry-image source: repository: golang - tag: '1.25.0' + tag: '1.25.1' inputs: - name: pinniped - name: pinniped-ci diff --git a/pipelines/shared-tasks/confirm-built-with-fips/task.yml b/pipelines/shared-tasks/confirm-built-with-fips/task.yml index cdd3d368f..b186a7d51 100644 --- a/pipelines/shared-tasks/confirm-built-with-fips/task.yml +++ b/pipelines/shared-tasks/confirm-built-with-fips/task.yml @@ -10,6 +10,6 @@ image_resource: type: registry-image source: repository: golang - tag: '1.25.0' + tag: '1.25.1' run: path: pinniped-ci/pipelines/shared-tasks/confirm-built-with-fips/task.sh diff --git a/pipelines/shared-tasks/confirm-version/task.yml b/pipelines/shared-tasks/confirm-version/task.yml index 200a991c0..e8a410d9b 100644 --- a/pipelines/shared-tasks/confirm-version/task.yml +++ b/pipelines/shared-tasks/confirm-version/task.yml @@ -10,7 +10,7 @@ image_resource: type: registry-image source: repository: golang - tag: '1.25.0' + tag: '1.25.1' run: # Confirm that the correct git sha was baked into the executables and that they log the version as their # first line of output. Do this by directly running the server binary from the rootfs of the built image. diff --git a/pipelines/shared-tasks/format-release/task.yml b/pipelines/shared-tasks/format-release/task.yml index e888e014c..7289ea7aa 100644 --- a/pipelines/shared-tasks/format-release/task.yml +++ b/pipelines/shared-tasks/format-release/task.yml @@ -7,7 +7,7 @@ image_resource: type: registry-image source: repository: golang - tag: '1.25.0' + tag: '1.25.1' inputs: - name: pinniped - name: release-semver diff --git a/pipelines/shared-tasks/run-go-vuln-scan/task.yml b/pipelines/shared-tasks/run-go-vuln-scan/task.yml index c1b263bad..464540778 100644 --- a/pipelines/shared-tasks/run-go-vuln-scan/task.yml +++ b/pipelines/shared-tasks/run-go-vuln-scan/task.yml @@ -7,7 +7,7 @@ image_resource: type: registry-image source: repository: golang - tag: '1.25.0' + tag: '1.25.1' inputs: - name: pinniped - name: pinniped-ci diff --git a/pipelines/shared-tasks/run-unit-tests/task.yml b/pipelines/shared-tasks/run-unit-tests/task.yml index 1c782eb63..db1dc9404 100644 --- a/pipelines/shared-tasks/run-unit-tests/task.yml +++ b/pipelines/shared-tasks/run-unit-tests/task.yml @@ -7,7 +7,7 @@ image_resource: type: registry-image source: repository: golang - tag: '1.25.0' + tag: '1.25.1' inputs: - name: pinniped - name: pinniped-ci diff --git a/pipelines/shared-tasks/run-verify-go-generate/task.yml b/pipelines/shared-tasks/run-verify-go-generate/task.yml index 20dc9689f..d82f93fc3 100644 --- a/pipelines/shared-tasks/run-verify-go-generate/task.yml +++ b/pipelines/shared-tasks/run-verify-go-generate/task.yml @@ -7,7 +7,7 @@ image_resource: type: registry-image source: repository: golang - tag: '1.25.0' + tag: '1.25.1' inputs: - name: pinniped - name: pinniped-ci diff --git a/pipelines/shared-tasks/run-verify-go-mod-tidy/task.yml b/pipelines/shared-tasks/run-verify-go-mod-tidy/task.yml index 56cee5a33..dfc9de476 100644 --- a/pipelines/shared-tasks/run-verify-go-mod-tidy/task.yml +++ b/pipelines/shared-tasks/run-verify-go-mod-tidy/task.yml @@ -7,7 +7,7 @@ image_resource: type: registry-image source: repository: golang - tag: '1.25.0' + tag: '1.25.1' inputs: - name: pinniped - name: pinniped-ci diff --git a/pipelines/shared-tasks/run-verify-lint/task.yml b/pipelines/shared-tasks/run-verify-lint/task.yml index 423b0838e..1b0688bf5 100644 --- a/pipelines/shared-tasks/run-verify-lint/task.yml +++ b/pipelines/shared-tasks/run-verify-lint/task.yml @@ -7,7 +7,7 @@ image_resource: type: registry-image source: repository: golang - tag: '1.25.0' + tag: '1.25.1' inputs: - name: pinniped - name: pinniped-ci diff --git a/pipelines/shared-tasks/update-version-and-cli-docs/task.yml b/pipelines/shared-tasks/update-version-and-cli-docs/task.yml index 3a89b729b..e797e3a45 100644 --- a/pipelines/shared-tasks/update-version-and-cli-docs/task.yml +++ b/pipelines/shared-tasks/update-version-and-cli-docs/task.yml @@ -7,7 +7,7 @@ image_resource: type: registry-image source: repository: golang - tag: '1.25.0' + tag: '1.25.1' inputs: - name: pinniped-ci - name: github-final-release