diff options
author | Holger Levsen <holger@layer-acht.org> | 2017-06-06 23:51:39 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2017-06-06 23:51:39 +0200 |
commit | 2d8c687cfea3310b55c8fe7cf543760ad4564b7d (patch) | |
tree | 41aa2ae66bf0215f616ba04d554bd6631787b68b /hosts/jenkins | |
parent | c43b4f3e2d537a1e9c2ff510f071d233f202bc50 (diff) | |
download | jenkins.debian.net-2d8c687cfea3310b55c8fe7cf543760ad4564b7d.tar.xz |
Revert "reproducible Debian: add niceness variation (Closes: #863440)"
This reverts commit c43b4f3e2d537a1e9c2ff510f071d233f202bc50.
Diffstat (limited to 'hosts/jenkins')
-rw-r--r-- | hosts/jenkins/etc/sudoers.d/jenkins | 8 |
1 files changed, 7 insertions, 1 deletions
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 |