diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-05-02 14:19:05 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-05-02 14:19:05 +0200 |
commit | c51851b134748341641911505e214843a92e1322 (patch) | |
tree | 1fc4cd88bf2f3850f23c4b7d1bf1b8b71c3fa6f5 | |
parent | 555380af40ab6d78c066049841429b664c5647f4 (diff) | |
download | jenkins.debian.net-c51851b134748341641911505e214843a92e1322.tar.xz |
reproducible: create debbindiff-schroot for testing too, as ghc differs too much to unstable now
-rwxr-xr-x | bin/reproducible_build.sh | 9 | ||||
-rw-r--r-- | job-cfg/reproducible.yaml | 9 |
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 * * *' |