]> git.feebdaed.xyz Git - 0xmirror/git.git/commit
github: adapt containerized jobs to be rootless
authorPatrick Steinhardt <ps@pks.im>
Fri, 10 Jan 2025 11:31:59 +0000 (12:31 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 10 Jan 2025 17:15:37 +0000 (09:15 -0800)
commit2a21098b98ae2f9581a91e2e474c397e5cbede12
tree8fdc3e9246f0167d556884bf5eec651330fc32fc
parent65f586132bfa21c3e9fe7b2803ef526133a3b269
github: adapt containerized jobs to be rootless

The containerized jobs in GitHub Actions run as root, giving them
special permissions to for example delete files even when the user
shouldn't be able to due to file permissions. This limitation keeps us
from using containerized jobs for most of our Ubuntu-based jobs as it
causes a number of tests to fail.

Adapt the jobs to create a separate user that executes the test suite.
This follows similar infrastructure that we already have in GitLab CI.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
.github/workflows/main.yml
ci/install-dependencies.sh