-
Notifications
You must be signed in to change notification settings - Fork 216
USHIFT-4737: Add tag and digest capabilities to mirror script #4214
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
@pacevedom: This pull request references USHIFT-4737 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 story to target the "4.18.0" version, but no target version was set. In 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 openshift-eng/jira-lifecycle-plugin repository. |
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.
What about dir_to_registry function? Should we not change it?
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.
Changed it to extend tag mirroring to the 2-phase approach as well. See #4214 (comment)
@pacevedom , can we verify that, besides CI, https://github.com/openshift/microshift/blob/main/docs/user/howto_mirror_images.md instructions work after this change? |
@pacevedom , we also need to verify that this production doc is correct and open a bug otherwise: |
Yes, this is also why the dir-to-reg was changed, to preserve the tag capabilities that the one-shot mirror has. I tested with the output from a build phase in CI (container-images-list), both reg-to-dir and dir-to-reg to a local registry.
This needs an update now, as there are no counters for temporary tags anymore and its also capable of mirroring tags, not just sha's. |
f72267d
to
0f848ac
Compare
I opened the OCPBUGS-44921 issue for production docs follow-up. |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ggiguash, pacevedom The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@pacevedom: The following test failed, say
Full PR test history. Your PR dashboard. 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. |
Which issue(s) this PR addresses:
Closes #