Rootless Podman v4 and resource limits working in Github Actions #18080
jennydaman
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We're developing a platform which integrates with Podman, which we want to test using Github Actions.
Podman v3 is pre-installed for the Github Actions runner image
ubuntu-22.04
and it works in rootless mode. However, CPU resource limits do not work:The official documentation has a solution, however it requires the user to log out and back in which isn't possible in a CI environment.
I developed a solution for fixing the above limits problem and also installing the latest Podman in GIthub Actions.
https://github.com/FNNDSC/miniChRIS-k8s/blob/45a6a05a920a9d0cdacb6234cff73f79d1cfae9a/.github/workflows/ci.yml#L15-L40
Since I was unable to find any other solution online, I am sharing mines here hoping it's useful to someone.
Beta Was this translation helpful? Give feedback.
All reactions