Skip to content

Conversation

dims
Copy link
Member

@dims dims commented Sep 14, 2025

What type of PR is this?

/kind feature

What this PR does / why we need it:

  • golang: Build 1.25.0 images

As the dockerhub images for golang do not support exactly the versions of debian we use/need, we should just grab the binaries from one of the golang images (picked the alpine image) and use them in the versions of debian we want. See discussions:

We can't just move to newer debian as that has newer glibc which leads to other problems:

/hold
/assign @saschagrunert @ameukam @puerco @MadhavJivrajani
cc @kubernetes/release-managers @liggitt

Which issue(s) this PR fixes:

xref #3957

Special notes for your reviewer:

Does this PR introduce a user-facing change?

golang: Build 1.25.0 images

PS: used @cpanato 's PR #4094 as a starting point.

@k8s-ci-robot k8s-ci-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. do-not-merge/release-note-label-needed Indicates that a PR should not merge because it's missing one of the release note labels. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. area/release-eng Issues or PRs related to the Release Engineering subproject sig/release Categorizes an issue or PR as relevant to SIG Release. needs-kind Indicates a PR lacks a `kind/foo` label and requires one. needs-priority labels Sep 14, 2025
@k8s-ci-robot k8s-ci-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Sep 14, 2025
@dims dims force-pushed the copy-golang-binaries-using-alpine-image branch 6 times, most recently from 11d10d8 to dca886b Compare September 14, 2025 14:57
@k8s-ci-robot k8s-ci-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Sep 14, 2025
@dims dims force-pushed the copy-golang-binaries-using-alpine-image branch 8 times, most recently from 7e6177a to 32c6bd0 Compare September 15, 2025 01:00
@dims dims changed the title [WIP] Copy golang binaries from alpine image golang: Build 1.25.0 images - take #2 (copy golang binaries from golang alpine image) Sep 15, 2025
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Sep 15, 2025
@dims dims force-pushed the copy-golang-binaries-using-alpine-image branch from 32c6bd0 to 581d66c Compare September 15, 2025 01:57
@dims
Copy link
Member Author

dims commented Sep 15, 2025

/kind feature
/priority important-soon

@k8s-ci-robot k8s-ci-robot added kind/feature Categorizes issue or PR as related to a new feature. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. and removed needs-kind Indicates a PR lacks a `kind/foo` label and requires one. needs-priority labels Sep 15, 2025
Copy link
Member

@saschagrunert saschagrunert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, PTAL @cpanato

/hold

@k8s-ci-robot k8s-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Sep 15, 2025
@k8s-ci-robot k8s-ci-robot added lgtm "Looks good to me", indicates that a PR is ready to be merged. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Sep 15, 2025
@dims
Copy link
Member Author

dims commented Sep 15, 2025

@saschagrunert not sure if @cpanato is around this week per his last comment in the related PR:
#4111 (comment)

Co-Authored-by: Carlos Panato <ctadeu@gmail.com>

[WIP] Copy golang binaries using alpine image
@dims dims force-pushed the copy-golang-binaries-using-alpine-image branch from 581d66c to 2586f7e Compare September 15, 2025 20:48
@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Sep 15, 2025
@dims
Copy link
Member Author

dims commented Sep 15, 2025

Added some missing packages found using - https://github.com/kubernetes/kubernetes/pull/134073/files

@k8s-ci-robot k8s-ci-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Sep 15, 2025
@dims
Copy link
Member Author

dims commented Sep 15, 2025

kube-cross is now working fine in kubernetes/kubernetes#134073

Copy link
Member

@saschagrunert saschagrunert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/unhold

@k8s-ci-robot k8s-ci-robot added lgtm "Looks good to me", indicates that a PR is ready to be merged. and removed do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. labels Sep 16, 2025
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dims, saschagrunert

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot merged commit 7eb5611 into kubernetes:master Sep 16, 2025
15 checks passed
@@ -144,7 +144,7 @@ dependencies:
- path: images/build/go-runner/VERSION

- name: "registry.k8s.io/build-image/go-runner (go1.25-bookworm)"
version: v2.4.0-go1.25rc2-bookworm.0
version: v2.4.0-go1.25.1-bookworm.0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dims the image changes from this file needs to be promoted, do you want to take care of that?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@saschagrunert yes of course

@cpanato
Copy link
Member

cpanato commented Sep 16, 2025

late /lgtm

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. area/release-eng Issues or PRs related to the Release Engineering subproject cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/feature Categorizes issue or PR as related to a new feature. lgtm "Looks good to me", indicates that a PR is ready to be merged. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. release-note Denotes a PR that will be considered when it comes time to generate release notes. sig/release Categorizes an issue or PR as relevant to SIG Release. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants