summaryrefslogtreecommitdiffstats
path: root/bin
AgeCommit message (Collapse)AuthorFilesLines
2016-11-01reproducible Debian: make curl silent when submitting .buildinfo filesHolger Levsen1-2/+2
2016-11-01/me wants a unified syntax for everythingHolger Levsen1-1/+1
2016-11-01fix syntax error…Holger Levsen1-1/+1
2016-11-01reproducible Debian: correct pathes when signing .buildinfo filesHolger Levsen1-4/+5
2016-11-01reproducible Debian: don't fail a build job just because we cannot sign itHolger Levsen1-1/+1
2016-11-01reproducible Debian: log error instead of proceeding silentlyHolger Levsen1-4/+4
2016-10-31reproducible Debian: Greate GPG key on nodes at deploy time, not "lazily".Chris Lamb1-18/+0
Signed-off-by: Chris Lamb <lamby@debian.org> Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-31Make use of gpg more flexibleDaniel Kahn Gillmor1-5/+5
This set of commands should work with modern versions of gpg (2.1.x) as well, and should be independent of potentially variable output. Additionally, we want the key to be signing-capable, but nothing else. We also have no need to generate an encryption-capable subkey, so just drop that part. Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-31reproducible Debian: Remove signed buildinfo files.Chris Lamb1-0/+3
Signed-off-by: Chris Lamb <lamby@debian.org> Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-31reproducible Debian: submit signed .buildinfo files to buildinfo.debian.netChris Lamb1-2/+27
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-31reproducible Debian: avoid DRY by specifying BUILDINFO_SIGNEDChris Lamb1-0/+1
Signed-off-by: Chris Lamb <lamby@debian.org> Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-31g-i: give hurd more time…Holger Levsen1-0/+2
2016-10-28g-i-installation: fix subtile error in workaround…Holger Levsen1-1/+1
2016-10-28reproducible Debian: Use our log_info method instead of manual echo calls.Chris Lamb1-2/+2
Signed-off-by: Chris Lamb <lamby@debian.org> Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-28reproducible Debian: correctly test whether squid is downHolger Levsen1-1/+1
2016-10-25reproducible debian: speed up _html_notes.py a bitValerie R Young1-5/+20
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-25reproducible debian: speed up _scheduler.py significantlyValerie R Young1-1/+1
This fix has to important parts: (1) changing a list to set for fast looks ups, and (2) changing a slqalchemy RowProxy object to a tuple for fast comparisons. Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-25reproducible debian: handle new packages with multiple versionsValerie R Young1-2/+13
This commit fixes a bug introduced by 07849060 Commit 07849060 changed the UPSERT that added new packages to the sources table into an INSERT. If the new package has two versions for (suite, arch) in debian archive, then the INSERT to sources will fail on unique constraint. The changes in this commit provide the same functionality without the UPSERT: there will be no failure, instead only the second source encountered in archive will be saved. Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-25reproducible debian: make more sql sqlite3/postgres agnosticValerie R Young1-13/+22
This commit fixes to things in reproducible_scheduler.py: 1. Do not delete entries in sources table until all foreign references to that source.id are deleted. 2. Cannot "SELECT DISTINCT" and then "ORDER BY" a column that is not in the select. Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-23Revert "reproducible Debian: increase the timeout for sending the files to ↵Holger Levsen1-2/+2
buildinfo.d.n, we want them there…" This reverts commit ecc9afced7a409b3b3076ca9adbac0d413d37a4c.
2016-10-23reproducible Debian: increase the timeout for sending the files to ↵Holger Levsen1-2/+2
buildinfo.d.n, we want them there…
2016-10-23reproducible Debian: Update my email address in reference to ↵Chris Lamb1-1/+1
buildinfo.debian.net. Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-23reproducible Debian: Set a maximum time for curl(1) to upload to ↵Chris Lamb1-2/+2
buildinfo.debian.net Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-22reproducible Debian: emit timestamps for debuggingHolger Levsen1-2/+5
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-22reproducible Debian: submit .buildinfo files to buildinfo.debian.netChris Lamb1-0/+3
Signed-off-by: Chris Lamb <lamby@debian.org> Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-19g-i edu: let's try without sound on server installsHolger Levsen1-1/+1
2016-10-19reproducible Debian: handle broken nodes gracefullyHolger Levsen1-0/+6
2016-10-18reproducible OpenWrt/LEDE: rename common.sh to lede_common.sh to reflect ↵Holger Levsen3-4/+6
their realities & update my copyright years on this code
2016-10-18reproducible debian: replace some direct sqlite3 queriesValerie R Young1-3/+3
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-18reproducible: common.sh: properly escape the double quote signs in the ↵Mattia Rizzolo1-2/+2
footer description those strings will end up in a JSON-like string, which need the " signs to be escaped Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-18reproducible/openwrt|lede: disable linux64 --uname-2.6 for nowAlexander Couzens1-1/+1
First get a working build, second enable more variations later Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-18reproducible/openwrt|lede: openwrt_build_toolchain: enable build_logAlexander Couzens1-2/+4
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-18reproducible/openwrt|lede: use the same directory for lede and openwrtAlexander Couzens1-14/+13
make it simpler not have $TYPE everywhere to get the full build path Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-17reproducible/openwrt|lede: slave: don't trap when buildingAlexander Couzens1-1/+0
In case of an error, it will exit 1 and the master will clean up the tmpdirs of the remote nodes in case of failures. Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-17reproducible/openwrt|lede: node_save_logs(): correct missing content pathAlexander Couzens1-1/+1
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-17reproducible/openwrt|lede: node_save_logs: ignore return code in error caseAlexander Couzens1-4/+4
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-17reproducible debian: fix bug in _scheduler queriesValerie R Young1-4/+4
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-17reproducible debian: add and use query_db bash functionValerie R Young6-83/+87
Signed-off-by: Mattia Rizzolo <mattia@debian.org> Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-17reproducible debian: make python sql more sqlite/postgres agnosticValerie R Young8-98/+107
This commit fixes all the python script sql queries that required minimal editing to be syntactically correct for both sqlite and postgres. Almost all fixes consist of the removal of double quotes from query strings. NOTE: the following scripts expect the schedule table's primary key to autoincrement. Running reproducible_db_maintence.py on a postgres database will not add the necessary autoincrementing functionality at this time. The following script WILL run on the sqlite database but will fail on postgres database constructed from reproducible_db_maintence.py until this is fixed: reproducible_remote_scheduler.py reproducible_schedule.py Signed-off-by: Mattia Rizzolo <mattia@debian.org> Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-17make qa-jenkins-dev@lists.alioth.debian.org even more visibleHolger Levsen1-2/+6
2016-10-17reproducible Debian: refactorHolger Levsen2-3/+1
2016-10-17reproducible Debian: notify the irc channel if the proxy is gone, which ↵Holger Levsen1-1/+7
seems to be an i386 only problem which needs a bug report…
2016-10-16reproducible debian: pkg_sets typo fixNiko Tyni1-1/+1
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2016-10-13reproducible/openwrt|lede: fix name of renamed function in failure pathAlexander Couzens1-3/+3
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-13reproducible_openwrt|lede: remove cleanupAlexander Couzens1-10/+0
it's not needed here, cleanup the whole directory. it also brokes the save_logs in case of failure Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-13reproducible_openwrt|lede: fix mistype in ifAlexander Couzens1-1/+1
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-13reproducible_openwrt|lede: node_save_logs: check input and hardcode pathsAlexander Couzens1-4/+14
improves the security if called over ssh and simplify the script. Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-13reproducible_openwrt|lede: rename save_logs -> node_save_logsAlexander Couzens1-2/+2
In prepation to call it from outside Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-13reproducible_openwrt|lede: allow openwrt_save_logs to call it from outsideAlexander Couzens2-0/+2
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-13reproducible_openwrt|lede: in case of failure: copy logs to $WORKSPACE/resultsAlexander Couzens3-4/+15
Signed-off-by: Holger Levsen <holger@layer-acht.org>