[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible Debian rebuilder 'thing': specify database

Holger Levsen gitlab at salsa.debian.org
Thu Apr 30 23:25:48 BST 2020



Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net


Commits:
44590e36 by Holger Levsen at 2020-05-01T00:25:21+02:00
reproducible Debian rebuilder 'thing': specify database

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
=====================================
@@ -51,7 +51,7 @@ set_poolpath() {
 #
 
 # query a random .buildinfo file path from builtin-pho db
-BUILTINPHOPATH=$(psql -A -t -c 'SELECT path FROM builds WHERE arch_amd64=true ORDER BR RANDOM() limit 1')
+BUILTINPHOPATH=$(psql -A -t -c 'SELECT path FROM builds WHERE arch_amd64=true ORDER BR RANDOM() LIMIT 1 buildinfo')
 FILE="$(echo $BUILTINPHOPATH | cut -d '/' -f5-)"
 PKG="$(echo $FILE | cut -d '_' -f1)"
 VERSION="$(echo $FILE | cut -d '_' -f2)"



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/44590e36ccac591ed582b0161b43ba2676757fdc

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/44590e36ccac591ed582b0161b43ba2676757fdc
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/b9627861/attachment.html>


More information about the Qa-jenkins-scm mailing list