Skip to content

Bump k8s utility and library to v1.31 release #622

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 3, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions images/calico-go-build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ ARG TARGETARCH

ARG CONTAINERREGISTRY_VERSION=v0.20.2
ARG CONTROLLER_TOOLS_VERSION=v0.16.5
ARG GO_LINT_VERSION=v1.61.0
ARG MOCKERY_VERSION=2.46.3
ARG YQ_VERSION=v4.44.5
ARG GO_LINT_VERSION=v1.63.4
ARG MOCKERY_VERSION=2.50.4
ARG YQ_VERSION=v4.44.6

ENV PATH=/usr/local/go/bin:$PATH

Expand Down Expand Up @@ -168,25 +168,25 @@ RUN set -eux; \
# Install ginkgo v2 as ginkgo2 and keep ginkgo v1 as ginkgo
RUN set -eux; \
k8s_libs_version=$(yq -r .kubernetes.version /etc/versions.yaml | sed 's/^1/0/'); \
go install github.com/onsi/ginkgo/v2/ginkgo@v2.20.2 && mv /go/bin/ginkgo /go/bin/ginkgo2 && \
go install github.com/onsi/ginkgo/v2/ginkgo@v2.22.2 && mv /go/bin/ginkgo /go/bin/ginkgo2 && \
go install github.com/onsi/ginkgo/ginkgo@v1.16.5 && \
go install github.com/jstemmer/go-junit-report@v1.0.0 && \
go install github.com/mikefarah/yq/v3@3.4.1 && \
go install github.com/pmezard/licenses@v0.0.0-20160314180953-1117911df3df && \
go install github.com/swaggo/swag/cmd/swag@v1.16.3 && \
go install github.com/swaggo/swag/cmd/swag@v1.16.4 && \
go install github.com/wadey/gocovmerge@v0.0.0-20160331181800-b5bfa59ec0ad && \
go install golang.org/x/tools/cmd/goimports@v0.25.0 && \
go install golang.org/x/tools/cmd/stringer@v0.25.0 && \
go install golang.org/x/tools/cmd/goimports@v0.28.0 && \
go install golang.org/x/tools/cmd/stringer@v0.28.0 && \
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.5.1 && \
go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.34.2 && \
go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.36.1 && \
go install gotest.tools/gotestsum@v1.12.0 && \
go install k8s.io/code-generator/cmd/client-gen@v${k8s_libs_version} && \
go install k8s.io/code-generator/cmd/conversion-gen@v${k8s_libs_version} && \
go install k8s.io/code-generator/cmd/deepcopy-gen@v${k8s_libs_version} && \
go install k8s.io/code-generator/cmd/defaulter-gen@v${k8s_libs_version} && \
go install k8s.io/code-generator/cmd/informer-gen@v${k8s_libs_version} && \
go install k8s.io/code-generator/cmd/lister-gen@v${k8s_libs_version} && \
go install k8s.io/kube-openapi/cmd/openapi-gen@v0.0.0-20241009091222-67ed5848f094 && \
go install k8s.io/kube-openapi/cmd/openapi-gen@v0.0.0-20241212222426-2c72e554b1e7 && \
go install mvdan.cc/gofumpt@v0.7.0

# Cleanup module cache after we have built and installed all Go utilities
Expand Down
2 changes: 1 addition & 1 deletion images/calico-go-build/versions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ golang:
ppc64le: 65a303ef51e48ff77e004a6a5b4db6ce59495cd59c6af51b54bf4f786c01a1b9
s390x: 74aab82bf4eca7c26c830a5b0e2a31d193a4d5ba47045526b92473cc7188d7d7
kubernetes:
version: 1.30.8
version: 1.31.4
llvm:
version: 18.1.8
Loading