[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] Update the janitor schroot.
Holger Levsen
gitlab at salsa.debian.org
Wed Jul 1 17:58:08 BST 2020
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
6bb841a7 by Jelmer Vernooij at 2020-07-01T18:57:48+02:00
Update the janitor schroot.
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
2 changed files:
- bin/janitor_setup_worker.sh
- hosts/common/etc/sudoers.d/jenkins
Changes:
=====================================
bin/janitor_setup_worker.sh
=====================================
@@ -33,7 +33,8 @@ DISTRO=unstable
mkdir -p $TARGET/chroots
if [ -d $TARGET/chroots/janitor-$DISTRO-$ARCH ] ; then
- echo "chroot for $DISTRO/$ARCH exists, good."
+ echo "updating existing chroot for $DISTRO/$ARCH."
+ sudo sbuild-update -udcar unstable-amd64-sbuild
else
echo "preparing chroot for $DISTRO/$ARCH."
sudo sbuild-createchroot $DISTRO $TARGET/chroots/janitor-$DISTRO-$ARCH http://deb.debian.org/debian
=====================================
hosts/common/etc/sudoers.d/jenkins
=====================================
@@ -2,6 +2,7 @@ jenkins ALL= \
NOPASSWD: /usr/sbin/debootstrap *, \
/usr/bin/mmdebstrap *, \
/usr/bin/sbuild-createchroot *, \
+ /usr/bin/sbuild-update *, \
/bin/systemctl reset-failed, \
/usr/bin/tee /schroots/*, \
/usr/bin/tee -a /schroots/*, \
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/6bb841a77f4df10a1750e0e0946f39feb9a41422
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/6bb841a77f4df10a1750e0e0946f39feb9a41422
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/20200701/8607109e/attachment.html>
More information about the Qa-jenkins-scm
mailing list