Add optional 4.21 job for rhobs/observability-operator#79855
Add optional 4.21 job for rhobs/observability-operator#79855simonpasquier 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 ignored due to path filters (1)
📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
WalkthroughAdds a new ChangesAzure OCP 4.21 e2e test configuration
sequenceDiagram
participant CI-Operator
participant RehearseWorkflow
participant AzureCluster
participant TestHarness
CI-Operator->>RehearseWorkflow: trigger cucushift-installer-rehearse-azure-ipi (observability-operator-e2e)
RehearseWorkflow->>AzureCluster: provision cluster_profile=azure-observability + env vars
RehearseWorkflow->>TestHarness: run ordered test refs and operator installs
🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
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)
Comment |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: simonpasquier 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 |
|
/pj-rehearse |
|
@simonpasquier: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
/cc @DavidRajnoha @jan--f |
There was a problem hiding this comment.
Actionable comments posted: 1
🧹 Nitpick comments (1)
ci-operator/config/rhobs/observability-operator/rhobs-observability-operator-main__amd64-ocp-4.21-azure.yaml (1)
70-95: ⚖️ Poor tradeoffConsider reducing code duplication with the
coo-stagetest.The new test entry duplicates most configuration from the existing
coo-stagetest (lines 33-69):
- Identical
cluster_profile,envvariables (including the fullOPERATORSmatrix), andworkflow- Nearly identical test ref sequence (except for the missing
rhobs-wait-for-coo-readyref noted above)While duplication in CI configs is common for explicitness, consider whether YAML anchors or a shared base configuration could reduce maintenance burden if these tests need to stay in sync.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@ci-operator/config/rhobs/observability-operator/rhobs-observability-operator-main__amd64-ocp-4.21-azure.yaml` around lines 70 - 95, The new job observability-operator-e2e-4-21 duplicates most of coo-stage (cluster_profile, env, OPERATORS, test refs, workflow); refactor by extracting the shared config into a reusable YAML anchor or a shared base block and reference it from observability-operator-e2e-4-21 (keep only the differing bits like name and any missing refs such as rhobs-wait-for-coo-ready if needed), ensuring you reuse the cluster_profile, env (including OPERATORS), test list and workflow keys to avoid duplication.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In
`@ci-operator/config/rhobs/observability-operator/rhobs-observability-operator-main__amd64-ocp-4.21-azure.yaml`:
- Line 70: The job entry that declares "as: observability-operator-e2e-4-21"
currently sets "always_run: false" but omits "optional: true", creating
inconsistent intent; update the job definition by adding "optional: true"
alongside "always_run: false" so the 4.21 job is non-blocking (or if the job
should block, set "always_run: true" instead)—locate the job with the "as:
observability-operator-e2e-4-21" identifier and add the "optional: true" field
to its configuration.
---
Nitpick comments:
In
`@ci-operator/config/rhobs/observability-operator/rhobs-observability-operator-main__amd64-ocp-4.21-azure.yaml`:
- Around line 70-95: The new job observability-operator-e2e-4-21 duplicates most
of coo-stage (cluster_profile, env, OPERATORS, test refs, workflow); refactor by
extracting the shared config into a reusable YAML anchor or a shared base block
and reference it from observability-operator-e2e-4-21 (keep only the differing
bits like name and any missing refs such as rhobs-wait-for-coo-ready if needed),
ensuring you reuse the cluster_profile, env (including OPERATORS), test list and
workflow keys to avoid duplication.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository YAML (base), Central YAML (inherited)
Review profile: CHILL
Plan: Enterprise
Run ID: 047b4e0b-180b-4a72-a1e2-095813051e66
⛔ Files ignored due to path filters (1)
ci-operator/jobs/rhobs/observability-operator/rhobs-observability-operator-main-presubmits.yamlis excluded by!ci-operator/jobs/**
📒 Files selected for processing (1)
ci-operator/config/rhobs/observability-operator/rhobs-observability-operator-main__amd64-ocp-4.21-azure.yaml
|
/hold |
27cffcb to
a516773
Compare
|
/pj-rehearse |
|
@simonpasquier: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
@simonpasquier can you also include |
|
/hold Let's put a hold on this one until your PR merges. |
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
a516773 to
1991948
Compare
|
/hold cancel |
|
[REHEARSALNOTIFIER]
Interacting with pj-rehearseComment: Once you are satisfied with the results of the rehearsals, comment: |
|
@simonpasquier: 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. |
|
updated with latest main |
|
/close not the right approach: if we want to run the e2e tests against a PR, Prow needs to build the operator image and install it in the test cluster. |
|
@simonpasquier: Closed this PR. 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 kubernetes-sigs/prow repository. |
Summary by CodeRabbit
This PR adds an optional, on-demand OpenShift CI e2e job for rhobs/observability-operator targeting OpenShift 4.21 on Azure.
What changed in practical terms:
What the job does / practical impact:
Areas affected: