-
Notifications
You must be signed in to change notification settings - Fork 51
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
feat(22.04): add crun and uidmap slices #222
feat(22.04): add crun and uidmap slices #222
Conversation
Diff of dependencies: |
9918164
to
9353b0e
Compare
9353b0e
to
b27cca4
Compare
0a9ce98
to
815a5f5
Compare
815a5f5
to
520e1b4
Compare
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.
Looks good. There are some issues regarding the linting (see workflow runs) to be fixed, and it is suggested to add the copyright files explicitly in the slice definitions.
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.
slice names to sorted, and copyright need to be added:
- crum:
/usr/share/doc/crun/copyright:
- libaudit-common:
/usr/share/doc/libaudit-common/copyright:
- libaudit1:
/usr/share/doc/libaudit1/copyright:
- libcap-ng0:
/usr/share/doc/libcap-ng0/copyright:
- libcap2:
/usr/share/doc/libcap2/copyright:
- liblz4-1:
/usr/share/doc/liblz4-1/copyright:
- libseccomp2:
/usr/share/doc/libseccomp2/copyright:
- libsystemd0:
/usr/share/doc/libsystemd0/copyright:
- libyajl2:
/usr/share/doc/libyajl2/copyright:
- uidmap:
/usr/share/doc/uidmap/copyright:
520e1b4
to
50d6c35
Compare
add copyright slice
sort essential
50d6c35
to
dce30f2
Compare
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.
LGTM, thanks!
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.
Looks all good to me. Thanks!
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 slices look good, thanks! Only left a few comments below.
With the recent changes around testing in the upstream branch, I think it would be nice to have a spread test for crun
and uidmap
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.
Updated the trivial changes myself. Looks good to me, thank you!
Tried to add a smoke test by running crun --version
in a chroot
env, but crun
runs into an error. Probably this is related: containers/crun#1434. Reverted the commit I added for smoke test. Please feel free to add a smoke test of your own!
@rebornplusplus this is actually a very similar issue to #274 -> If we can't find a workaround until tomorrow, let's just add a |
@endersonmaia how urgent is this? I'm trying to find a different testing strategy to support such privileged tests like yours, but it could take a few days. If you need this now, I'm happy to merge it with the simplified tests and improve those later on. |
I'm using my fork's branch to have this in my build pipeline, so it's not urgent. |
Thanks @endersonmaia and thanks for the suggestions. I already have #317 up to introduce LXD as a backend for the tests execution. I've tested it with your PR and seemed to work just fine. So once it's merged, we can rebase your PR. If you have some tests, please add them and I'll re-trigger the CI after the rebase |
@rebornplusplus (or @endersonmaia ) could you please add such test here (and counterpart releases)? 🙏 |
Alright, I've added the |
Proposed changes
Add crun and uidmap slices to 22.04.
Close #221
Related issues/PRs
Forward porting
Testing
Will
Expected:
Checklist
Additional Context