[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible Debian rebuilder 'thing': shown other known .buildinfo files if...
Holger Levsen
gitlab at salsa.debian.org
Fri May 1 00:57:35 BST 2020
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
f8a41fe6 by Holger Levsen at 2020-05-01T01:57:26+02:00
reproducible Debian rebuilder 'thing': shown other known .buildinfo files if specific one cannot be found
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
1 changed file:
- bin/reproducible_debian_rebuilder_prototype.sh
Changes:
=====================================
bin/reproducible_debian_rebuilder_prototype.sh
=====================================
@@ -65,6 +65,8 @@ output_echo "let's try to rebuild $PKG ($VERSION) from $SUITE/$ARCH"
BUILTINPHOPATH=$(psql -A -t -c "SELECT path FROM builds WHERE source='$PKG' AND source_version='$VERSION' AND arch_amd64=true ORDER BY RANDOM() LIMIT 1" buildinfo)
if [ -z "$BUILTINPHOPATH" ] ; then
output_echo "No .buildinfo file found for $PKG ($VERSION) for $ARCH"
+ output_echo ".buildinfo files known for $PKG and arch_amd64 or arch_all"
+ psql -A -t -c "SELECT path FROM builds WHERE source='$PKG' AND (arch_amd64=true OR arch_all=true)" buildinfo
exit 1
fi
FILE="$(echo $BUILTINPHOPATH | cut -d '/' -f5-)"
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/f8a41fe6f02a3d727af9c524f144a53d33b15411
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/f8a41fe6f02a3d727af9c524f144a53d33b15411
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/20200430/61fef9d3/attachment-0001.html>
More information about the Qa-jenkins-scm
mailing list