Skip to content

ART: ocp-5.0-rhel98.repo: point rhel-9.8 repos to rhel-9 mirror2 paths#79427

Merged
openshift-merge-bot[bot] merged 1 commit into
openshift:mainfrom
ashwindasr:ocp-5.0-rhel98-use-rhel9-paths
May 18, 2026
Merged

ART: ocp-5.0-rhel98.repo: point rhel-9.8 repos to rhel-9 mirror2 paths#79427
openshift-merge-bot[bot] merged 1 commit into
openshift:mainfrom
ashwindasr:ocp-5.0-rhel98-use-rhel9-paths

Conversation

@ashwindasr
Copy link
Copy Markdown
Contributor

@ashwindasr ashwindasr commented May 18, 2026

Summary

  • Replaces rhel-98-* mirror2 paths with rhel-9-* equivalents (e.g. rhel-98-baseosrhel-9-baseos-rpms/)
  • For arch-specific repos (ppc64le, s390x, aarch64), moves the arch suffix from the repo path into the version prefix (e.g. 5.0/rhel-98-baseos-ppc64le5.0_ppc64le/rhel-9-baseos-rpms/)
  • Switches all 4 codeready-builder sections from CDN EUS (cdn.redhat.com/content/eus/rhel9/9.8/...) to mirror2 basic auth (mirror2.openshift.com/enterprise/reposync/5.0_{arch}/rhel-9-codeready-builder-rpms/)
  • Adds trailing slashes to all mirror2 baseurls for consistency

🤖 Generated with Claude Code

Summary

This PR updates the OpenShift 5.0 release controller's RHEL 9.8 repository configuration to consolidate mirror endpoints, aligning downstream mirror targets with upstream ocp-build-data standards.

What's changing:
The release controller's package repository configuration (ocp-5.0-rhel98.repo) now points all RHEL 9.8 package syncs to unified RHEL 9 mirror2 paths instead of RHEL 9.8-specific paths. This affects how the CI infrastructure sources RPM packages during OCP 5.0 builds.

Key impacts:

  • Package sources: All four core repository types (baseos, appstream, nfv, highavailability) and codeready-builder packages are redirected from their RHEL 9.8 locations to RHEL 9 reposync mirror paths under the mirror2.openshift.com infrastructure
  • Multi-architecture support: Architecture-specific repos (ppc64le, s390x, aarch64) are updated to use architecture-prefixed paths (e.g., 5.0_ppc64le/rhel-9-baseos-rpms/) for correct package isolation per architecture
  • CDN to mirror2 migration: Codeready-builder packages move from Redhat's CDN EUS endpoints to the internal mirror2 reposync infrastructure with basic authentication

Why it matters:
This consolidation simplifies the mirror configuration by eliminating RHEL 9.8-specific paths and using the common RHEL 9 mirror structure, reducing configuration complexity and aligning OCP's release infrastructure with build data standards.

Aligns with ocp-build-data#10654 which made rhel9 and rhel98 syncs
point to the same locations. Switches codeready-builder from CDN EUS
to mirror2 basic auth.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@openshift-merge-bot openshift-merge-bot Bot added the rehearsals-ack Signifies that rehearsal jobs have been acknowledged label May 18, 2026
@openshift-merge-bot
Copy link
Copy Markdown
Contributor

[REHEARSALNOTIFIER]
@ashwindasr: no rehearsable tests are affected by this change

Note: If this PR includes changes to step registry files (ci-operator/step-registry/) and you expected jobs to be found, try rebasing your PR onto the base branch. This helps pj-rehearse accurately detect changes when the base branch has moved forward.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 18, 2026

Walkthrough

Repository configuration file ocp-5.0-rhel98.repo systematically updates mirror endpoints across all CPU architectures from RHEL 9.8 base paths to RHEL 9 reposync paths, coordinating x86_64, ppc64le, s390x, and aarch64 sections to use consistent namespace patterns under their respective 5.0 mirror namespaces.

Changes

RHEL 9 Repository Mirror Migration

Layer / File(s) Summary
x86_64 repository endpoints
core-services/release-controller/_repos/ocp-5.0-rhel98.repo
Updates x86_64 baseos, appstream, nfv, highavailability, server-ose, early-kernel, and codeready-builder sections to use RHEL 9 reposync baseurls under the 5.0 namespace.
ppc64le repository endpoints
core-services/release-controller/_repos/ocp-5.0-rhel98.repo
Updates ppc64le baseos, appstream, server-ose, and codeready-builder sections to use RHEL 9 reposync baseurls under the 5.0_ppc64le namespace.
s390x repository endpoints
core-services/release-controller/_repos/ocp-5.0-rhel98.repo
Updates s390x appstream, server-ose, and codeready-builder sections to use RHEL 9 reposync baseurls under the 5.0_s390x namespace.
aarch64 repository endpoints
core-services/release-controller/_repos/ocp-5.0-rhel98.repo
Updates aarch64 appstream, server-ose, and codeready-builder sections to use RHEL 9 reposync baseurls under the 5.0_aarch64 namespace.

🎯 2 (Simple) | ⏱️ ~8 minutes

🚥 Pre-merge checks | ✅ 12
✅ Passed checks (12 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately describes the main change: updating rhel-9.8 repository paths to use rhel-9 mirror2 paths in the configuration file.
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 PR modifies only a .repo configuration file. No Go code, test files, or Ginkgo tests present. Check for Ginkgo test names not applicable.
Test Structure And Quality ✅ Passed This PR modifies only a repository configuration file (ocp-5.0-rhel98.repo), not test code. The custom check for Ginkgo test code quality is not applicable.
Microshift Test Compatibility ✅ Passed This PR only modifies a .repo configuration file (ocp-5.0-rhel98.repo) and does not add any Ginkgo e2e tests. The MicroShift test compatibility check is not applicable.
Single Node Openshift (Sno) Test Compatibility ✅ Passed This PR contains no Ginkgo e2e tests. It only modifies a .repo configuration file and CI/CD metadata. The SNO compatibility check is not applicable.
Topology-Aware Scheduling Compatibility ✅ Passed Not applicable. PR only modifies a repository configuration file (.repo format), not deployment manifests, operator code, or controllers that would introduce scheduling constraints.
Ote Binary Stdout Contract ✅ Passed The OTE Binary Stdout Contract check applies only to executable code. The PR modifies only a .repo configuration file with no executable code, logging, or stdout operations.
Ipv6 And Disconnected Network Test Compatibility ✅ Passed Not applicable: This PR modifies only a .repo configuration file (repository mirror settings), not Ginkgo e2e tests. The custom check targets test code additions only.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.

✏️ 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 Prucek and jmguzik May 18, 2026 14:45
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented May 18, 2026

@ashwindasr: 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.

@jupierce
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 18, 2026
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented May 18, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ashwindasr, jupierce

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 18, 2026
@openshift-merge-bot openshift-merge-bot Bot merged commit ca7c9e4 into openshift:main May 18, 2026
6 checks passed
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented May 18, 2026

@ashwindasr: Updated the following 15 configmaps:

  • base-repos configmap in namespace ocp at cluster build07 using the following files:
    • key ocp-5.0-rhel98.repo using file core-services/release-controller/_repos/ocp-5.0-rhel98.repo
  • base-repos configmap in namespace ocp at cluster build03 using the following files:
    • key ocp-5.0-rhel98.repo using file core-services/release-controller/_repos/ocp-5.0-rhel98.repo
  • base-repos configmap in namespace ocp at cluster build04 using the following files:
    • key ocp-5.0-rhel98.repo using file core-services/release-controller/_repos/ocp-5.0-rhel98.repo
  • base-repos configmap in namespace ocp at cluster build01 using the following files:
    • key ocp-5.0-rhel98.repo using file core-services/release-controller/_repos/ocp-5.0-rhel98.repo
  • base-repos configmap in namespace ocp at cluster build09 using the following files:
    • key ocp-5.0-rhel98.repo using file core-services/release-controller/_repos/ocp-5.0-rhel98.repo
  • base-repos configmap in namespace ocp at cluster build08 using the following files:
    • key ocp-5.0-rhel98.repo using file core-services/release-controller/_repos/ocp-5.0-rhel98.repo
  • base-repos configmap in namespace ocp at cluster build12 using the following files:
    • key ocp-5.0-rhel98.repo using file core-services/release-controller/_repos/ocp-5.0-rhel98.repo
  • base-repos configmap in namespace ocp at cluster build02 using the following files:
    • key ocp-5.0-rhel98.repo using file core-services/release-controller/_repos/ocp-5.0-rhel98.repo
  • base-repos configmap in namespace ocp at cluster build05 using the following files:
    • key ocp-5.0-rhel98.repo using file core-services/release-controller/_repos/ocp-5.0-rhel98.repo
  • base-repos configmap in namespace ocp at cluster vsphere02 using the following files:
    • key ocp-5.0-rhel98.repo using file core-services/release-controller/_repos/ocp-5.0-rhel98.repo
  • base-repos configmap in namespace ocp at cluster build06 using the following files:
    • key ocp-5.0-rhel98.repo using file core-services/release-controller/_repos/ocp-5.0-rhel98.repo
  • base-repos configmap in namespace ocp at cluster build11 using the following files:
    • key ocp-5.0-rhel98.repo using file core-services/release-controller/_repos/ocp-5.0-rhel98.repo
  • base-repos configmap in namespace ocp at cluster core-ci using the following files:
    • key ocp-5.0-rhel98.repo using file core-services/release-controller/_repos/ocp-5.0-rhel98.repo
  • base-repos configmap in namespace ocp at cluster build10 using the following files:
    • key ocp-5.0-rhel98.repo using file core-services/release-controller/_repos/ocp-5.0-rhel98.repo
  • base-repos configmap in namespace ocp at cluster app.ci using the following files:
    • key ocp-5.0-rhel98.repo using file core-services/release-controller/_repos/ocp-5.0-rhel98.repo
Details

In response to this:

Summary

  • Replaces rhel-98-* mirror2 paths with rhel-9-* equivalents (e.g. rhel-98-baseosrhel-9-baseos-rpms/)
  • For arch-specific repos (ppc64le, s390x, aarch64), moves the arch suffix from the repo path into the version prefix (e.g. 5.0/rhel-98-baseos-ppc64le5.0_ppc64le/rhel-9-baseos-rpms/)
  • Switches all 4 codeready-builder sections from CDN EUS (cdn.redhat.com/content/eus/rhel9/9.8/...) to mirror2 basic auth (mirror2.openshift.com/enterprise/reposync/5.0_{arch}/rhel-9-codeready-builder-rpms/)
  • Adds trailing slashes to all mirror2 baseurls for consistency

🤖 Generated with Claude Code

Summary

This PR updates the OpenShift 5.0 release controller's RHEL 9.8 repository configuration to consolidate mirror endpoints, aligning downstream mirror targets with upstream ocp-build-data standards.

What's changing:
The release controller's package repository configuration (ocp-5.0-rhel98.repo) now points all RHEL 9.8 package syncs to unified RHEL 9 mirror2 paths instead of RHEL 9.8-specific paths. This affects how the CI infrastructure sources RPM packages during OCP 5.0 builds.

Key impacts:

  • Package sources: All four core repository types (baseos, appstream, nfv, highavailability) and codeready-builder packages are redirected from their RHEL 9.8 locations to RHEL 9 reposync mirror paths under the mirror2.openshift.com infrastructure
  • Multi-architecture support: Architecture-specific repos (ppc64le, s390x, aarch64) are updated to use architecture-prefixed paths (e.g., 5.0_ppc64le/rhel-9-baseos-rpms/) for correct package isolation per architecture
  • CDN to mirror2 migration: Codeready-builder packages move from Redhat's CDN EUS endpoints to the internal mirror2 reposync infrastructure with basic authentication

Why it matters:
This consolidation simplifies the mirror configuration by eliminating RHEL 9.8-specific paths and using the common RHEL 9 mirror structure, reducing configuration complexity and aligning OCP's release infrastructure with build data standards.

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.

wgahnagl pushed a commit to wgahnagl/release that referenced this pull request May 20, 2026
openshift#79427)

Aligns with ocp-build-data#10654 which made rhel9 and rhel98 syncs
point to the same locations. Switches codeready-builder from CDN EUS
to mirror2 basic auth.

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
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. lgtm Indicates that a PR is ready to be merged. rehearsals-ack Signifies that rehearsal jobs have been acknowledged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants