summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/reproducible_build.sh9
-rw-r--r--job-cfg/reproducible.yaml9
2 files changed, 16 insertions, 2 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index 8d7dab1c..06737601 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -248,13 +248,18 @@ call_debbindiff() {
local TMPLOG=(mktemp --tmpdir=$TMPDIR)
echo | tee -a ${RBUILDLOG}
local TIMEOUT="30m" # don't forget to also change the "seq 0 200" loop 33 lines above
- DBDVERSION="$(schroot --directory /tmp -c source:jenkins-reproducible-unstable-debbindiff debbindiff -- --version 2>&1)"
+ DBDSUITE=$SUITE
+ if [ "$SUITE" = "experimental" ] ; then
+ # there is no extra debbindiff-schroot for experimental because we specical case ghc enough already ;)
+ DBDSUITE="unstable"
+ fi
+ DBDVERSION="$(schroot --directory /tmp -c source:jenkins-reproducible-${DBDSUITE}-debbindiff debbindiff -- --version 2>&1)"
echo "$(date) - $DBDVERSION will be used to compare the two builds now." | tee -a ${RBUILDLOG}
set +e
set -x
( timeout $TIMEOUT schroot \
--directory $TMPDIR \
- -c source:jenkins-reproducible-unstable-debbindiff \
+ -c source:jenkins-reproducible-${DBDSUITE}-debbindiff \
debbindiff -- \
--html ./${DBDREPORT} \
./b1/${SRCPACKAGE}_${EVERSION}_${ARCH}.changes \
diff --git a/job-cfg/reproducible.yaml b/job-cfg/reproducible.yaml
index fc8e0b7f..b01869a2 100644
--- a/job-cfg/reproducible.yaml
+++ b/job-cfg/reproducible.yaml
@@ -142,6 +142,10 @@
- job-template:
defaults: reproducible
+ name: '{name}_setup_schroot_testing_debbindiff'
+
+- job-template:
+ defaults: reproducible
name: '{name}_setup_schroot_unstable'
- job-template:
@@ -253,6 +257,11 @@
my_timed: '23 0 * * *'
my_shell: '/srv/jenkins/bin/reproducible_setup_schroot.sh reproducible-unstable-debbindiff unstable debbindiff locales-all'
my_recipients: 'qa-jenkins-scm@lists.alioth.debian.org'
+ - '{name}_setup_schroot_testing_debbindiff':
+ my_description: 'Setup schroot for running debbindiff in a testing environment (this is needed to be able to correctly investigate haskell binaries...)'
+ my_timed: '23 0 * * *'
+ my_shell: '/srv/jenkins/bin/reproducible_setup_schroot.sh reproducible-testing-debbindiff testing debbindiff locales-all'
+ my_recipients: 'qa-jenkins-scm@lists.alioth.debian.org'
- '{name}_setup_schroot_unstable':
my_description: 'Setup unstable schroot for fetching source packages for the builder jobs.'
my_timed: '23 1 * * *'