From 2d8c687cfea3310b55c8fe7cf543760ad4564b7d Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Tue, 6 Jun 2017 23:51:39 +0200 Subject: Revert "reproducible Debian: add niceness variation (Closes: #863440)" This reverts commit c43b4f3e2d537a1e9c2ff510f071d233f202bc50. --- hosts/jenkins/etc/sudoers.d/jenkins | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'hosts/jenkins') diff --git a/hosts/jenkins/etc/sudoers.d/jenkins b/hosts/jenkins/etc/sudoers.d/jenkins index d249be94..95061a32 100644 --- a/hosts/jenkins/etc/sudoers.d/jenkins +++ b/hosts/jenkins/etc/sudoers.d/jenkins @@ -28,13 +28,14 @@ jenkins ALL= \ /usr/bin/qemu-system-x86_64 *, \ /usr/bin/qemu-img *, \ /sbin/lvcreate *, /sbin/lvremove *, \ + /usr/bin/virsh -q snapshot-list *, /usr/bin/virsh snapshot-delete *, \ /bin/mkdir -p /media/*, \ /usr/bin/guestmount *, \ /bin/cp -rv /media/*, \ /bin/chown -R jenkins\:jenkins /var/lib/jenkins/jobs/*,\ SETENV: NOPASSWD: /usr/sbin/pbuilder *, \ SETENV: NOPASSWD: /usr/bin/timeout -k ??.?h ??h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder *, \ - SETENV: NOPASSWD: /usr/bin/timeout -k ??.?h ??h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder *, \ + SETENV: NOPASSWD: /usr/bin/timeout -k ??.?h ??h /usr/bin/ionice -c 3 /usr/bin/nice /usr/bin/unshare --uts -- /usr/sbin/pbuilder *, \ /bin/mv /var/cache/pbuilder/*base*.tgz /var/cache/pbuilder/*base*.tgz, \ /bin/rm /var/cache/pbuilder/*base*.tgz, \ /bin/rm -v /var/cache/pbuilder/*base*.tgz, \ @@ -47,5 +48,10 @@ jenkins ALL= \ /usr/sbin/slay 2222, \ /usr/sbin/slay jenkins +jenkins ALL= \ + (postgres) NOPASSWD: /usr/bin/psql *, \ + /usr/bin/createuser *, \ + /usr/bin/createdb * + # keep these environment variables Defaults env_keep += "http_proxy", env_reset -- cgit v1.2.3-70-g09d2