From 15efa889330ef5df0c721bd0be0544634b366811 Mon Sep 17 00:00:00 2001 From: Ryan Richard Date: Thu, 7 Nov 2024 11:42:57 -0800 Subject: [PATCH] upgrade Go in CI from 1.23.2 to 1.23.3 --- dockerfiles/code-coverage-uploader/Dockerfile | 2 +- dockerfiles/gh-cli/Dockerfile | 2 +- dockerfiles/integration-test-runner-beta/Dockerfile | 2 +- dockerfiles/integration-test-runner/Dockerfile | 2 +- pipelines/dockerfile-builders/pipeline.yml | 2 +- pipelines/pull-requests/pipeline.yml | 2 +- pipelines/shared-helpers/test-binaries-image/Dockerfile | 2 +- pipelines/shared-helpers/test-binaries-image/Dockerfile_fips | 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/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 +- 17 files changed, 17 insertions(+), 17 deletions(-) diff --git a/dockerfiles/code-coverage-uploader/Dockerfile b/dockerfiles/code-coverage-uploader/Dockerfile index af36f9cc3..ba4805720 100644 --- a/dockerfiles/code-coverage-uploader/Dockerfile +++ b/dockerfiles/code-coverage-uploader/Dockerfile @@ -9,6 +9,6 @@ RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/* RUN curl -sfLo /tmp/codecov https://uploader.codecov.io/latest/linux/codecov RUN chmod +x /tmp/codecov -FROM golang:1.23.2 +FROM golang:1.23.3 RUN apt-get update -y && apt-get dist-upgrade -y COPY --from=builder /tmp/codecov /usr/local/bin/codecov diff --git a/dockerfiles/gh-cli/Dockerfile b/dockerfiles/gh-cli/Dockerfile index 9e75310b0..38aacddcf 100644 --- a/dockerfiles/gh-cli/Dockerfile +++ b/dockerfiles/gh-cli/Dockerfile @@ -11,5 +11,5 @@ RUN curl \ https://github.com/cli/cli/releases/download/v2.40.0/gh_2.40.0_linux_amd64.tar.gz \ && tar -C /tmp --strip-components=1 -xzvf /tmp/gh.tar.gz -FROM golang:1.23.2 +FROM golang:1.23.3 COPY --from=builder /tmp/bin/gh /usr/local/bin/gh diff --git a/dockerfiles/integration-test-runner-beta/Dockerfile b/dockerfiles/integration-test-runner-beta/Dockerfile index 4efac3ae0..2a0bc705e 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.23.2.linux-amd64.tar.gz -o /tmp/go.tar.gz && \ +RUN curl -fsSL https://go.dev/dl/go1.23.3.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 3b783c7d5..0e344ec8f 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.23.2.linux-amd64.tar.gz -o /tmp/go.tar.gz && \ +RUN curl -fsSL https://go.dev/dl/go1.23.3.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/pipelines/dockerfile-builders/pipeline.yml b/pipelines/dockerfile-builders/pipeline.yml index 3a3542239..c753f8f17 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.23.2' + BUILD_ARG_GO_VERSION: '1.23.3' # 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.16.5 diff --git a/pipelines/pull-requests/pipeline.yml b/pipelines/pull-requests/pipeline.yml index 25d4e556e..4401b4619 100644 --- a/pipelines/pull-requests/pipeline.yml +++ b/pipelines/pull-requests/pipeline.yml @@ -557,7 +557,7 @@ jobs: type: registry-image source: repository: golang - tag: '1.23.2' + tag: '1.23.3' inputs: - name: pinniped-pr outputs: diff --git a/pipelines/shared-helpers/test-binaries-image/Dockerfile b/pipelines/shared-helpers/test-binaries-image/Dockerfile index 4a8eba7cf..764216787 100644 --- a/pipelines/shared-helpers/test-binaries-image/Dockerfile +++ b/pipelines/shared-helpers/test-binaries-image/Dockerfile @@ -8,7 +8,7 @@ # test binaries built by this dockerfile are run in a container built by dockerfiles/integration-test-runner/Dockerfile # which uses google/cloud-sdk as the base image. Mismatching debian versions causes the pinniped-integration-test # built below to error upon execution complaining that the expected version of GLIBC is not found. -FROM golang:1.23.2-bullseye as build-env +FROM golang:1.23.3-bullseye as build-env WORKDIR /work COPY . . ARG GOPROXY diff --git a/pipelines/shared-helpers/test-binaries-image/Dockerfile_fips b/pipelines/shared-helpers/test-binaries-image/Dockerfile_fips index 22df105f7..400f8b14c 100644 --- a/pipelines/shared-helpers/test-binaries-image/Dockerfile_fips +++ b/pipelines/shared-helpers/test-binaries-image/Dockerfile_fips @@ -10,7 +10,7 @@ # test binaries built by this dockerfile are run in a container built by dockerfiles/integration-test-runner/Dockerfile # which uses google/cloud-sdk as the base image. Mismatching debian versions causes the pinniped-integration-test # built below to error upon execution complaining that the expected version of GLIBC is not found. -FROM golang:1.23.2-bullseye as build-env +FROM golang:1.23.3-bullseye as build-env WORKDIR /work COPY . . ARG GOPROXY diff --git a/pipelines/shared-tasks/build-cli-binaries/task.yml b/pipelines/shared-tasks/build-cli-binaries/task.yml index 46b83f92e..88c87fb17 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.23.2' + tag: '1.23.3' 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 f71aea81e..43f7789c7 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.23.2' + tag: '1.23.3' 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 3a8f54324..9f82f72e8 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.23.2' + tag: '1.23.3' 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/run-go-vuln-scan/task.yml b/pipelines/shared-tasks/run-go-vuln-scan/task.yml index 39d05e440..268491f7e 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.23.2' + tag: '1.23.3' 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 201c871e1..a73c0e656 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.23.2' + tag: '1.23.3' 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 1e9303421..bada8c6ca 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.23.2' + tag: '1.23.3' 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 257de3890..c030db4d0 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.23.2' + tag: '1.23.3' 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 378b86ad4..1ca9b9c97 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.23.2' + tag: '1.23.3' 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 70ea25bd7..e86d18213 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.23.2' + tag: '1.23.3' inputs: - name: pinniped-ci - name: github-final-release