Skip to content

Commit

Permalink
codebot: update go to 1.23.2
Browse files Browse the repository at this point in the history
  • Loading branch information
codebot-robot committed Oct 3, 2024
1 parent b5cc2e9 commit 7c6b2a0
Show file tree
Hide file tree
Showing 22 changed files with 24 additions and 24 deletions.
2 changes: 1 addition & 1 deletion build/builder/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

# This Dockerfile builds an image containing builds of all the binaries built
# from source (manager, webhook, etc.)
FROM golang:1.22.6 AS builder
FROM golang:1.23.2 AS builder

# Copy in the Go source code
WORKDIR /go/src/github.com/GoogleCloudPlatform/k8s-config-connector
Expand Down
2 changes: 1 addition & 1 deletion build/tooling/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM golang:1.22.6 AS builder
FROM golang:1.23.2 AS builder

RUN GO111MODULE=on go install sigs.k8s.io/controller-tools/cmd/[email protected]

Expand Down
2 changes: 1 addition & 1 deletion dev/tools/controllerbuilder/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/GoogleCloudPlatform/k8s-config-connector/dev/tools/controllerb

go 1.22.0

toolchain go1.22.6
toolchain go1.23.2

require (
github.com/fatih/color v1.17.0
Expand Down
2 changes: 1 addition & 1 deletion experiments/composite/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ module github.com/GoogleCloudPlatform/k8s-config-connector/experiments/composite

go 1.22

toolchain go1.22.6
toolchain go1.23.2
2 changes: 1 addition & 1 deletion experiments/compositions/composition/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.

# Build the manager binary
FROM golang:1.22.6 as builder
FROM golang:1.23.2 as builder
ARG TARGETOS
ARG TARGETARCH

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# ----------------- Build Container ---------------------------
# Build the go app.
# Explicitly set to latest vs golang:1.22
FROM golang:1.22.6 AS build-stage
FROM golang:1.23.2 AS build-stage

# Set destination for COPY
WORKDIR /go/src/app
Expand Down
2 changes: 1 addition & 1 deletion experiments/compositions/composition/Dockerfile.inline
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# ----------------- Build Container ---------------------------
# Build the go app.
FROM golang:1.22.6 AS build-stage
FROM golang:1.23.2 AS build-stage

# Set destination for COPY
WORKDIR /go/src/app
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# ----------------- Build Container ---------------------------
# Build the go app.
# Explicitly set to latest vs golang:1.22
FROM golang:1.22.6 AS build-stage
FROM golang:1.23.2 AS build-stage

# Set destination for COPY
WORKDIR /go/src/app
Expand Down
2 changes: 1 addition & 1 deletion experiments/compositions/composition/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/GoogleCloudPlatform/k8s-config-connector/experiments/compositi

go 1.22.0

toolchain go1.22.6
toolchain go1.23.2

require (
github.com/Masterminds/semver/v3 v3.2.1
Expand Down
4 changes: 2 additions & 2 deletions experiments/compositions/expanders/cel-expander/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# ----------------- Build Container ---------------------------
# Build the go app.
# Explicitly set to latest vs golang:1.22
FROM golang:1.22.6 AS build-stage
FROM golang:1.23.2 AS build-stage

# Set destination for COPY
WORKDIR /go/src/app
Expand All @@ -32,7 +32,7 @@ RUN go mod download
RUN CGO_ENABLED=0 GOOS=linux go build -v -o expander main.go


FROM golang:1.22.6 as bins
FROM golang:1.23.2 as bins

WORKDIR /workspace

Expand Down
2 changes: 1 addition & 1 deletion experiments/compositions/expanders/cel-expander/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/GoogleCloudPlatform/k8s-config-connector/experiments/compositi

go 1.22.4

toolchain go1.22.6
toolchain go1.23.2

require (
github.com/GoogleCloudPlatform/k8s-config-connector/experiments/compositions/composition v0.0.0-20240701212443-eb03df209286
Expand Down
4 changes: 2 additions & 2 deletions experiments/compositions/expanders/helm-expander/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# ----------------- Build Container ---------------------------
# Build the go app.
# Explicitly set to latest vs golang:1.22
FROM golang:1.22.6 AS build-stage
FROM golang:1.23.2 AS build-stage

# Set destination for COPY
WORKDIR /go/src/app
Expand All @@ -32,7 +32,7 @@ RUN go mod download
RUN CGO_ENABLED=0 GOOS=linux go build -v -o expander main.go


FROM golang:1.22.6 as bins
FROM golang:1.23.2 as bins

WORKDIR /workspace

Expand Down
2 changes: 1 addition & 1 deletion experiments/compositions/expanders/helm-expander/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/GoogleCloudPlatform/k8s-config-connector/experiments/compositi

go 1.22.4

toolchain go1.22.6
toolchain go1.23.2

require (
github.com/GoogleCloudPlatform/k8s-config-connector/experiments/compositions/composition v0.0.0-20240701212443-eb03df209286
Expand Down
2 changes: 1 addition & 1 deletion experiments/compositions/facade/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.

# Build the manager binary
FROM golang:1.22.6 as builder
FROM golang:1.23.2 as builder
ARG TARGETOS
ARG TARGETARCH

Expand Down
2 changes: 1 addition & 1 deletion experiments/compositions/facade/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module facade

go 1.22

toolchain go1.22.6
toolchain go1.23.2

require (
k8s.io/apimachinery v0.28.3
Expand Down
2 changes: 1 addition & 1 deletion experiments/kompanion/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/GoogleCloudPlatform/k8s-config-connector/experiments/kompanion

go 1.22

toolchain go1.22.6
toolchain go1.23.2

require (
github.com/spf13/cobra v1.8.0
Expand Down
2 changes: 1 addition & 1 deletion experiments/kubectl-plan/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/GoogleCloudPlatform/k8s-config-connector/experiments/kubectl-p

go 1.22

toolchain go1.22.5
toolchain go1.23.2

require (
github.com/google/go-cmp v0.6.0
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/GoogleCloudPlatform/k8s-config-connector

go 1.22

toolchain go1.22.6
toolchain go1.23.2

replace github.com/GoogleCloudPlatform/k8s-config-connector/mockgcp => ./mockgcp

Expand Down
2 changes: 1 addition & 1 deletion mockgcp/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/GoogleCloudPlatform/k8s-config-connector/mockgcp

go 1.22

toolchain go1.22.6
toolchain go1.23.2

require (
cloud.google.com/go/compute v1.28.0
Expand Down
2 changes: 1 addition & 1 deletion mockgcp/tools/patch-proto/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/GoogleCloudPlatform/k8s-config-connector/mockgcp/tools/patch-p

go 1.22.5

toolchain go1.22.6
toolchain go1.23.2

require (
github.com/smacker/go-tree-sitter v0.0.0-20240625050157-a31a98a7c0f6
Expand Down
2 changes: 1 addition & 1 deletion operator/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# This Dockefile builds a thin image containing the manager binary

# Build the manager binary
FROM golang:1.22.6 AS builder
FROM golang:1.23.2 AS builder

# Copy in the Go source code
WORKDIR /go/src/github.com/GoogleCloudPlatform/k8s-config-connector
Expand Down
2 changes: 1 addition & 1 deletion scripts/environment-setup/golang-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
set -o errexit

# Automatically updated by dev/codebots/update-golang-version
GO_VERSION="1.22.6"
GO_VERSION="1.23.2"

sudo apt-get install wget
wget https://go.dev/dl/go${GO_VERSION}.linux-amd64.tar.gz
Expand Down

0 comments on commit 7c6b2a0

Please sign in to comment.