-
Notifications
You must be signed in to change notification settings - Fork 402
chore(ci): fix podman-tests ci to use fedora on lima #3125
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
base: main
Are you sure you want to change the base?
Conversation
0f6d89b to
fd440ed
Compare
|
Hey @sou1118 , thanks for doing this! There are a couple of things in this
Also when I commented we need to fix podman tests, my scope was larger than just this. See the issue for more details, but my main intention was that maybe with lima or something (I'm not much familiar with it) , we could run these tests in fedora instead of ubuntu which solves a lof of our dependencies issues (skopeo and aardvark are packaged for fedora officially and are pretty recent, the bats and bash are also pretty new). Depending on if lima launches a proper vm or just a container we would also be able to solve 3rd point mentioned in the issue. Can you check that? Thanks :) |
|
Hi @YJDoc2. Thank you for the feedback and clarification! I misunderstood the scope of this task. I'll revise the approach to address the points you raised. I'll work on implementing this and update the PR accordingly :-) |
485eb49 to
18f234d
Compare
3a59dc9 to
b0e7d40
Compare
|
Hey @sou1118 , I've cancelled the last run as the tests were failing with Btw, I noticed that you are iterating for fixing the CI and CI fixes are usually pain to get right. I have tried following two ways before to help me iterate faster maybe they can help you as well
Of course you can keep pushing here, but I think maybe these will help you iterate faster. Thanks :) Let me know if you need any help from my side. I might try to take a look at it on weekend. |
b0e7d40 to
9f9013b
Compare
|
Hi @YJDoc2 It seems that in the lima environment, shell command chaining with # build youki
- run: just youki-release
- run: lima sudo rm /usr/bin/crun
- run: lima sudo cp youki /usr/local/bin
- run: lima sudo cp youki /usr/bin/crunYour suggestions for faster iteration (using nektos/act or a personal fork) are very helpful. I'll utilize these methods to work more efficiently on CI problem-solving in the future. Thank you for your advice and support. Please let me know if there are any other issues I can help with. |
594365c to
c93a568
Compare
Signed-off-by: Kattyan <hello@kattyan.dev>
c93a568 to
f857ec6
Compare
|
Hi @YJDoc2! |
Description
This PR fixes a CI workflow for testing the compatibility between Podman and Youki as an OCI runtime. The workflow now uses a Fedora VM via Lima to provide a more stable and appropriate testing environment, ensuring a more accurate assessment of how Youki performs with higher-level container management tools.
This change effect could check it https://github.com/youki-dev/youki/actions/runs/14129458601 .
Type of Change
Testing
Related Issues
Fixes #
Additional Context
The updated workflow:
The move to Fedora provides a more suitable environment for Podman testing, as Fedora is the primary development platform for Podman. This change resolves previous environment issues including PATH variable problems and missing dependencies that were causing test failures.
The test suite now shows significantly improved results, with most tests passing successfully. This confirms that Youki functions properly as a drop-in replacement for other OCI runtimes when used with Podman.