[Git][qa/jenkins.debian.net][master] jenkins node: allow to tee to /proc/*/oom_score_adj everywhere
Holger Levsen (@holger)
gitlab at salsa.debian.org
Tue Jan 30 14:10:48 GMT 2024
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
dfc19d83 by Holger Levsen at 2024-01-30T15:10:37+01:00
jenkins node: allow to tee to /proc/*/oom_score_adj everywhere
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
4 changed files:
- hosts/common/etc/sudoers.d/jenkins
- hosts/ionos10-amd64/etc/sudoers.d/jenkins
- hosts/ionos9-amd64/etc/sudoers.d/jenkins
- hosts/jenkins/etc/sudoers.d/jenkins
Changes:
=====================================
hosts/common/etc/sudoers.d/jenkins
=====================================
@@ -11,6 +11,7 @@ jenkins ALL= \
/usr/bin/tee -a /schroots/*, \
/usr/bin/tee /etc/schroot/chroot.d/jenkins*, \
/usr/bin/tee -a /etc/schroot/chroot.d/jenkins*, \
+ /usr/bin/tee /proc/*/oom_score_adj, \
/bin/sed -i * /schroots/reproducible-archlinux/etc/pacman.conf, \
/bin/chmod +x /schroots/*, \
/bin/chmod +x /chroots/*, \
=====================================
hosts/ionos10-amd64/etc/sudoers.d/jenkins
=====================================
@@ -7,6 +7,7 @@ jenkins ALL= \
/usr/bin/tee -a /schroots/*, \
/usr/bin/tee /etc/schroot/chroot.d/jenkins*, \
/usr/bin/tee -a /etc/schroot/chroot.d/jenkins*, \
+ /usr/bin/tee /proc/*/oom_score_adj, \
/bin/chmod +x /schroots/*, \
/bin/chmod +x /chroots/*, \
/bin/tar -c --exclude ./sys/\* --exclude ./proc/\* -f /schroots/*, \
=====================================
hosts/ionos9-amd64/etc/sudoers.d/jenkins
=====================================
@@ -11,7 +11,8 @@ jenkins ALL= \
/usr/sbin/slay 2222, \
/usr/sbin/slay jenkins, \
/usr/bin/apt-get update, \
- /bin/chmod +r /boot/vmlinuz*
+ /bin/chmod +r /boot/vmlinuz*, \
+ /usr/bin/tee /proc/*/oom_score_adj
# keep these environment variables
Defaults env_keep += "http_proxy", env_reset
=====================================
hosts/jenkins/etc/sudoers.d/jenkins
=====================================
@@ -7,6 +7,7 @@ jenkins ALL= \
/usr/bin/tee -a /schroots/*, \
/usr/bin/tee /etc/schroot/chroot.d/jenkins*, \
/usr/bin/tee -a /etc/schroot/chroot.d/jenkins*, \
+ /usr/bin/tee /proc/*/oom_score_adj, \
/bin/sed -i * /schroots/reproducible-archlinux/etc/pacman.conf, \
/bin/chmod +x /schroots/*, \
/bin/chmod +x /chroots/*, \
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/dfc19d83616afaab4796366088fe6266f31d4668
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/dfc19d83616afaab4796366088fe6266f31d4668
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/20240130/97252221/attachment-0001.htm>
More information about the Qa-jenkins-scm
mailing list