From 50fe836d114c9ee49b1b619f719dafa1945c2078 Mon Sep 17 00:00:00 2001 From: Alexander Hebel Date: Mon, 11 Nov 2024 16:10:11 +0100 Subject: [PATCH 1/2] Update golang versions --- .test-defs/apply-flow-aws.yaml | 2 +- .test-defs/bastion-test.yaml | 2 +- .test-defs/dnsrecord-test.yaml | 2 +- .test-defs/infrastructure-test.yaml | 2 +- .test-defs/provider-aws.yaml | 2 +- Dockerfile | 2 +- go.mod | 3 ++- 7 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.test-defs/apply-flow-aws.yaml b/.test-defs/apply-flow-aws.yaml index 2ae0fffcf..2c83b1172 100644 --- a/.test-defs/apply-flow-aws.yaml +++ b/.test-defs/apply-flow-aws.yaml @@ -16,4 +16,4 @@ spec: --shoot-name=$SHOOT_NAME --project-namespace=$PROJECT_NAMESPACE --kubecfg="$TM_KUBECONFIG_PATH/gardener.config" - image: golang:1.23.3 + image: golang:1.23 diff --git a/.test-defs/bastion-test.yaml b/.test-defs/bastion-test.yaml index 678fa8a9a..398f55a11 100644 --- a/.test-defs/bastion-test.yaml +++ b/.test-defs/bastion-test.yaml @@ -16,4 +16,4 @@ spec: --secret-access-key=$SECRET_ACCESS_KEY --region=$REGION - image: golang:1.23.3 + image: golang:1.23 diff --git a/.test-defs/dnsrecord-test.yaml b/.test-defs/dnsrecord-test.yaml index a9c2d3461..caadf6a66 100644 --- a/.test-defs/dnsrecord-test.yaml +++ b/.test-defs/dnsrecord-test.yaml @@ -15,4 +15,4 @@ spec: --access-key-id=$DNS_ACCESS_KEY_ID --secret-access-key=$DNS_SECRET_ACCESS_KEY - image: golang:1.23.3 + image: golang:1.23 diff --git a/.test-defs/infrastructure-test.yaml b/.test-defs/infrastructure-test.yaml index 772703877..bbe79d861 100644 --- a/.test-defs/infrastructure-test.yaml +++ b/.test-defs/infrastructure-test.yaml @@ -17,4 +17,4 @@ spec: --region=$REGION --reconciler="${RECONCILER}" - image: golang:1.23.3 + image: golang:1.23 diff --git a/.test-defs/provider-aws.yaml b/.test-defs/provider-aws.yaml index 4d0ae983b..a5178a781 100644 --- a/.test-defs/provider-aws.yaml +++ b/.test-defs/provider-aws.yaml @@ -18,4 +18,4 @@ spec: --network-worker-cidr=$NETWORK_WORKER_CIDR --zone=$ZONE - image: golang:1.23.3 + image: golang:1.23 diff --git a/Dockerfile b/Dockerfile index 40b76536d..5655d828a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ ############# builder -FROM golang:1.23.3 AS builder +FROM golang:1.23 AS builder WORKDIR /go/src/github.com/gardener/gardener-extension-provider-aws diff --git a/go.mod b/go.mod index cdb4fcfac..7d221b911 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,7 @@ module github.com/gardener/gardener-extension-provider-aws -go 1.23.3 +// minimum version of Go required +go 1.23.0 require ( github.com/Masterminds/semver/v3 v3.3.0 From e696a669684f307705450514257cd40caae7d0fe Mon Sep 17 00:00:00 2001 From: Alexander Hebel Date: Mon, 11 Nov 2024 17:06:19 +0100 Subject: [PATCH 2/2] Specific go version in Dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 5655d828a..40b76536d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ ############# builder -FROM golang:1.23 AS builder +FROM golang:1.23.3 AS builder WORKDIR /go/src/github.com/gardener/gardener-extension-provider-aws