Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Debian QA
jenkins.debian.net
Commits
6bb841a7
Commit
6bb841a7
authored
Jul 01, 2020
by
Jelmer Vernooij
Committed by
Holger Levsen
Jul 01, 2020
Browse files
Update the janitor schroot.
Signed-off-by:
Holger Levsen
<
holger@layer-acht.org
>
parent
99bdf68c
Changes
2
Hide whitespace changes
Inline
Side-by-side
bin/janitor_setup_worker.sh
View file @
6bb841a7
...
@@ -33,7 +33,8 @@ DISTRO=unstable
...
@@ -33,7 +33,8 @@ DISTRO=unstable
mkdir
-p
$TARGET
/chroots
mkdir
-p
$TARGET
/chroots
if
[
-d
$TARGET
/chroots/janitor-
$DISTRO
-
$ARCH
]
;
then
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
else
echo
"preparing chroot for
$DISTRO
/
$ARCH
."
echo
"preparing chroot for
$DISTRO
/
$ARCH
."
sudo
sbuild-createchroot
$DISTRO
$TARGET
/chroots/janitor-
$DISTRO
-
$ARCH
http://deb.debian.org/debian
sudo
sbuild-createchroot
$DISTRO
$TARGET
/chroots/janitor-
$DISTRO
-
$ARCH
http://deb.debian.org/debian
...
...
hosts/common/etc/sudoers.d/jenkins
View file @
6bb841a7
...
@@ -2,6 +2,7 @@ jenkins ALL= \
...
@@ -2,6 +2,7 @@ jenkins ALL= \
NOPASSWD: /usr/sbin/debootstrap *, \
NOPASSWD: /usr/sbin/debootstrap *, \
/usr/bin/mmdebstrap *, \
/usr/bin/mmdebstrap *, \
/usr/bin/sbuild-createchroot *, \
/usr/bin/sbuild-createchroot *, \
/usr/bin/sbuild-update *, \
/bin/systemctl reset-failed, \
/bin/systemctl reset-failed, \
/usr/bin/tee /schroots/*, \
/usr/bin/tee /schroots/*, \
/usr/bin/tee -a /schroots/*, \
/usr/bin/tee -a /schroots/*, \
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment