From 23bb58ee0a27b3e26de2c34dacd5c477549716c5 Mon Sep 17 00:00:00 2001 From: codebot-robot Date: Fri, 8 Nov 2024 13:56:15 +0000 Subject: [PATCH] codebot: update go to 1.23.3 --- build/builder/Dockerfile | 2 +- build/tooling/Dockerfile | 2 +- dev/tools/controllerbuilder/go.mod | 2 +- experiments/composite/go.mod | 2 +- experiments/compositions/composition/Dockerfile | 2 +- .../compositions/composition/Dockerfile.getter.expander | 2 +- experiments/compositions/composition/Dockerfile.inline | 2 +- .../compositions/composition/Dockerfile.jinja2.expander | 2 +- experiments/compositions/composition/go.mod | 2 +- experiments/compositions/expanders/cel-expander/Dockerfile | 4 ++-- experiments/compositions/expanders/cel-expander/go.mod | 2 +- experiments/compositions/expanders/helm-expander/Dockerfile | 4 ++-- experiments/compositions/expanders/helm-expander/go.mod | 2 +- experiments/compositions/facade/Dockerfile | 2 +- experiments/compositions/facade/go.mod | 2 +- experiments/kompanion/go.mod | 2 +- experiments/kubectl-plan/go.mod | 2 +- go.mod | 2 +- mockgcp/go.mod | 2 +- mockgcp/tools/patch-proto/go.mod | 2 +- operator/Dockerfile | 2 +- scripts/environment-setup/golang-setup.sh | 2 +- 22 files changed, 24 insertions(+), 24 deletions(-) diff --git a/build/builder/Dockerfile b/build/builder/Dockerfile index e767eb99be..8c252b13ad 100644 --- a/build/builder/Dockerfile +++ b/build/builder/Dockerfile @@ -14,7 +14,7 @@ # This Dockerfile builds an image containing builds of all the binaries built # from source (manager, webhook, etc.) -FROM golang:1.23.2 AS builder +FROM golang:1.23.3 AS builder # Copy in the Go source code WORKDIR /go/src/github.com/GoogleCloudPlatform/k8s-config-connector diff --git a/build/tooling/Dockerfile b/build/tooling/Dockerfile index d4aec0af36..cf9a823318 100644 --- a/build/tooling/Dockerfile +++ b/build/tooling/Dockerfile @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -FROM golang:1.23.2 AS builder +FROM golang:1.23.3 AS builder RUN GO111MODULE=on go install sigs.k8s.io/controller-tools/cmd/controller-gen@v0.15.0 diff --git a/dev/tools/controllerbuilder/go.mod b/dev/tools/controllerbuilder/go.mod index bf8153b62a..9b92c489ea 100644 --- a/dev/tools/controllerbuilder/go.mod +++ b/dev/tools/controllerbuilder/go.mod @@ -2,7 +2,7 @@ module github.com/GoogleCloudPlatform/k8s-config-connector/dev/tools/controllerb go 1.22.0 -toolchain go1.23.2 +toolchain go1.23.3 require ( github.com/fatih/color v1.17.0 diff --git a/experiments/composite/go.mod b/experiments/composite/go.mod index 4ff0645276..787ac1165a 100644 --- a/experiments/composite/go.mod +++ b/experiments/composite/go.mod @@ -2,4 +2,4 @@ module github.com/GoogleCloudPlatform/k8s-config-connector/experiments/composite go 1.22 -toolchain go1.23.2 +toolchain go1.23.3 diff --git a/experiments/compositions/composition/Dockerfile b/experiments/compositions/composition/Dockerfile index b44f19260b..461d36ebb0 100644 --- a/experiments/compositions/composition/Dockerfile +++ b/experiments/compositions/composition/Dockerfile @@ -13,7 +13,7 @@ # limitations under the License. # Build the manager binary -FROM golang:1.23.2 as builder +FROM golang:1.23.3 as builder ARG TARGETOS ARG TARGETARCH diff --git a/experiments/compositions/composition/Dockerfile.getter.expander b/experiments/compositions/composition/Dockerfile.getter.expander index 499475d9c6..a22b98ab42 100644 --- a/experiments/compositions/composition/Dockerfile.getter.expander +++ b/experiments/compositions/composition/Dockerfile.getter.expander @@ -17,7 +17,7 @@ # ----------------- Build Container --------------------------- # Build the go app. # Explicitly set to latest vs golang:1.22 -FROM golang:1.23.2 AS build-stage +FROM golang:1.23.3 AS build-stage # Set destination for COPY WORKDIR /go/src/app diff --git a/experiments/compositions/composition/Dockerfile.inline b/experiments/compositions/composition/Dockerfile.inline index 4a49deccaf..baa4577af2 100644 --- a/experiments/compositions/composition/Dockerfile.inline +++ b/experiments/compositions/composition/Dockerfile.inline @@ -2,7 +2,7 @@ # ----------------- Build Container --------------------------- # Build the go app. -FROM golang:1.23.2 AS build-stage +FROM golang:1.23.3 AS build-stage # Set destination for COPY WORKDIR /go/src/app diff --git a/experiments/compositions/composition/Dockerfile.jinja2.expander b/experiments/compositions/composition/Dockerfile.jinja2.expander index 2a20761ddc..a48e99beef 100644 --- a/experiments/compositions/composition/Dockerfile.jinja2.expander +++ b/experiments/compositions/composition/Dockerfile.jinja2.expander @@ -17,7 +17,7 @@ # ----------------- Build Container --------------------------- # Build the go app. # Explicitly set to latest vs golang:1.22 -FROM golang:1.23.2 AS build-stage +FROM golang:1.23.3 AS build-stage # Set destination for COPY WORKDIR /go/src/app diff --git a/experiments/compositions/composition/go.mod b/experiments/compositions/composition/go.mod index fbd64cefc3..d40cfe959a 100644 --- a/experiments/compositions/composition/go.mod +++ b/experiments/compositions/composition/go.mod @@ -2,7 +2,7 @@ module github.com/GoogleCloudPlatform/k8s-config-connector/experiments/compositi go 1.22.0 -toolchain go1.23.2 +toolchain go1.23.3 require ( github.com/Masterminds/semver/v3 v3.2.1 diff --git a/experiments/compositions/expanders/cel-expander/Dockerfile b/experiments/compositions/expanders/cel-expander/Dockerfile index 673903c7dc..d9a1b67464 100644 --- a/experiments/compositions/expanders/cel-expander/Dockerfile +++ b/experiments/compositions/expanders/cel-expander/Dockerfile @@ -18,7 +18,7 @@ # ----------------- Build Container --------------------------- # Build the go app. # Explicitly set to latest vs golang:1.22 -FROM golang:1.23.2 AS build-stage +FROM golang:1.23.3 AS build-stage # Set destination for COPY WORKDIR /go/src/app @@ -32,7 +32,7 @@ RUN go mod download RUN CGO_ENABLED=0 GOOS=linux go build -v -o expander main.go -FROM golang:1.23.2 as bins +FROM golang:1.23.3 as bins WORKDIR /workspace diff --git a/experiments/compositions/expanders/cel-expander/go.mod b/experiments/compositions/expanders/cel-expander/go.mod index ccabca4e55..c790ddc7a0 100644 --- a/experiments/compositions/expanders/cel-expander/go.mod +++ b/experiments/compositions/expanders/cel-expander/go.mod @@ -2,7 +2,7 @@ module github.com/GoogleCloudPlatform/k8s-config-connector/experiments/compositi go 1.22.4 -toolchain go1.23.2 +toolchain go1.23.3 require ( github.com/GoogleCloudPlatform/k8s-config-connector/experiments/compositions/composition v0.0.0-20240701212443-eb03df209286 diff --git a/experiments/compositions/expanders/helm-expander/Dockerfile b/experiments/compositions/expanders/helm-expander/Dockerfile index 7402b243ce..43cf900acc 100644 --- a/experiments/compositions/expanders/helm-expander/Dockerfile +++ b/experiments/compositions/expanders/helm-expander/Dockerfile @@ -18,7 +18,7 @@ # ----------------- Build Container --------------------------- # Build the go app. # Explicitly set to latest vs golang:1.22 -FROM golang:1.23.2 AS build-stage +FROM golang:1.23.3 AS build-stage # Set destination for COPY WORKDIR /go/src/app @@ -32,7 +32,7 @@ RUN go mod download RUN CGO_ENABLED=0 GOOS=linux go build -v -o expander main.go -FROM golang:1.23.2 as bins +FROM golang:1.23.3 as bins WORKDIR /workspace diff --git a/experiments/compositions/expanders/helm-expander/go.mod b/experiments/compositions/expanders/helm-expander/go.mod index a1f9bcbd2c..e4a5b3ce77 100644 --- a/experiments/compositions/expanders/helm-expander/go.mod +++ b/experiments/compositions/expanders/helm-expander/go.mod @@ -2,7 +2,7 @@ module github.com/GoogleCloudPlatform/k8s-config-connector/experiments/compositi go 1.22.4 -toolchain go1.23.2 +toolchain go1.23.3 require ( github.com/GoogleCloudPlatform/k8s-config-connector/experiments/compositions/composition v0.0.0-20240701212443-eb03df209286 diff --git a/experiments/compositions/facade/Dockerfile b/experiments/compositions/facade/Dockerfile index 2f3103eba5..bc558a22e8 100644 --- a/experiments/compositions/facade/Dockerfile +++ b/experiments/compositions/facade/Dockerfile @@ -13,7 +13,7 @@ # limitations under the License. # Build the manager binary -FROM golang:1.23.2 as builder +FROM golang:1.23.3 as builder ARG TARGETOS ARG TARGETARCH diff --git a/experiments/compositions/facade/go.mod b/experiments/compositions/facade/go.mod index f0d896e1ed..99d7e65104 100644 --- a/experiments/compositions/facade/go.mod +++ b/experiments/compositions/facade/go.mod @@ -2,7 +2,7 @@ module facade go 1.22 -toolchain go1.23.2 +toolchain go1.23.3 require ( k8s.io/apimachinery v0.28.3 diff --git a/experiments/kompanion/go.mod b/experiments/kompanion/go.mod index 56b3195dbf..f0d37b4bdb 100644 --- a/experiments/kompanion/go.mod +++ b/experiments/kompanion/go.mod @@ -2,7 +2,7 @@ module github.com/GoogleCloudPlatform/k8s-config-connector/experiments/kompanion go 1.22 -toolchain go1.23.2 +toolchain go1.23.3 require ( github.com/spf13/cobra v1.8.0 diff --git a/experiments/kubectl-plan/go.mod b/experiments/kubectl-plan/go.mod index a810da827c..d86fb8d977 100644 --- a/experiments/kubectl-plan/go.mod +++ b/experiments/kubectl-plan/go.mod @@ -2,7 +2,7 @@ module github.com/GoogleCloudPlatform/k8s-config-connector/experiments/kubectl-p go 1.22 -toolchain go1.23.2 +toolchain go1.23.3 require ( github.com/google/go-cmp v0.6.0 diff --git a/go.mod b/go.mod index db15dbd7f7..1a2a646ef2 100644 --- a/go.mod +++ b/go.mod @@ -2,7 +2,7 @@ module github.com/GoogleCloudPlatform/k8s-config-connector go 1.22 -toolchain go1.23.2 +toolchain go1.23.3 replace github.com/GoogleCloudPlatform/k8s-config-connector/mockgcp => ./mockgcp diff --git a/mockgcp/go.mod b/mockgcp/go.mod index 8cea58672b..e642fa0e32 100644 --- a/mockgcp/go.mod +++ b/mockgcp/go.mod @@ -2,7 +2,7 @@ module github.com/GoogleCloudPlatform/k8s-config-connector/mockgcp go 1.22 -toolchain go1.23.2 +toolchain go1.23.3 require ( cloud.google.com/go/compute v1.28.1 diff --git a/mockgcp/tools/patch-proto/go.mod b/mockgcp/tools/patch-proto/go.mod index 72b9654590..6286ac6c56 100644 --- a/mockgcp/tools/patch-proto/go.mod +++ b/mockgcp/tools/patch-proto/go.mod @@ -2,7 +2,7 @@ module github.com/GoogleCloudPlatform/k8s-config-connector/mockgcp/tools/patch-p go 1.22.5 -toolchain go1.23.2 +toolchain go1.23.3 require ( github.com/smacker/go-tree-sitter v0.0.0-20240625050157-a31a98a7c0f6 diff --git a/operator/Dockerfile b/operator/Dockerfile index b7dec68c54..47e98c5eb9 100644 --- a/operator/Dockerfile +++ b/operator/Dockerfile @@ -15,7 +15,7 @@ # This Dockefile builds a thin image containing the manager binary # Build the manager binary -FROM golang:1.23.2 AS builder +FROM golang:1.23.3 AS builder # Copy in the Go source code WORKDIR /go/src/github.com/GoogleCloudPlatform/k8s-config-connector diff --git a/scripts/environment-setup/golang-setup.sh b/scripts/environment-setup/golang-setup.sh index a31cc990d9..63d39c6ff3 100755 --- a/scripts/environment-setup/golang-setup.sh +++ b/scripts/environment-setup/golang-setup.sh @@ -17,7 +17,7 @@ set -o errexit # Automatically updated by dev/codebots/update-golang-version -GO_VERSION="1.23.2" +GO_VERSION="1.23.3" sudo apt-get install wget wget https://go.dev/dl/go${GO_VERSION}.linux-amd64.tar.gz