-
Notifications
You must be signed in to change notification settings - Fork 425
Bug 1823143: Implement enhancement for "Add ImageContentSource awareness to oc" #439
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
c962d12 to
fbde626
Compare
|
/hold until enhancement openshift/enhancements#334 merges |
6dba197 to
9ac6924
Compare
f426984 to
8891770
Compare
soltysh
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The ISCP retrieval is good, but we still need to flesh out the details how to apply it properly to release flow.
fbb3eeb to
da11f86
Compare
With this PR, oc can now access the mirrored location rather than only the original. No ICSP is necessary for this, as the user-provided location is simply added to the alternates list (ICSP would be necessary if you needed to This PR solves the above, and with latest commits here is the output of gathering info from a mirrored location: |
2ede768 to
2311d86
Compare
887df6d to
3974838
Compare
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: sallyom, soltysh The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@smarterclayton @soltysh with the added *WithLocation fns in registryclient.client_mirrored, I added the ICSP function back, it is working. See the test cmds for examples: #439 (comment) |
|
I've tried using the oc from this PR to extract the baremetal-installer from a nightly image (edge-01.edge.lab.eng.rdu2.redhat.com:5000/ocp:nightly-2021-03-16-221720) Seems that without the changes from this PR, But when I use the |
|
cc: @soltysh |
When working with mirrored release payloads, a release from a mirrored registry, mylocalregistry/ocp/release:4.5.0-0.nightly-2020-04-18-093630 mirrored from registry.svc.ci.openshift.org/ocp/release:4.5.0-0.nightly-2020-04-18-093630 - both reference 'quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:2eb0a51...'. In case of disconnected, oc will now use 'mylocalregistry/ocp/release' if passed, instead of 'quay.io/openshift-release-dev/ocp-v4.0-art-dev'
|
@sallyom: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions 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/test-infra repository. I understand the commands that are listed here. |
|
This will be split into several PRs, first is #829 |
|
@soltysh: Closed this PR. DetailsIn response to this:
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/test-infra repository. |
|
@sallyom: This pull request references Bugzilla bug 1823143. The bug has been updated to no longer refer to the pull request using the external bug tracker. DetailsIn response to this:
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/test-infra repository. |
This PR implements openshift/enhancements#334:
oc adm release mirrorto either:To Test - See these test commands: #439 (comment)
set up a secure local registry with this script.
For previous discussions and closed/related PRs:
#427
#395
Includes cherry-picks of commits in #745
Includes fake bump with library-go change: openshift/library-go#939