[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] 2 commits: reproducible alpine: ensure target folder exists
Holger Levsen
gitlab at salsa.debian.org
Wed Jun 5 18:13:58 BST 2019
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
0c6a4c82 by kpcyrd at 2019-06-05T17:13:21Z
reproducible alpine: ensure target folder exists
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
514d5ef5 by kpcyrd at 2019-06-05T17:13:31Z
reproducible alpine: allow untar in sudo
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
3 changed files:
- bin/reproducible_setup_alpine_schroot.sh
- hosts/common/etc/sudoers.d/jenkins
- hosts/jenkins/etc/sudoers.d/jenkins
Changes:
=====================================
bin/reproducible_setup_alpine_schroot.sh
=====================================
@@ -35,6 +35,7 @@ bootstrap() {
curl -fO "$ALPINE_MIRROR/$LATEST_MINIROOT"
echo "$(date -u) - extracting alpine minirootfs"
+ mkdir -p "$SCHROOT_BASE/$TARGET.new"
sudo tar xzf "./$LATEST_MINIROOT" -C "$SCHROOT_BASE/$TARGET.new"
if [ -d "$SCHROOT_BASE/$TARGET" ]; then
=====================================
hosts/common/etc/sudoers.d/jenkins
=====================================
@@ -9,6 +9,7 @@ jenkins ALL= \
/bin/chmod +x /chroots/*, \
/bin/tar -c --exclude ./sys/\* --exclude ./proc/\* -f /schroots/*, \
/bin/tar xzf archlinux-bootstrap-*tar.gz -C /schroots, \
+ /bin/tar xzf ./alpine-minirootfs-*.tar.gz -C /schroots/alpine.new, \
/usr/sbin/chroot /schroots/*, \
/usr/sbin/chroot /chroots/*, \
/usr/sbin/chroot /media/*, \
=====================================
hosts/jenkins/etc/sudoers.d/jenkins
=====================================
@@ -9,6 +9,7 @@ jenkins ALL= \
/bin/chmod +x /chroots/*, \
/bin/tar -c --exclude ./sys/\* --exclude ./proc/\* -f /schroots/*, \
/bin/tar xzf archlinux-bootstrap-*tar.gz -C /schroots, \
+ /bin/tar xzf ./alpine-minirootfs-*.tar.gz -C /schroots/alpine.new, \
/usr/sbin/chroot /schroots/*, \
/usr/sbin/chroot /chroots/*, \
/usr/sbin/chroot /media/*, \
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/compare/a9debc770c9d1b2390014ac49b33ad6c33ad69cd...514d5ef596c15296a06f3828ca33d0a40094a6e5
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/compare/a9debc770c9d1b2390014ac49b33ad6c33ad69cd...514d5ef596c15296a06f3828ca33d0a40094a6e5
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/20190605/d272023b/attachment.html>
More information about the Qa-jenkins-scm
mailing list