ARO-HCP: Fix healthcheck jobs after https://github.com/openshift/release/pull/80156#80238
ARO-HCP: Fix healthcheck jobs after https://github.com/openshift/release/pull/80156#80238roivaz 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 (3)
💤 Files with no reviewable changes (1)
WalkthroughThis PR refactors ARO-HCP lease provisioning by moving the ChangesARO-HCP Lease Provisioning Refactoring
Possibly Related PRs
Suggested Labels
Suggested Reviewers
Estimated Code Review Effort🎯 2 (Simple) | ⏱️ ~8 minutes 🚥 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 |
|
@roivaz: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
/pj-rehearse periodic-ci-Azure-ARO-HCP-main-periodic-healthcheck-provision-centralus |
|
@roivaz: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
/pj-rehearse periodic-ci-Azure-ARO-HCP-main-periodic-healthcheck-provision-canadacentral |
|
@roivaz: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
@roivaz: The following tests 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. |
The changes in #80156 broke #80138. This PR fixes it.
Summary by CodeRabbit
This PR restores functionality to ARO-HCP (Azure Red Hat OpenShift - Hosted Control Plane) healthcheck jobs that were affected by changes in a previous pull request.
The fixes involve three interconnected changes to the ARO-HCP CI infrastructure:
Lease Management Restructuring: The MSI mock service principal lease (
aro-hcp-msi-mock-cs-sp-dev) is relocated from the provision environment step configuration to the local-e2e workflow level. This change makes the lease available throughout the entire workflow execution rather than scoping it to a single step, aligning with how the workflow is expected to access this resource.Resilient Environment File Handling: The provision environment provisioning script is modified to gracefully handle the optional
aro-hcp-slot.envfile. Rather than failing hard when the file is missing, it now conditionally sources the file only if it exists, allowing the provisioning process to continue even when this file is unavailable. This makes the script more adaptable to different execution contexts.Scope: These changes affect the ARO-HCP CI infrastructure, specifically the local end-to-end testing workflows and environment provisioning steps that depend on Azure managed identity mock service principal resources for testing.