Skip to content

Update oc-mirror locations to CGW following openshift release decoupling#10601

Draft
dorzel wants to merge 1 commit into
openshift:masterfrom
dorzel:CLID-662
Draft

Update oc-mirror locations to CGW following openshift release decoupling#10601
dorzel wants to merge 1 commit into
openshift:masterfrom
dorzel:CLID-662

Conversation

@dorzel

@dorzel dorzel commented Jul 7, 2026

Copy link
Copy Markdown
Member

Changes the oc-mirror download mirror location to the new content gateway (CGW) location following the decoupling of oc-mirror from the openshift release process in version 5.0+.

This is a DRAFT and SHOULD NOT BE MERGED until we know the precise url layout which is TBD. The current location is a stub.

See:

Summary by CodeRabbit

  • Bug Fixes
    • Updated the default download location used for the mirror installer when no custom URL is set, improving install reliability.

@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 Jul 7, 2026
@openshift-ci

openshift-ci Bot commented Jul 7, 2026

Copy link
Copy Markdown

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

@openshift-ci openshift-ci Bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Jul 7, 2026
@coderabbitai

coderabbitai Bot commented Jul 7, 2026

Copy link
Copy Markdown

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository: openshift/coderabbit/.coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: a4e9f0c3-ff71-4c12-add2-0c62dc9d36d0

📥 Commits

Reviewing files that changed from the base of the PR and between f0f5309 and 9860c7a.

📒 Files selected for processing (1)
  • deploy/operator/mirror_utils.sh

Walkthrough

The default value of OC_MIRROR_URL used by install_oc_mirrorv2 in deploy/operator/mirror_utils.sh was changed from an OpenShift stable-4.19 clients path to a cgw/oc-mirror path.

Changes

oc-mirror URL update

Layer / File(s) Summary
Update default download URL
deploy/operator/mirror_utils.sh
Fallback value of OC_MIRROR_URL changed from openshift-v4/.../stable-4.19/oc-mirror.tar.gz to cgw/oc-mirror/oc-mirror.tar.gz.

Estimated code review effort: 1 (Trivial) | ~2 minutes

🚥 Pre-merge checks | ✅ 15
✅ Passed checks (15 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly reflects the main change: moving oc-mirror downloads to CGW after release decoupling.
Description check ✅ Passed The description includes the change summary, draft status, motivation, and linked issues, covering the required template well.
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 PASS: The PR only changes deploy/operator/mirror_utils.sh (a shell script); no Ginkgo test titles or test files were added or modified.
Test Structure And Quality ✅ Passed PR only changes deploy/operator/mirror_utils.sh and adds no Ginkgo test files, so the test-structure checklist is not applicable.
Microshift Test Compatibility ✅ Passed Only deploy/operator/mirror_utils.sh changed; no new Ginkgo tests or MicroShift-unsafe APIs/features were added.
Single Node Openshift (Sno) Test Compatibility ✅ Passed Only deploy/operator/mirror_utils.sh changed, updating a download URL; no new or modified Ginkgo tests were added.
Topology-Aware Scheduling Compatibility ✅ Passed Only the oc-mirror download URL changed in a shell helper; no pod specs, selectors, affinities, replicas, or topology-aware scheduling logic were added.
Ote Binary Stdout Contract ✅ Passed Diff only updates the oc-mirror download URL in a shell helper; no main/init/TestMain or stdout logging behavior changed.
Ipv6 And Disconnected Network Test Compatibility ✅ Passed No Ginkgo/e2e tests were added; the PR only updates a shell script default download URL.
No-Weak-Crypto ✅ Passed The PR only changes an oc-mirror download URL; no weak-crypto, custom crypto, or secret-comparison code is added.
Container-Privileges ✅ Passed Only deploy/operator/mirror_utils.sh changed; no container/K8s manifests or privilege-related fields were added or modified.
No-Sensitive-Data-In-Logs ✅ Passed The only change is a default oc-mirror download URL; no new logging or echo of secrets, tokens, PII, hostnames, or customer data was added.
✨ 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.

@openshift-ci

openshift-ci Bot commented Jul 7, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: dorzel
Once this PR has been reviewed and has the lgtm label, please assign crystalchun 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

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

Labels

do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant