Skip to content

os: create 4.22 config for OKD#81767

Open
Prashanth684 wants to merge 1 commit into
openshift:mainfrom
Prashanth684:okd-os
Open

os: create 4.22 config for OKD#81767
Prashanth684 wants to merge 1 commit into
openshift:mainfrom
Prashanth684:okd-os

Conversation

@Prashanth684

@Prashanth684 Prashanth684 commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Summary by CodeRabbit

Adds CI configuration for building and releasing the OKD SCOS 4.22 OpenShift OS variant, including standard and extensions images, release promotion, resource defaults, and an optional AWS OVN end-to-end workflow.

Updates the shared OKD SCOS configuration to use mirrored CentOS 10 repositories and promote current builds to the SCOS 5.0 release namespaces.

@coderabbitai

coderabbitai Bot commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository YAML (base), Central YAML (inherited)

Review profile: CHILL

Plan: Enterprise

Run ID: 88377217-fae0-434c-86e1-203d2e191921

📥 Commits

Reviewing files that changed from the base of the PR and between e0d5ff2 and bd8835f.

⛔ Files ignored due to path filters (2)
  • ci-operator/jobs/openshift/os/openshift-os-release-4.22-postsubmits.yaml is excluded by !ci-operator/jobs/**
  • ci-operator/jobs/openshift/os/openshift-os-release-4.22-presubmits.yaml is excluded by !ci-operator/jobs/**
📒 Files selected for processing (2)
  • ci-operator/config/openshift/os/openshift-os-master__okd-scos.yaml
  • ci-operator/config/openshift/os/openshift-os-release-4.22__okd-scos.yaml
🚧 Files skipped from review as they are similar to previous changes (2)
  • ci-operator/config/openshift/os/openshift-os-release-4.22__okd-scos.yaml
  • ci-operator/config/openshift/os/openshift-os-master__okd-scos.yaml

Walkthrough

Adds the OKD SCOS 4.22 release configuration, including image builds, promotion, resources, and optional testing. Updates the master configuration to use mirrored C10s repositories and SCOS 5.0 promotion targets.

Changes

OKD SCOS release configuration

Layer / File(s) Summary
Master repository and promotion settings
ci-operator/config/openshift/os/openshift-os-master__okd-scos.yaml
Master image builds use mirrored C10s repository names and promote to scos-5.0 and scos-5.0-art.
4.22 image build inputs and targets
ci-operator/config/openshift/os/openshift-os-release-4.22__okd-scos.yaml
Adds builder and assembler inputs and defines builds for Containerfile and extensions/Containerfile.
Release promotion and validation settings
ci-operator/config/openshift/os/openshift-os-release-4.22__okd-scos.yaml
Configures promotion destinations, latest release integration, resource requests, optional e2e-aws-ovn testing, and generated metadata.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Sequence Diagram(s)

sequenceDiagram
  participant BuilderImageStreams
  participant CoreOSAssembler
  participant ContainerfileBuilds
  participant ReleasePromotion
  BuilderImageStreams->>ContainerfileBuilds: provide builder image inputs
  CoreOSAssembler->>ContainerfileBuilds: provide assembler build root
  ContainerfileBuilds->>ReleasePromotion: promote built OS artifacts
Loading

Possibly related PRs

Suggested labels: lgtm, approved, rehearsals-ack

Suggested reviewers: jmarrero, linoyaslan, Nirshal

🚥 Pre-merge checks | ✅ 15
✅ Passed checks (15 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main change: creating the OKD 4.22 OS config.
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 PR only changes ci-operator YAML; no Ginkgo title definitions (It/Describe/Context/When) were added or modified.
Test Structure And Quality ✅ Passed No Ginkgo test code changed; this PR only updates CI config/job YAML, so the test-structure checklist is not applicable.
Microshift Test Compatibility ✅ Passed Only ci-operator YAML changed; the e2e-aws-ovn entry is an existing openshift-e2e-aws workflow copied from 4.21, with no new Ginkgo test code or unsupported API references.
Single Node Openshift (Sno) Test Compatibility ✅ Passed PR only adds/updates ci-operator job config; no new Ginkgo tests or SNO-sensitive assertions/guards were introduced.
Topology-Aware Scheduling Compatibility ✅ Passed Only ci-operator image/release/job configs changed; no deployment manifests, controllers, or topology-sensitive scheduling fields were added.
Ote Binary Stdout Contract ✅ Passed Only ci-operator/job YAML changed; no Go/binary process code or stdout writes were modified.
Ipv6 And Disconnected Network Test Compatibility ✅ Passed No Ginkgo test code changed; the PR only updates ci-operator YAML (repos/promotion) and references an existing e2e workflow, so no IPv4/external-connectivity issues to flag.
No-Weak-Crypto ✅ Passed Only YAML config/job generation changed; no weak crypto, custom crypto, or secret comparisons appear in the touched files.
Container-Privileges ✅ Passed The changed ci-operator YAMLs only adjust build args, promotion, releases, and tests; no privileged, hostPID/Network/IPC, SYS_ADMIN, root, or allowPrivilegeEscalation settings appear.
No-Sensitive-Data-In-Logs ✅ Passed No new logging/debug statements or data prints were added; the changes are CI config only, with secret references used as mounts/flags, not log output.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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

@Prashanth684

Copy link
Copy Markdown
Contributor Author

/pj-rehearse pull-ci-openshift-os-master-okd-scos-images

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

@Prashanth684: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@coderabbitai coderabbitai Bot left a comment

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.

Actionable comments posted: 2

🤖 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/os/openshift-os-release-4.22__okd-scos.yaml`:
- Around line 22-23: Update both YUM_REPO_NAMES entries in the 4.22 SCOS
configuration to replace c10s-baseos,c10s-appstream with the mirrored repository
names used by openshift-os-master__okd-scos.yaml, while preserving the remaining
repositories.
- Around line 67-73: The generated openshift-os presubmit jobs are out of sync
with the added e2e-aws-ovn test. Run make update to regenerate the openshift-os
presubmits, ensuring openshift-os-release-4.22-presubmits.yaml includes the
optional e2e-aws-ovn job defined by the test configuration.
🪄 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: 42e9af3d-0d2b-4f53-a613-709639be9d88

📥 Commits

Reviewing files that changed from the base of the PR and between b6aaa20 and e0d5ff2.

📒 Files selected for processing (2)
  • ci-operator/config/openshift/os/openshift-os-master__okd-scos.yaml
  • ci-operator/config/openshift/os/openshift-os-release-4.22__okd-scos.yaml

@openshift-ci

openshift-ci Bot commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: Prashanth684
Once this PR has been reviewed and has the lgtm label, please assign aaradhak for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found 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-merge-bot

Copy link
Copy Markdown
Contributor

[REHEARSALNOTIFIER]
@Prashanth684: 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
pull-ci-openshift-os-release-4.22-okd-scos-e2e-aws-ovn openshift/os presubmit Presubmit changed
pull-ci-openshift-os-release-4.22-okd-scos-images openshift/os presubmit Presubmit changed
pull-ci-openshift-os-master-okd-scos-e2e-aws-ovn openshift/os presubmit Ci-operator config changed
pull-ci-openshift-os-master-okd-scos-images openshift/os presubmit Ci-operator config changed
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.

@Prashanth684

Copy link
Copy Markdown
Contributor Author

/pj-rehearse pull-ci-openshift-os-master-okd-scos-images

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

@Prashanth684: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@Prashanth684

Copy link
Copy Markdown
Contributor Author

/pj-rehearse pull-ci-openshift-os-release-4.22-okd-scos-images

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

@Prashanth684: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@openshift-ci

openshift-ci Bot commented Jul 11, 2026

Copy link
Copy Markdown
Contributor

@Prashanth684: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/rehearse/openshift/os/master/okd-scos-images bd8835f link unknown /pj-rehearse pull-ci-openshift-os-master-okd-scos-images
ci/rehearse/openshift/os/release-4.22/okd-scos-images bd8835f link unknown /pj-rehearse pull-ci-openshift-os-release-4.22-okd-scos-images

Full PR test history. Your PR dashboard.

Details

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. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant