[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible Debian: another stab at fixing allowed rsync pathes
Holger Levsen
gitlab at salsa.debian.org
Thu Feb 27 01:12:24 GMT 2020
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
52f883ca by Holger Levsen at 2020-02-27T02:12:16+01:00
reproducible Debian: another stab at fixing allowed rsync pathes
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
2 changed files:
- bin/jenkins_node_wrapper.sh
- bin/reproducible_html_rsync_builtin-pho.sh
Changes:
=====================================
bin/jenkins_node_wrapper.sh
=====================================
@@ -107,7 +107,7 @@ elif [[ "$*" =~ ^rsync\ --server\ .*\ \.\ /var/lib/jenkins/userContent/reproduci
# allow to push buildinfo files from coccia
# FIXME: limit this to pb7
exec rsync --server "$3" . "$5" ; croak "Exec failed";
-elif [[ "$*" =~ ^rsync\ --server\ --sender\ .*\ \.\ /var/lib/jenkins/builtin-pho-html/debian/\* ]] ; then
+elif [[ "$*" =~ ^rsync\ --server\ --sender\ .*\ \.\ /var/lib/jenkins/builtin-pho-html/debian/.* ]] ; then
exec rsync --server "$4" . "$6" ; croak "Exec failed";
elif [[ "$*" =~ ^mkdir\ -p\ /srv/d-i/isos.* ]] ; then
exec mkdir -p "$3" ; croak "Exec failed";
=====================================
bin/reproducible_html_rsync_builtin-pho.sh
=====================================
@@ -12,5 +12,7 @@ common_init "$@"
. /srv/jenkins/bin/reproducible_common.sh
# rsync builtin-pho results from pb7
-rsync -av profitbricks-build7-amd64.debian.net:/var/lib/jenkins/builtin-pho-html/debian/* $BASE/debian/
+for ARCH in ${ARCHS} ; do
+ sync -av profitbricks-build7-amd64.debian.net:/var/lib/jenkins/builtin-pho-html/debian/$ARCH $BASE/debian/$ARCH/
+done
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/52f883ca9a978aad86b0e264f9ae9c4e2b3c3aef
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/52f883ca9a978aad86b0e264f9ae9c4e2b3c3aef
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/20200227/60217019/attachment-0001.html>
More information about the Qa-jenkins-scm
mailing list