[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] janitor: Use podman to run worker container.
Holger Levsen (@holger)
gitlab at salsa.debian.org
Sun Sep 4 03:30:30 BST 2022
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
6f620c22 by Jelmer Vernooij at 2022-09-04T04:30:20+02:00
janitor: Use podman to run worker container.
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
3 changed files:
- bin/janitor_setup_worker.sh
- bin/janitor_worker.sh
- update_jdn.sh
Changes:
=====================================
bin/janitor_setup_worker.sh
=====================================
@@ -8,7 +8,6 @@ DEBUG=true
. /srv/jenkins/bin/common-functions.sh
common_init "$@"
-sudo adduser jenkins docker
-docker pull eu.gcr.io/debian-janitor/worker
+sudo sysctl kernel.unprivileged_userns_clone=1
# vim: set sw=0 noet :
=====================================
bin/janitor_worker.sh
=====================================
@@ -2,7 +2,7 @@
set -e
-docker run --rm --cap-add=SYS_ADMIN --privileged \
+podman run --pull always --rm --cap-add=SYS_ADMIN --privileged \
--memory=20g \
-v /srv/janitor:/srv/janitor \
-e BUILD_URL="${BUILD_URL}" \
=====================================
update_jdn.sh
=====================================
@@ -413,7 +413,7 @@ if [ -f /etc/debian_version ] ; then
esac
case $HOSTNAME in
osuosl167*) DEBS="$DEBS
- docker.io
+ podman
" ;;
esac
# notifications are only done from a few nodes
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/6f620c22843983229f34b601895a667a762afbb2
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/6f620c22843983229f34b601895a667a762afbb2
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20220904/2bfb33ca/attachment-0001.htm>
More information about the Qa-jenkins-scm
mailing list