From 5e7e580d6dc0ca0d5b48c64e30a8a97f6ec1b727 Mon Sep 17 00:00:00 2001 From: Roo Thorp Date: Thu, 7 Sep 2023 11:17:51 +0100 Subject: [PATCH] Bump Go from 1.20 to 1.21 (#1122) Go 1.21.1 is released with the usual bugfixes for 1.21. --- .github/actions/clean-vpc/go.mod | 2 +- .github/actions/cleanup-pe/go.mod | 2 +- .github/actions/cleanup/go.mod | 2 +- .github/actions/gen-install-scripts/Dockerfile | 2 +- .github/actions/int-test/Dockerfile | 2 +- Dockerfile | 2 +- Dockerfile.post-install | 2 +- go.mod | 2 +- test/app/Dockerfile | 2 +- test/app/go.mod | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/actions/clean-vpc/go.mod b/.github/actions/clean-vpc/go.mod index c3a6fcc95e..9e878de6c8 100644 --- a/.github/actions/clean-vpc/go.mod +++ b/.github/actions/clean-vpc/go.mod @@ -1,6 +1,6 @@ module actions/cleanup-vpc -go 1.20 +go 1.21 require ( github.com/Azure/azure-sdk-for-go v68.0.0+incompatible diff --git a/.github/actions/cleanup-pe/go.mod b/.github/actions/cleanup-pe/go.mod index 12824d9030..4f1131df6e 100644 --- a/.github/actions/cleanup-pe/go.mod +++ b/.github/actions/cleanup-pe/go.mod @@ -1,6 +1,6 @@ module actions/cleanup-pe -go 1.20 +go 1.21 require ( github.com/Azure/azure-sdk-for-go v68.0.0+incompatible diff --git a/.github/actions/cleanup/go.mod b/.github/actions/cleanup/go.mod index 70058fe35c..26724bb39e 100644 --- a/.github/actions/cleanup/go.mod +++ b/.github/actions/cleanup/go.mod @@ -1,6 +1,6 @@ module actions/cleanup -go 1.20 +go 1.21 require ( github.com/mongodb-forks/digest v1.0.4 diff --git a/.github/actions/gen-install-scripts/Dockerfile b/.github/actions/gen-install-scripts/Dockerfile index b28a9f59a9..d3a91db09d 100644 --- a/.github/actions/gen-install-scripts/Dockerfile +++ b/.github/actions/gen-install-scripts/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.20 +FROM golang:1.21 ENV KUBECTL_VERSION 1.18.12 ENV GO111MODULE on diff --git a/.github/actions/int-test/Dockerfile b/.github/actions/int-test/Dockerfile index 41c73fed54..433eca330f 100644 --- a/.github/actions/int-test/Dockerfile +++ b/.github/actions/int-test/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.20 +FROM golang:1.21 ENV GO111MODULE=on diff --git a/Dockerfile b/Dockerfile index 0a73a25660..ac8c4618fe 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Build the manager binary -FROM golang:1.20 as builder +FROM golang:1.21 as builder WORKDIR /workspace # Copy the Go Modules manifests diff --git a/Dockerfile.post-install b/Dockerfile.post-install index aecfd39ee3..519afc9724 100644 --- a/Dockerfile.post-install +++ b/Dockerfile.post-install @@ -1,5 +1,5 @@ # Build the manager binary -FROM golang:1.20 as builder +FROM golang:1.21 as builder ENV CGO_ENABLED=0 ENV GOOS=linux diff --git a/go.mod b/go.mod index 7995e5e2d3..88d3ad0b15 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/mongodb/mongodb-atlas-kubernetes -go 1.20 +go 1.21 require ( cloud.google.com/go/kms v1.15.1 diff --git a/test/app/Dockerfile b/test/app/Dockerfile index 20b11ccf11..5205865839 100644 --- a/test/app/Dockerfile +++ b/test/app/Dockerfile @@ -1,7 +1,7 @@ # Please push to quay.io/mongodb/mongodb-atlas-kubernetes-operator-test-app:v1 # Build the manager binary -FROM golang:1.20 as builder +FROM golang:1.21 as builder WORKDIR /workspace # Copy the Go Modules manifests diff --git a/test/app/go.mod b/test/app/go.mod index ec35da9d0b..7b5093a409 100644 --- a/test/app/go.mod +++ b/test/app/go.mod @@ -1,6 +1,6 @@ module github.com/mongodb/mongodb-atlas-kubernetes/test/app -go 1.20 +go 1.21 require ( github.com/gorilla/mux v1.8.0