Skip to content

hypershift: exclude custom-verify-src from ocp promotion on 4.20 and 4.21 - #81109

Open
devguyio wants to merge 2 commits into
openshift:mainfrom
devguyio:remove-hypershift-custom-verify-src-v2
Open

devguyio wants to merge 2 commits into
openshift:mainfrom
devguyio:remove-hypershift-custom-verify-src-v2

Conversation

@devguyio

@devguyio devguyio commented Jun 25, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Exclude custom-verify-src from ocp namespace promotion on release-4.20 and release-4.21 (both public and priv configs)
  • This image is a helper (src + python3-pip) used only by the verify test — it should not be promoted to the ocp imagestream
  • It was already removed from main in Remove hypershift Prow verify and unit test jobs #76842 but still exists on 4.20 and 4.21 via config-brancher

Test plan

  • CI rehearsal passes

🤖 Generated with Claude Code

Summary by CodeRabbit

This PR updates Hypershift CI release promotion configs to keep the helper image custom-verify-src (the src + python3-pip verify-only image) out of OCP imagestream promotion for both public and private settings on release-4.20 and release-4.21.

It also continues improving Hypershift release promotion behavior (4.19–4.22) to use version-tagged hypershift-operator-* images (and the updated base/tag behavior for 4.22), adjusting promotion.to via excluded_images/additional_images so upgrade-related testing installs the correct operator version prior to upgrading.

CI note: the PR is/was held pending another change (#81105), and was later requested to be unheld (/uncc).

@coderabbitai

coderabbitai Bot commented Jun 25, 2026 •

Copy link
Copy Markdown
Contributor

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository YAML (base), Central YAML (inherited)

Review profile: CHILL

Plan: Enterprise

Run ID: a4a8da11-8314-41e5-b232-34b89705e176

📥 Commits

Reviewing files that changed from the base of the PR and between e4330b28cad0dbefbe558fbb1e7604a47cb02ae2 and 81bcade.

📒 Files selected for processing (7)
  • ci-operator/config/openshift-priv/hypershift/openshift-priv-hypershift-release-4.20.yaml
  • ci-operator/config/openshift-priv/hypershift/openshift-priv-hypershift-release-4.21.yaml
  • ci-operator/config/openshift-priv/hypershift/openshift-priv-hypershift-release-4.22.yaml
  • ci-operator/config/openshift/hypershift/openshift-hypershift-release-4.19.yaml
  • ci-operator/config/openshift/hypershift/openshift-hypershift-release-4.20.yaml
  • ci-operator/config/openshift/hypershift/openshift-hypershift-release-4.21.yaml
  • ci-operator/config/openshift/hypershift/openshift-hypershift-release-4.22.yaml
🚧 Files skipped from review as they are similar to previous changes (7)
  • ci-operator/config/openshift-priv/hypershift/openshift-priv-hypershift-release-4.21.yaml
  • ci-operator/config/openshift-priv/hypershift/openshift-priv-hypershift-release-4.20.yaml
  • ci-operator/config/openshift-priv/hypershift/openshift-priv-hypershift-release-4.22.yaml
  • ci-operator/config/openshift/hypershift/openshift-hypershift-release-4.19.yaml
  • ci-operator/config/openshift/hypershift/openshift-hypershift-release-4.21.yaml
  • ci-operator/config/openshift/hypershift/openshift-hypershift-release-4.20.yaml
  • ci-operator/config/openshift/hypershift/openshift-hypershift-release-4.22.yaml

Walkthrough

HyperShift release CI/operator configs are updated across public and private release branches from 4.19 through 4.22. The changes add versioned hypershift-operator image entries, adjust promotion mappings and excluded image lists, and update the 4.22 public base image tag to latest.

Changes

HyperShift release promotion config updates

Layer / File(s) Summary
Private release promotion changes
ci-operator/config/openshift-priv/hypershift/openshift-priv-hypershift-release-4.20.yaml, ci-operator/config/openshift-priv/hypershift/openshift-priv-hypershift-release-4.21.yaml, ci-operator/config/openshift-priv/hypershift/openshift-priv-hypershift-release-4.22.yaml
custom-verify-src is added to the private 4.20/4.21 promotion exclusions, and the private 4.22 config adds a hypershift-operator base image and a 4.22-priv promotion target.
Public release promotion changes
ci-operator/config/openshift/hypershift/openshift-hypershift-release-4.19.yaml, ci-operator/config/openshift/hypershift/openshift-hypershift-release-4.20.yaml, ci-operator/config/openshift/hypershift/openshift-hypershift-release-4.21.yaml, ci-operator/config/openshift/hypershift/openshift-hypershift-release-4.22.yaml
The public 4.19-4.22 configs add versioned hypershift-operator image items, update excluded-image and additional-image mappings to those versioned names, and change the 4.22 hypershift-operator base image tag to latest.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

  • openshift/release#80970: Also updates HyperShift release promotion mappings and exclusions for the same release branches.

Suggested reviewers

  • enxebre
  • danilo-gemoli
🚥 Pre-merge checks | ✅ 15
✅ Passed checks (15 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly describes the main change: excluding custom-verify-src from OCP promotion on 4.20 and 4.21.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Stable And Deterministic Test Names ✅ Passed PR only updates CI YAML promotion configs; no Ginkgo test files or titles were added or modified, so the name-stability check is not applicable.
Test Structure And Quality ✅ Passed PR only changes ci-operator YAML promotion config; no Ginkgo test code is touched, so this test-quality check is not applicable.
Microshift Test Compatibility ✅ Passed PR only changes ci-operator YAML promotion/image config; no new Ginkgo e2e tests or MicroShift-unsafe APIs were added.
Single Node Openshift (Sno) Test Compatibility ✅ Passed PR only edits ci-operator YAML promotion configs; no Ginkgo/e2e test code was added or changed, so SNO compatibility check is not applicable.
Topology-Aware Scheduling Compatibility ✅ Passed Only ci-operator promotion/image YAML changed; no deployment manifests, controllers, affinities, replicas, node selectors, or PDBs were introduced.
Ote Binary Stdout Contract ✅ Passed PR only changes ci-operator YAML promotion configs; no process-level code, init, or suite setup was touched, so stdout contract risk isn’t introduced.
Ipv6 And Disconnected Network Test Compatibility ✅ Passed The PR only touches ci-operator YAML promotion configs for hypershift; no Ginkgo e2e tests, IP parsing, or external connectivity code was added.
No-Weak-Crypto ✅ Passed PASS: The PR only changes YAML promotion configs; touched files contain no MD5/SHA1/DES/RC4/3DES/Blowfish/ECB or crypto/comparison code.
Container-Privileges ✅ Passed The touched ci-operator YAMLs only adjust image promotion; none contain privileged, hostPID/hostNetwork/hostIPC, SYS_ADMIN, root, or allowPrivilegeEscalation settings.
No-Sensitive-Data-In-Logs ✅ Passed Touched files are YAML promotion configs only; no logging calls or sensitive values appear in the changes.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Comment @coderabbitai help to get the list of available commands.

@openshift-ci

openshift-ci Bot commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: devguyio

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

The pull request process is described here

Details 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

@openshift-ci openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 25, 2026
@openshift-ci
openshift-ci Bot requested review from cblecker and danilo-gemoli June 25, 2026 19:58
@devguyio

Copy link
Copy Markdown
Contributor Author

/hold needs #81105 to go in first

@openshift-ci openshift-ci Bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jun 25, 2026
@cblecker

Copy link
Copy Markdown
Member

/uncc

@openshift-ci
openshift-ci Bot removed the request for review from cblecker June 25, 2026 21:13
@openshift-ci openshift-ci Bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jun 25, 2026
devguyio and others added 2 commits June 26, 2026 00:08
…nches

Release branches 4.19-4.22 need a version-tagged hypershift-operator
image so the upgrade test installs the correct older HO before
upgrading to the PR-built version. Build hypershift-operator-4XX
from the default Dockerfile, promote it as hypershift-operator:<ver>
to the hypershift namespace, and keep hypershift-operator:latest as
a base_image for the install step.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Ahmed Abdalla <aabdelre@redhat.com>
…4.21

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Ahmed Abdalla <aabdelre@redhat.com>
@devguyio
devguyio force-pushed the remove-hypershift-custom-verify-src-v2 branch from e4330b2 to 81bcade Compare June 25, 2026 22:08
@openshift-ci openshift-ci Bot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jun 25, 2026
@openshift-merge-bot

Copy link
Copy Markdown
Contributor

[REHEARSALNOTIFIER]
@devguyio: the pj-rehearse plugin accommodates running rehearsal tests for the changes in this PR. Expand 'Interacting with pj-rehearse' for usage details. The following rehearsable tests have been affected by this change:

Test name Repo Type Reason
pull-ci-openshift-hypershift-release-4.19-images openshift/hypershift presubmit Presubmit changed
pull-ci-openshift-hypershift-release-4.20-images openshift/hypershift presubmit Presubmit changed
pull-ci-openshift-hypershift-release-4.21-images openshift/hypershift presubmit Presubmit changed
pull-ci-openshift-hypershift-release-4.22-images openshift/hypershift presubmit Presubmit changed
pull-ci-openshift-hypershift-release-4.20-e2e-aks openshift/hypershift presubmit Ci-operator config changed
pull-ci-openshift-hypershift-release-4.20-e2e-aws openshift/hypershift presubmit Ci-operator config changed
pull-ci-openshift-hypershift-release-4.20-e2e-aws-autonode openshift/hypershift presubmit Ci-operator config changed
pull-ci-openshift-hypershift-release-4.20-e2e-aws-external-oidc openshift/hypershift presubmit Ci-operator config changed
pull-ci-openshift-hypershift-release-4.20-e2e-aws-metrics openshift/hypershift presubmit Ci-operator config changed
pull-ci-openshift-hypershift-release-4.20-e2e-aws-minimal openshift/hypershift presubmit Ci-operator config changed
pull-ci-openshift-hypershift-release-4.20-e2e-aws-override openshift/hypershift presubmit Ci-operator config changed
pull-ci-openshift-hypershift-release-4.20-e2e-aws-techpreview openshift/hypershift presubmit Ci-operator config changed
pull-ci-openshift-hypershift-release-4.20-e2e-aws-upgrade-hypershift-operator openshift/hypershift presubmit Ci-operator config changed
pull-ci-openshift-hypershift-release-4.20-e2e-azure-aks-external-oidc openshift/hypershift presubmit Ci-operator config changed
pull-ci-openshift-hypershift-release-4.20-e2e-azure-aks-ovn-conformance openshift/hypershift presubmit Ci-operator config changed
pull-ci-openshift-hypershift-release-4.20-e2e-conformance openshift/hypershift presubmit Ci-operator config changed
pull-ci-openshift-hypershift-release-4.20-e2e-kubevirt-aws-ovn openshift/hypershift presubmit Ci-operator config changed
pull-ci-openshift-hypershift-release-4.20-e2e-kubevirt-aws-ovn-reduced openshift/hypershift presubmit Ci-operator config changed
pull-ci-openshift-hypershift-release-4.20-e2e-kubevirt-azure-ovn openshift/hypershift presubmit Ci-operator config changed
pull-ci-openshift-hypershift-release-4.20-e2e-kubevirt-metal-conformance openshift/hypershift presubmit Ci-operator config changed
pull-ci-openshift-hypershift-release-4.20-security openshift/hypershift presubmit Ci-operator config changed
pull-ci-openshift-hypershift-release-4.20-unit openshift/hypershift presubmit Ci-operator config changed
pull-ci-openshift-hypershift-release-4.20-verify openshift/hypershift presubmit Ci-operator config changed
pull-ci-openshift-hypershift-release-4.20-verify-deps openshift/hypershift presubmit Ci-operator config changed
pull-ci-openshift-hypershift-release-4.21-e2e-agent-connected-ovn-ipv4-metal-backuprestore openshift/hypershift presubmit Ci-operator config changed

A total of 326 jobs have been affected by this change. The above listing is non-exhaustive and limited to 25 jobs.

A full list of affected jobs can be found here

Interacting with pj-rehearse

Comment: /pj-rehearse to run up to 5 rehearsals
Comment: /pj-rehearse skip to opt-out of rehearsals
Comment: /pj-rehearse {test-name}, with each test separated by a space, to run one or more specific rehearsals
Comment: /pj-rehearse more to run up to 10 rehearsals
Comment: /pj-rehearse max to run up to 25 rehearsals
Comment: /pj-rehearse auto-ack to run up to 5 rehearsals, and add the rehearsals-ack label on success
Comment: /pj-rehearse list to get an up-to-date list of affected jobs
Comment: /pj-rehearse abort to abort all active rehearsals
Comment: /pj-rehearse network-access-allowed to allow rehearsals of tests that have the restrict_network_access field set to false. This must be executed by an openshift org member who is not the PR author

Once you are satisfied with the results of the rehearsals, comment: /pj-rehearse ack to unblock merge. When the rehearsals-ack label is present on your PR, merge will no longer be blocked by rehearsals.
If you would like the rehearsals-ack label removed, comment: /pj-rehearse reject to re-block merging.

@openshift-ci

openshift-ci Bot commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

@devguyio: all tests passed!

Full PR test history. Your PR dashboard.

Details

Instructions 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.

@openshift-ci openshift-ci Bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jun 27, 2026
@openshift-ci

openshift-ci Bot commented Jun 27, 2026

Copy link
Copy Markdown
Contributor

PR needs rebase.

Details

Instructions 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.

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. do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants