Skip to content

USHIFT-6528: Switch to RHEL 9.8 production registry for bootc images#6776

Merged
openshift-merge-bot[bot] merged 1 commit into
openshift:mainfrom
agullon:add-el98-published-images-scenarios-main
May 29, 2026
Merged

USHIFT-6528: Switch to RHEL 9.8 production registry for bootc images#6776
openshift-merge-bot[bot] merged 1 commit into
openshift:mainfrom
agullon:add-el98-published-images-scenarios-main

Conversation

@agullon
Copy link
Copy Markdown
Contributor

@agullon agullon commented May 29, 2026

Update published-images test scenarios from RHEL 9.6 (EL96) to RHEL 9.8 (EL98).

Changes:

  • Replace el96-lrel@published-images-standard1.sh with el98-lrel@published-images-standard1.sh
  • Replace el96-lrel@published-images-standard2.sh with el98-lrel@published-images-standard2.sh
  • Update VM name: rhel96-bootcrhel98-bootc
  • Update expected OS version: 9.69.8 (standard1 scenario)

Both scenarios maintain signature verification for published MicroShift images and follow the same testing pattern as their EL96 predecessors.

Related PR:

Summary by CodeRabbit

  • Tests
    • Updated test scenarios to support validation of RHEL 9.8 bootc container images
    • Enhanced test infrastructure with OS version verification for the latest RHEL 9.8 releases
    • Maintained all existing test logic for image resolution, firewall configuration, and signature validation

Replace RHEL 9.6 (EL96) published-images test scenarios with RHEL 9.8
(EL98) versions. These scenarios enable testing of published MicroShift
container images with signature verification.

Changes:
- Remove el96-lrel@published-images-standard1.sh
- Remove el96-lrel@published-images-standard2.sh
- Add el98-lrel@published-images-standard1.sh
- Add el98-lrel@published-images-standard2.sh
- Update VM name from rhel96-bootc to rhel98-bootc
- Update expected OS version from 9.6 to 9.8

The new EL98 scenarios follow the same pattern as the removed EL96
scenarios with appropriate RHEL version updates.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

pre-commit.check-secrets: ENABLED
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 29, 2026

Walkthrough

Test scenario scripts for RHEL 9.8 bootc are updated to launch the rhel98-bootc VM image instead of rhel96-bootc, and the expected OS version test parameter is updated from 9.6 to 9.8.

Changes

RHEL 9.8 Scenario Test Updates

Layer / File(s) Summary
Test scenario VM and version updates
test/scenarios-bootc/el9/releases/el98-lrel@published-images-standard1.sh, test/scenarios-bootc/el9/releases/el98-lrel@published-images-standard2.sh
Both scenario scripts now launch rhel98-bootc VM instead of rhel96-bootc. Standard1 also updates the EXPECTED_OS_VERSION test variable to 9.8 instead of 9.6.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

🚥 Pre-merge checks | ✅ 13 | ❌ 2

❌ Failed checks (2 warnings)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
Title check ⚠️ Warning The title mentions 'RHEL 9.8 production registry' but the changes are about updating test scenarios from EL96 to EL98, not switching registries. Revise title to accurately reflect the change: 'Replace EL96 with EL98 in published-images test scenarios' or similar.
✅ Passed checks (13 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
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 PR changes are Bash scenario scripts (not Ginkgo tests). They define shell functions (scenario_create_vms, scenario_remove_vms, scenario_run_tests), not Ginkgo test definitions.
Test Structure And Quality ✅ Passed PR contains only Bash scenario scripts, not Ginkgo test code. Custom check for Ginkgo test quality is not applicable.
Microshift Test Compatibility ✅ Passed PR modifies only Bash scenario scripts, not Ginkgo e2e tests. No new Ginkgo test code (It, Describe, Context, When patterns) detected.
Single Node Openshift (Sno) Test Compatibility ✅ Passed PR contains only bash scenario configuration scripts updating EL96 to EL98, not new Ginkgo e2e tests that require SNO compatibility review.
Topology-Aware Scheduling Compatibility ✅ Passed PR modifies only bash test scenario scripts that set up test VMs. No deployment manifests, operator code, or Kubernetes scheduling constraints introduced.
Ote Binary Stdout Contract ✅ Passed PR modifies only Bash scenario scripts in test/scenarios-bootc/el9/releases/, not OTE binary code. Custom check is inapplicable as it targets Go process-level stdout writes.
Ipv6 And Disconnected Network Test Compatibility ✅ Passed This PR modifies Bash scenario shell scripts, not Ginkgo e2e tests. The custom check applies only to new Ginkgo tests (It(), Describe(), etc.), which are not present in these changes.
No-Weak-Crypto ✅ Passed No weak cryptography patterns (MD5, SHA1, DES, RC4, 3DES, Blowfish, ECB), custom crypto implementations, or non-constant-time secret comparisons detected in the modified test scenario scripts.
Container-Privileges ✅ Passed The PR changes only bash test scenario scripts with no container/K8s manifest definitions, making the container-privileges check not applicable.
No-Sensitive-Data-In-Logs ✅ Passed The two EL98 scenario files contain no logging statements exposing passwords, tokens, API keys, PII, session IDs, or sensitive data. Only safe configuration variables and function calls are present.

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

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

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

@openshift-ci openshift-ci Bot requested review from ggiguash and jogeo May 29, 2026 16:33
@openshift-ci openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 29, 2026
@agullon agullon changed the title Replace EL96 with EL98 published-images scenarios USHIFT-6528: Replace EL96 with EL98 published-images scenarios May 29, 2026
@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label May 29, 2026
@openshift-ci-robot
Copy link
Copy Markdown

openshift-ci-robot commented May 29, 2026

@agullon: This pull request references USHIFT-6528 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the bug to target either version "5.0." or "openshift-5.0.", but it targets "openshift-4.22" instead.

Details

In response to this:

Update published-images test scenarios from RHEL 9.6 (EL96) to RHEL 9.8 (EL98).

Changes:

  • Replace el96-lrel@published-images-standard1.sh with el98-lrel@published-images-standard1.sh
  • Replace el96-lrel@published-images-standard2.sh with el98-lrel@published-images-standard2.sh
  • Update VM name: rhel96-bootcrhel98-bootc
  • Update expected OS version: 9.69.8 (standard1 scenario)

Both scenarios maintain signature verification for published MicroShift images and follow the same testing pattern as their EL96 predecessors.

Related PR:

Summary by CodeRabbit

  • Tests
  • Updated test scenarios to support validation of RHEL 9.8 bootc container images
  • Enhanced test infrastructure with OS version verification for the latest RHEL 9.8 releases
  • Maintained all existing test logic for image resolution, firewall configuration, and signature validation

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 openshift-eng/jira-lifecycle-plugin repository.

@agullon agullon changed the title USHIFT-6528: Replace EL96 with EL98 published-images scenarios USHIFT-6528: Switch to RHEL 9.8 production registry for bootc images May 29, 2026
@agullon
Copy link
Copy Markdown
Contributor Author

agullon commented May 29, 2026

/verified by CI

@openshift-ci-robot openshift-ci-robot added the verified Signifies that the PR passed pre-merge verification criteria label May 29, 2026
@openshift-ci-robot
Copy link
Copy Markdown

@agullon: This PR has been marked as verified by CI.

Details

In response to this:

/verified by CI

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 openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented May 29, 2026

@agullon: all tests passed!

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.

@ggiguash
Copy link
Copy Markdown
Contributor

/lgtm

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label May 29, 2026
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented May 29, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: agullon, ggiguash

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-merge-bot openshift-merge-bot Bot merged commit 0ce9584 into openshift:main May 29, 2026
13 checks passed
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. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged. verified Signifies that the PR passed pre-merge verification criteria

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants