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
OCPBUGS-25346: Generate both oc-mirror binaries for rhel9 and rhel8 #804
OCPBUGS-25346: Generate both oc-mirror binaries for rhel9 and rhel8 #804
Conversation
@sherine-k: This pull request references Jira Issue OCPBUGS-25346, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. 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. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: sherine-k 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 |
@sherine-k: all tests passed! 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/test-infra repository. I understand the commands that are listed here. |
cc @zhouying7780 for validation |
/label qe-approved |
@sherine-k: This pull request references Jira Issue OCPBUGS-25346, which is valid. The bug has been moved to the POST state. 6 validation(s) were run on this bug
Requesting review from QA contact: 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. |
/label backport-risk-assessed |
/label cherry-pick-approved |
/label cherry-pick-approved |
/lgtm |
9621d8f
into
openshift:release-4.15
@sherine-k: Jira Issue OCPBUGS-25346: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-25346 has been moved to the MODIFIED state. 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. |
After openshift/oc-mirror#804 got in, production build configuration followed up with openshift-eng#4475. This was incomplete, as the change to the final layer was not reflected in this configuration update. This PR sets rhel layers as upstream expects, and ensures ENTRYPOINT does not run into a linking error.
Description
This PR cherry-picks the dockerfile changes in order to generate both rhel9 and rhel8 binaries, and adapts them to 4.15 context.
Fixes # OCPBUGS-25346
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Through prow build and automated tests.
Expected Outcome
The docker image generated by the ci should contain 2 binaries: oc-mirror.rhel8 and oc-mirror.rhel9
From the logs of the ci job images, build02 cluster was used.
Login to that cluster ( see instructions
then