-
Notifications
You must be signed in to change notification settings - Fork 377
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
Tinify artifacts image #1768
base: master
Are you sure you want to change the base?
Tinify artifacts image #1768
Conversation
Only have artifacts relevant to the arch of the image. Also, do not depend on the cli image to have image builds run in parallel.
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: joepvd The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
A possible further optimization is to have |
/retest |
@joepvd: The following tests 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. |
Errors are legit, console wants to serve an arm binary, also when it is itself a x86_64 cluster. |
PR needs rebase. 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. |
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
Stale issues rot after 30d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle rotten |
Currently, the cli-artifacts image compiles all of make-crossbuild targts on all arches. This means that on, say, the s390x image, the mac-arm and ppc64le artifacts are present.
This change also proposes to not depend on the cli image, which will make image builds run in parallel.
To have a look at the
/usr/share/openshift
directory of the current image. In the end result, e.g.current/amd64/
means the contents of the linux/amd64 version of the multi-arch brew image.Current contents of cli-artifacts images
This PR proposes to change that. It runs
make-cross-build-linux$(arch)
for rhel8 and rhel9, the windows and mac targets are only run when appropriately. Test build.The new layout on disk with this change
With this, the combined size of the images gets reduced with more than half: