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
Add rpms for s390x #11745
base: main
Are you sure you want to change the base?
Add rpms for s390x #11745
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: 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 |
/cc @andreabolognani @andreabolognani I wanted to wait for #11256 before doing this, but since it is blocked i decided to go ahead. |
@jschintag can you please explain the rationale for splitting this off the main s390x PR in the first place? Rushing to add s390x RPMs when nothing uses them yet doesn't make a whole lot of sense to me. Now answering your question: I think we should have the variables, as explicit documentation of the fact that s390x is being treated in a special way. Undoing that as part of my PR is going to be trivial anyway, so don't even worry about that part :) |
Sure, the main point is to have them start being picked up by the caching job, so that i do not need to keep updating them. Additionally, it will make the main PR easier to review, as there is less that needs to be looked at.
Ok, than i will change it that way. I can also undo it myself after your PR merges. |
a92fe6e
to
24866e3
Compare
I'm not convinced this is a benefit. You could argue it's the exact opposite: we'd start mirroring to the Google Cloud storage RPMs that are going to become stale before the code that actually needs them is even merged. I won't actively stand in the way of this PR, but personally I would just drop it and let the work happening in #11256 and #10490 run its course. I understand this requires a bit more work on your side, but it still feels like the correct approach to me. |
Well i think this does have advantages, though it does come with the risk of the packages growing stale before s390x lands upstream. |
This would be a fairly convincing argument if this landed after #11256. I would have no objections at that point. |
@jschintag: The following test failed, say
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. |
Add sandbox and ldd_s390x definitions to rpm/BUILD.bazel. Declare rpmtrees with symlinks and capabilities in rpm/BUILD.bazel. Add centos stream9 repos for s390x. Run make rpm-deps for s390x. Signed-off-by: Jan Schintag <jan.schintag@de.ibm.com>
@andreabolognani I have removed the special casing from this PR and updated the rpms. |
targetcli | ||
util-linux | ||
which | ||
" |
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.
This is now the same as testimage_main
so there's no point in defining it. Make sure you update the caller below as well.
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.
Once that's been taken care of, I have no objections to the PR being merged.
Add sandbox and ldd_s390x definitions to rpm/BUILD.bazel. Declare rpmtrees with symlinks and capabilities in rpm/BUILD.bazel. Add centos stream9 repos for s390x.
Run make rpm-deps for s390x.
What this PR does
Adds the s390x rpm declarations to bazeldnf files, to allow for caching. Does not affect any code or builds, as this is not used by anything in kubevirt yet.
Split off from #10490
Fixes #
Why we need it and why it was done in this way
The following tradeoffs were made:
qemu and libvirt versions are higher than x86 and arm64, as the old ones are no longer available on the centos mirror. They will be bumped by #11256
The following alternatives were considered:
Waiting for #11256 to merge first. However it is currently blocked.
Links to places where the discussion took place:
Special notes for your reviewer
Checklist
This checklist is not enforcing, but it's a reminder of items that could be relevant to every PR.
Approvers are expected to review this list.
Release note