Add an infra debug optional job#80020
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 ignored due to path filters (1)
📒 Files selected for processing (3)
WalkthroughThis PR introduces infrastructure debugging support for ARO-HCP CI tests by adding a skip-deprovision mechanism. A new environment variable ChangesDebug Infrastructure Control
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Suggested labels
Suggested reviewers
🚥 Pre-merge checks | ✅ 15✅ Passed checks (15 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: roivaz 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 |
|
[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-Azure-ARO-HCP-main-e2e-parallel-debug-infra |
|
@roivaz: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
/pj-rehearse pull-ci-Azure-ARO-HCP-main-e2e-parallel-debug-infra |
|
@roivaz: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
/pj-rehearse pull-ci-Azure-ARO-HCP-main-e2e-parallel-debug-infra |
|
@roivaz: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
@roivaz: 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 by CodeRabbit
This pull request adds an optional debug job to the ARO-HCP CI pipeline that allows infrastructure to persist for debugging purposes without automatic cleanup.
Changes made:
New debug job in CI configuration (
Azure-ARO-HCP-main.yaml): Added an optionale2e-parallel-debug-infrajob that runs the samearo-hcp-local-e2eworkflow as the standard parallel job but configured for debugging. The job targets theci01environment withSKIP_DEPROVISION=true, ensuring infrastructure remains available after the test completes for manual investigation.Skip deprovision support (
aro-hcp-deprovision-environment-commands.sh): Enhanced the deprovisioning step to check for aSKIP_DEPROVISIONenvironment variable. When set to"true", the script exits early without performing Azure cleanup operations, preserving the test infrastructure.Environment variable documentation (
aro-hcp-deprovision-environment-ref.yaml): Formally added theSKIP_DEPROVISIONboolean parameter to the step definition, allowing it to be passed through the CI pipeline when debugging infrastructure issues.Practical effect: Developers and CI operators can now optionally run
e2e-parallel-debug-infrainstead of the standard parallel job to preserve ARO-HCP test infrastructure after execution, enabling post-test debugging without needing to recreate the environment.