Skip to content

Commit

Permalink
Upgrade golang to 1.22.2 for v2.25 release branch (#6650)
Browse files Browse the repository at this point in the history
Signed-off-by: Akash Gautam <gautamakash04@gmail.com>
  • Loading branch information
akash-gautam committed Apr 15, 2024
1 parent 4b3c0d7 commit b974b1b
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 19 deletions.
8 changes: 4 additions & 4 deletions .prow/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ presubmits:
preset-goproxy: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.22-node-18-kind-0.22-5
- image: quay.io/kubermatic/build:go-1.22-node-20-kind-0.22-3
command:
- "./hack/ci/run-api-e2e.sh"
env:
Expand Down Expand Up @@ -60,7 +60,7 @@ presubmits:
preset-goproxy: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.22-node-18-5
- image: quay.io/kubermatic/build:go-1.22-node-20-3
command:
- make
args:
Expand All @@ -81,7 +81,7 @@ presubmits:
preset-goproxy: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.22-node-18-5
- image: quay.io/kubermatic/build:go-1.22-node-20-3
command:
- make
- api-lint
Expand All @@ -101,7 +101,7 @@ presubmits:
preset-goproxy: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.22-node-18-5
- image: quay.io/kubermatic/build:go-1.22-node-20-3
command:
- make
- api-verify
Expand Down
2 changes: 1 addition & 1 deletion .prow/common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ presubmits:
preset-goproxy: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.22-node-18-kind-0.22-5
- image: quay.io/kubermatic/build:go-1.22-node-20-kind-0.22-3
command:
- ./hack/ci/verify.sh
resources:
Expand Down
6 changes: 3 additions & 3 deletions .prow/frontend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ presubmits:
preset-goproxy: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.22-node-18-kind-0.22-5
- image: quay.io/kubermatic/build:go-1.22-node-20-kind-0.22-3
command:
- make
- web-check-dependencies
Expand All @@ -231,7 +231,7 @@ presubmits:
preset-goproxy: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.22-node-18-5
- image: quay.io/kubermatic/build:go-1.22-node-20-3
command:
- make
- web-lint
Expand All @@ -251,7 +251,7 @@ presubmits:
preset-goproxy: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.22-node-18-kind-0.22-5
- image: quay.io/kubermatic/build:go-1.22-node-20-kind-0.22-3
command:
- make
- web-check
Expand Down
2 changes: 1 addition & 1 deletion hack/verify-spelling.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ set -euo pipefail
cd $(dirname $0)/..
source hack/lib.sh

CONTAINERIZE_IMAGE=quay.io/kubermatic/build:go-1.22-node-18-5 containerize ./hack/verify-spelling.sh
CONTAINERIZE_IMAGE=quay.io/kubermatic/build:go-1.22-node-20-3 containerize ./hack/verify-spelling.sh

echodate "Running codespell..."

Expand Down
10 changes: 5 additions & 5 deletions modules/api/.golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

run:
modules-download-mode: readonly
deadline: 20m
timeout: 20m
build-tags:
- ce
- cloud
Expand All @@ -26,10 +26,6 @@ run:
- ipam
- kubevirt
- logout
skip-files:
# This package was forked from upstream (in #9826)
# and we want to keep it as close to upstream as possible.
- modules/api/pkg/provider/cloud/eks/authenticator

linters:
enable:
Expand Down Expand Up @@ -81,6 +77,10 @@ issues:
- loop variable tc captured by func literal
# TODO (sig-api): fix the following issues
- cfg.EndpointResolverWithOptions is deprecated
exclude-files:
# This package was forked from upstream (in #9826)
# and we want to keep it as close to upstream as possible.
- modules/api/pkg/provider/cloud/eks/authenticator

linters-settings:
depguard:
Expand Down
2 changes: 1 addition & 1 deletion modules/api/hack/gen-api-client.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ source hack/lib.sh

API=modules/api

CONTAINERIZE_IMAGE=golang:1.22.1 containerize ./modules/api/hack/gen-api-client.sh
CONTAINERIZE_IMAGE=golang:1.22.2 containerize ./modules/api/hack/gen-api-client.sh

cd $API/cmd/kubermatic-api/
SWAGGER_FILE="swagger.json"
Expand Down
2 changes: 1 addition & 1 deletion modules/api/hack/update-swagger.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ source hack/lib.sh

API=modules/api

CONTAINERIZE_IMAGE=quay.io/kubermatic/build:go-1.22-node-18-5 containerize ./$API/hack/update-swagger.sh
CONTAINERIZE_IMAGE=quay.io/kubermatic/build:go-1.22-node-20-3 containerize ./$API/hack/update-swagger.sh

echodate "Generating swagger spec"
cd $API/cmd/kubermatic-api/
Expand Down
2 changes: 1 addition & 1 deletion modules/api/hack/verify-licenses.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ source hack/lib.sh

API=modules/api

CONTAINERIZE_IMAGE=quay.io/kubermatic/build:go-1.22-node-18-5 containerize ./$API/hack/verify-licenses.sh
CONTAINERIZE_IMAGE=quay.io/kubermatic/build:go-1.22-node-20-3 containerize ./$API/hack/verify-licenses.sh

cd $API
go mod vendor
Expand Down
2 changes: 1 addition & 1 deletion modules/web/containers/chrome-headless/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 quay.io/kubermatic/build:go-1.22-node-18-kind-0.22-5
FROM quay.io/kubermatic/build:go-1.22-node-20-kind-0.22-3

LABEL maintainer="support@kubermatic.com"

Expand Down
2 changes: 1 addition & 1 deletion modules/web/containers/custom-dashboard/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 quay.io/kubermatic/build:go-1.22-node-18-kind-0.22-5
FROM quay.io/kubermatic/build:go-1.22-node-20-kind-0.22-3
LABEL maintainer="support@kubermatic.com"

ENV NG_CLI_ANALYTICS=ci
Expand Down

0 comments on commit b974b1b

Please sign in to comment.