Skip to content

Add ci-operator config for SNO day2-worker 4.18 CI lane#79357

Draft
rdiscala wants to merge 1 commit into
openshift:mainfrom
rdiscala:TELCOV10N-1089-add-4.18-sno-day2-worker
Draft

Add ci-operator config for SNO day2-worker 4.18 CI lane#79357
rdiscala wants to merge 1 commit into
openshift:mainfrom
rdiscala:TELCOV10N-1089-add-4.18-sno-day2-worker

Conversation

@rdiscala
Copy link
Copy Markdown
Contributor

@rdiscala rdiscala commented May 15, 2026

Adapts the existing 4.20 sno-day2-worker variant to OpenShift 4.18, using the same infrastructure (kni-qe-106 hub, kni-qe-107 spoke) with 4.18-compatible operator channels (ACM release-2.13, MCE stable-2.8, TALM fbc-4-18, cluster-logging stable-6.1).

This PR adds CI-operator configuration to enable OpenShift CI testing of the openshift-kni/eco-ci-cd component against OpenShift 4.18 through the cnf-ran-sno-day2-worker-4.18 CI lane.

The change introduces a new configuration file that establishes a CI variant for testing Single Node OpenShift (SNO) day-2 worker scenarios. It reuses the existing hub and spoke cluster infrastructure (kni-qe-106 and kni-qe-107) and updates the operator channels to 4.18-compatible versions: ACM release-2.13, MCE stable-2.8, TALM fbc-4-18, and cluster-logging stable-6.1. The configuration defines the test environment, resource requirements, and the multi-component operator subscriptions needed for the SNO day-2 worker CI testing scenario.

Adapts the existing 4.20 sno-day2-worker variant to OpenShift 4.18,
using the same infrastructure (kni-qe-106 hub, kni-qe-107 spoke) with
4.18-compatible operator channels (ACM release-2.13, MCE stable-2.8,
TALM fbc-4-18, cluster-logging stable-6.1).
@openshift-ci openshift-ci Bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label May 15, 2026
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented May 15, 2026

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 15, 2026

Walkthrough

A new CI-operator configuration YAML file is added for the cnf-ran-sno-day2-worker-4.18 variant. It establishes build root image references, OCP 4.18 release tracking, global resource constraints, a test definition with environment variables and operator subscriptions, and generated metadata for provenance.

Changes

CI Configuration Variant

Layer / File(s) Summary
Build root and release configuration
ci-operator/config/openshift-kni/eco-ci-cd/openshift-kni-eco-ci-cd-main__cnf-ran-sno-day2-worker-4.18.yaml
Configures the build root image stream tag eco-ci-cd from telcov10n-ci namespace and tracks OCP nightly version 4.18 as the latest candidate release.
Global resource constraints
ci-operator/config/openshift-kni/eco-ci-cd/openshift-kni-eco-ci-cd-main__cnf-ran-sno-day2-worker-4.18.yaml
Defines shared resource requests and limits for all components: 4Gi memory limit, 100m CPU request, and 200Mi memory request.
Test definition and phase wiring
ci-operator/config/openshift-kni/eco-ci-cd/openshift-kni-eco-ci-cd-main__cnf-ran-sno-day2-worker-4.18.yaml
Declares the cnf-ran-ztp-tests test entry with cron scheduling, extensive environment variables (cluster names, git repositories, disconnected registry settings, feature toggles), operator hub and spoke subscription payloads, and wires pre, post, and test phase references.
Generated metadata
ci-operator/config/openshift-kni/eco-ci-cd/openshift-kni-eco-ci-cd-main__cnf-ran-sno-day2-worker-4.18.yaml
Adds zz_generated_metadata fields identifying the configuration branch, organization, repository, and variant.

Estimated Code Review Effort

🎯 2 (Simple) | ⏱️ ~10 minutes

🚥 Pre-merge checks | ✅ 12
✅ Passed checks (12 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title directly summarizes the main change: adding a CI-operator configuration for SNO day2-worker 4.18 CI lane, which matches the new YAML file added.
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 The custom check for Ginkgo test names applies specifically to Ginkgo test code. This PR adds only a CI-operator YAML configuration file with no Ginkgo tests, making the check not applicable.
Test Structure And Quality ✅ Passed This PR adds a CI-operator YAML configuration file only. It contains no Ginkgo test code, test blocks, setup/cleanup, or assertions. The custom check for Ginkgo test quality is not applicable here.
Microshift Test Compatibility ✅ Passed PR adds CI configuration YAML file only, no new Ginkgo test code. MicroShift compatibility check is not applicable.
Single Node Openshift (Sno) Test Compatibility ✅ Passed This PR adds a CI-operator configuration file, not new Ginkgo e2e tests. The custom check targets new test code (It(), Describe(), etc.) and is not applicable here.
Topology-Aware Scheduling Compatibility ✅ Passed Check not applicable. PR adds only a ci-operator config (CI job definition), not deployment manifests, operator code, or controllers. No scheduling constraints present.
Ote Binary Stdout Contract ✅ Passed PR contains only a CI-operator YAML configuration file. The OTE Binary Stdout Contract check applies to Go code (main, logging, suite setup), which does not exist here.
Ipv6 And Disconnected Network Test Compatibility ✅ Passed This PR adds only a CI-operator YAML configuration file, not new Ginkgo e2e tests. The check applies only when new Ginkgo tests are added, which is not the case.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

❤️ Share

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

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented May 15, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: rdiscala

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 May 15, 2026
@rdiscala
Copy link
Copy Markdown
Contributor Author

@coderabbitai review

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 15, 2026

✅ Actions performed

Review triggered.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 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/openshift-kni/eco-ci-cd/openshift-kni-eco-ci-cd-main__cnf-ran-sno-day2-worker-4.18.yaml`:
- Line 23: The cron entry "0 0 31 2 *" in the file
openshift-kni-eco-ci-cd-main__cnf-ran-sno-day2-worker-4.18.yaml is unschedulable
(February has no 31st); replace that cron expression with a valid schedule
(e.g., a valid February date like "0 0 28 2 *" or an alternative monthly
schedule) so the periodic lane actually runs, then follow the CI config workflow
by editing the file under ci-operator/config/<org>/<repo>/ and running make
update to regenerate downstream Prow job configs.
🪄 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: f0ce3fdd-ec34-46a8-badb-63682a312fe6

📥 Commits

Reviewing files that changed from the base of the PR and between e7cec76 and 6983a25.

⛔ Files ignored due to path filters (1)
  • ci-operator/jobs/openshift-kni/eco-ci-cd/openshift-kni-eco-ci-cd-main-periodics.yaml is excluded by !ci-operator/jobs/**
📒 Files selected for processing (1)
  • ci-operator/config/openshift-kni/eco-ci-cd/openshift-kni-eco-ci-cd-main__cnf-ran-sno-day2-worker-4.18.yaml

- as: cnf-ran-ztp-tests
capabilities:
- intranet
cron: 0 0 31 2 *
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major | ⚡ Quick win

Cron schedule is unschedulable.

Line 23 uses 0 0 31 2 *, which never triggers (February has no 31st). This effectively disables the periodic lane.

Suggested fix
-  cron: 0 0 31 2 *
+  cron: 0 0 * * *
As per coding guidelines, "For CI configuration, edit files in `ci-operator/config///` and run `make update` to generate downstream Prow job configs".
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
cron: 0 0 31 2 *
cron: 0 0 * * *
🤖 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/openshift-kni/eco-ci-cd/openshift-kni-eco-ci-cd-main__cnf-ran-sno-day2-worker-4.18.yaml`
at line 23, The cron entry "0 0 31 2 *" in the file
openshift-kni-eco-ci-cd-main__cnf-ran-sno-day2-worker-4.18.yaml is unschedulable
(February has no 31st); replace that cron expression with a valid schedule
(e.g., a valid February date like "0 0 28 2 *" or an alternative monthly
schedule) so the periodic lane actually runs, then follow the CI config workflow
by editing the file under ci-operator/config/<org>/<repo>/ and running make
update to regenerate downstream Prow job configs.

@openshift-merge-bot
Copy link
Copy Markdown
Contributor

[REHEARSALNOTIFIER]
@rdiscala: 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
periodic-ci-openshift-kni-eco-ci-cd-main-cnf-ran-sno-day2-worker-4.18-cnf-ran-ztp-tests N/A periodic Periodic changed

Prior to this PR being merged, you will need to either run and acknowledge or opt to skip these rehearsals.

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.

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/work-in-progress Indicates that a PR should not merge because it is a work in progress.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant