CNTRLPLANE-4009: feat(aro-hcp): add e2e-aro-hcp-presubmit job with CPO override and nightly support - #83108
CNTRLPLANE-4009: feat(aro-hcp): add e2e-aro-hcp-presubmit job with CPO override and nightly support#83108bryan-cox wants to merge 1 commit into
Conversation
|
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 (5)
🚧 Files skipped from review as they are similar to previous changes (4)
WalkthroughThe change adds an optional ARO HCP nightly presubmit job, supports optional CPO image publishing, passes the CPO digest to local tests, and adds configurable OpenShift channel and version settings. ChangesARO HCP CPO presubmit
Estimated code review effort: 3 (Moderate) | ~20 minutes Sequence Diagram(s)sequenceDiagram
participant PushStep as hypershift-images-push
participant OCPACR as OCP ACR
participant SharedDir as SHARED_DIR
participant LocalTest as aro-hcp-test-local
PushStep->>OCPACR: Authenticate and mirror HYPERSHIFT_CPO_IMAGE
OCPACR-->>PushStep: Return CPO image digest
PushStep->>SharedDir: Write CPO_IMAGE_OVERRIDE
LocalTest->>SharedDir: Source hypershift-cpo-override.env
LocalTest->>LocalTest: Apply suite and OpenShift version settings
Possibly related PRs
Suggested reviewers: Important Pre-merge checks failedPlease resolve all errors before merging. Addressing warnings is optional. ❌ Failed checks (1 error)
✅ Passed checks (14 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: bryan-cox The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
80be42a to
db0239d
Compare
|
Note GitHub couldn't provide a complete incremental comparison for this pull request, so CodeRabbit is performing a full review instead. This review may take a little longer. |
|
@bryan-cox: This pull request references CNTRLPLANE-4009 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "5.0.0" version, but no target version was set. DetailsIn response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
…ghtly support Adds a new `e2e-aro-hcp-presubmit` CI job that tests both the HyperShift Operator (HO) and Control Plane Operator (CPO) from a hypershift PR against an ARO-HCP environment using nightly OCP release images. Changes: - images-push: conditionally push CPO to OCP ACR when HYPERSHIFT_CPO_IMAGE is provided (via job-level dependency override), and write hypershift-cpo-override.env with the CPO_IMAGE_OVERRIDE ref - test-local: source hypershift-cpo-override.env if present, declare ARO_HCP_OPENSHIFT_CHANNEL_GROUP and ARO_HCP_OPENSHIFT_VERSION_ID env vars - ci-operator config: new e2e-aro-hcp-presubmit job that provides the hypershift (CPO) dependency and sets nightly channel group with OCP 5.0 The existing e2e-aro-hcp job (HO-only) is not affected. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
db0239d to
cf24bfa
Compare
|
Note GitHub couldn't provide a complete incremental comparison for this pull request, so CodeRabbit is performing a full review instead. This review may take a little longer. |
|
[REHEARSALNOTIFIER]
Interacting with pj-rehearseComment: Once you are satisfied with the results of the rehearsals, comment: |
|
@bryan-cox: The following test failed, say
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. |
Summary
e2e-aro-hcp-presubmitCI job that tests both the HyperShift Operator (HO) and Control Plane Operator (CPO) from a hypershift PR against an ARO-HCP environment using nightly OCP release imagesHYPERSHIFT_CPO_IMAGEis provided via a job-level dependency override (existinge2e-aro-hcpHO-only job is unaffected)ARO_HCP_E2E_SUITE,ARO_HCP_OPENSHIFT_CHANNEL_GROUP, andARO_HCP_OPENSHIFT_VERSION_IDenv vars to the test stepARO_HCP_E2E_SUITE=hypershift-presubmit/parallelin the presubmit job so it runs the correct test suiteWhy
CNTRLPLANE-4009 / CNTRLPLANE-3980
CPO is not backwards compatible — it must run alongside matching control plane components from the same OCP development stream. Using a released stable version with CPO from main would crash. The solution uses nightly OCP release images (already discovered by Cluster Service from
multi.ocp.releases.ci.openshift.org/graph, cached via ACR pull-through) so CPO from the PR gets a compatible release image.The new job:
ARO_HCP_E2E_SUITE=hypershift-presubmit/parallelto run the presubmit-specific test suiteARO_HCP_OPENSHIFT_CHANNEL_GROUP=nightlyandARO_HCP_OPENSHIFT_VERSION_ID=5.0so the test framework resolves the latest accepted 5.0 nightlyCompanion PR: Azure/ARO-HCP#6456 (test, framework, and Makefile changes)
Test plan
e2e-aro-hcp(HO-only) job is unaffected — no CPO push, no nightly env vars, same default suitee2e-aro-hcp-presubmitjob pushes both HO and CPO imageshypershift-presubmit/parallelsuite (notrp-api-compat-all/parallel)ARO_HCP_OPENSHIFT_CHANNEL_GROUP=nightlyandARO_HCP_OPENSHIFT_VERSION_ID=5.0🤖 Generated with Claude Code
Summary by CodeRabbit
Adds the
e2e-aro-hcp-presubmitCI job for HyperShift pull requests. The job tests HyperShift Operator and Control Plane Operator changes against ARO-HCP with nightly OpenShift 5.0 release images.When
HYPERSHIFT_CPO_IMAGEis set, CI pushes the Control Plane Operator image to the OCP ACR and passes its digest to the test workflow. CI continues to push the HyperShift Operator image to the SVC ACR.The existing HO-only
e2e-aro-hcpjob remains unchanged.