ACM-35636: Bump CI build images to Go 1.25 for cluster-api-provider-kubevirt release-4.20 - #82010
Conversation
…er-kubevirt release-4.20 Update build_root and dockerfile_literal to use rhel-9-release-golang-1.25-openshift-4.22 (from golang-1.24-openshift-4.21). This is required because PR openshift/cluster-api-provider-kubevirt#490 bumps golang.org/x/crypto to v0.52.0 (fixing CVE-2026-39829 and 19 other CVEs), which requires Go 1.25.0. Without this change, CI fails with: "go.mod requires go >= 1.25.0 (running go 1.24.13; GOTOOLCHAIN=local)" Co-authored-by: Cursor <cursoragent@cursor.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository YAML (base), Central YAML (inherited) Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (1)
WalkthroughThe release configuration updates the ChangesBuild toolchain update
Estimated code review effort: 1 (Trivial) | ~2 minutes 🚥 Pre-merge checks | ✅ 15✅ Passed checks (15 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
[REHEARSALNOTIFIER]
Prior to this PR being merged, you will need to either run and acknowledge or opt to skip these rehearsals. Interacting with pj-rehearseComment: Once you are satisfied with the results of the rehearsals, comment: |
|
/pj-rehearse pull-ci-openshift-cluster-api-provider-kubevirt-release-4.20-e2e-hypershift-kubevirt pull-ci-openshift-cluster-api-provider-kubevirt-release-4.20-images pull-ci-openshift-cluster-api-provider-kubevirt-release-4.20-unit-tests |
|
@amitesh1201: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
@amitesh1201: job(s): either don't exist or were not found to be affected, and cannot be rehearsed |
|
/pj-rehearse pull-ci-openshift-cluster-api-provider-kubevirt-release-4.20-e2e-hypershift-kubevirt |
|
@amitesh1201: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
/test ci-operator-config-metadata |
|
@amitesh1201: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
|
/pj-rehearse ack |
|
@amitesh1201: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
All CI and pj-rehearse jobs are green. This unblocks openshift/cluster-api-provider-kubevirt#490 (CVE fix, OCPBUGS-93933). Could one of the reviewers please take a look when you have a moment? Thanks! |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: amitesh1201, damdo, nunnatsa 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 |
…er-kubevirt release-4.20 (openshift#82010) Update build_root and dockerfile_literal to use rhel-9-release-golang-1.25-openshift-4.22 (from golang-1.24-openshift-4.21). This is required because PR openshift/cluster-api-provider-kubevirt#490 bumps golang.org/x/crypto to v0.52.0 (fixing CVE-2026-39829 and 19 other CVEs), which requires Go 1.25.0. Without this change, CI fails with: "go.mod requires go >= 1.25.0 (running go 1.24.13; GOTOOLCHAIN=local)" Co-authored-by: Cursor <cursoragent@cursor.com>
Summary
build_rootanddockerfile_literalGo toolchain fromrhel-9-release-golang-1.24-openshift-4.21torhel-9-release-golang-1.25-openshift-4.22forcluster-api-provider-kubevirtrelease-4.20 CI config.golang.org/x/cryptoto v0.52.0 (fixing CVE-2026-39829 + 19 other CVEs), which requires Go 1.25.0.Why
Without this change, all CI jobs for PR #490 fail with:
The
godirective ingo.modwas bumped from 1.24.9 to 1.25.0 because the minimum Go 1.24-compatiblex/cryptoversion (v0.48.0) does not fix CVE-2026-39829. The fix is only available in v0.52.0+, which requires Go 1.25.0.Changes
build_root.image_stream_tag.tagrhel-9-release-golang-1.24-openshift-4.21rhel-9-release-golang-1.25-openshift-4.22dockerfile_literalFROMregistry.ci.openshift.org/openshift/release:rhel-9-release-golang-1.24-openshift-4.21registry.ci.openshift.org/openshift/release:rhel-9-release-golang-1.25-openshift-4.22CVEs resolved by the dependent PR
golang.org/x/crypto/sshx/crypto/sshCVEs and 6x/netCVEs (20 total)Test plan
/retestMade with Cursor
Summary by CodeRabbit
cluster-api-provider-kubevirtrelease-4.20 CI builds to use Go 1.25 / OpenShift 4.22 build images, enabling compatibility with the newer Go toolchain required by dependent security updates.