build go1.21 images with base debian bookworm#3212
build go1.21 images with base debian bookworm#3212k8s-ci-robot merged 1 commit intokubernetes:masterfrom
Conversation
Signed-off-by: cpanato <ctadeu@gmail.com>
|
/test pull-release-image-kubepkg |
|
/test pull-release-image-releng-ci |
|
/test pull-release-image-go-runner |
|
/test pull-release-image-k8s-ci-builder |
|
/test pull-release-image-kube-cross |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cpanato, saschagrunert The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/unhold |
|
/test pull-release-image-kubepkg |
|
/test pull-release-image-kubepkg |
|
/test pull-release-image-go-runner |
|
/test pull-release-image-k8s-ci-builder |
|
/test pull-release-image-releng-ci |
|
/test pull-release-image-kube-cross |
1 similar comment
|
/test pull-release-image-kube-cross |
set CGO_ENABLED=0, so that static binaries are generated for the various publishing-bot components. This is needed because, when the build image `gcr.io/k8s-staging-releng/k8s-ci-builder:latest-default` was upgraded from bullseye to bookworm (kubernetes/release#3212), glibc version incompatibility occurred between the build machine and the prod cluster, preventing the bot from starting up. Signed-off-by: Akhil Mohan <akhilerm@gmail.com>
- set CGO_ENABLED=0, so that static binaries are generated for the various publishing-bot components. This is needed because, when the build image `gcr.io/k8s-staging-releng/k8s-ci-builder:latest-default` was upgraded from bullseye to bookworm (kubernetes/release#3212), glibc version incompatibility occurred between the build machine and the prod cluster, preventing the bot from starting up. - remove GO111MODULE=on, since in the latest versions of go that is used for building the bot, go modules are used by default. Signed-off-by: Akhil Mohan <akhilerm@gmail.com>
What type of PR is this?
/kind feature
What this PR does / why we need it:
/hold
/assign @saschagrunert @ameukam @Verolop @palnabarun
cc @kubernetes/release-managers @liggitt
Which issue(s) this PR fixes:
Related to #3076
Special notes for your reviewer:
Does this PR introduce a user-facing change?