summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-06-07 13:53:14 +0200
committerHolger Levsen <holger@layer-acht.org>2015-06-07 13:53:14 +0200
commitdc559d219b5119e2b3e2cacfcda0c9ee77c6c3df (patch)
tree049cf54dd767c193810fd118c6dcb209dea58ef0 /bin
parent118d149171d470070405cf18a27485d819a65111 (diff)
downloadjenkins.debian.net-dc559d219b5119e2b3e2cacfcda0c9ee77c6c3df.tar.xz
reproducible coreboot: improve layout, fix irc notification
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_build.sh5
-rwxr-xr-xbin/reproducible_common.sh5
-rwxr-xr-xbin/reproducible_coreboot.sh11
3 files changed, 10 insertions, 11 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index c3473032..23c2601f 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -19,11 +19,6 @@ ARCH="amd64"
# sleep 1-12 secs to randomize start times
/bin/sleep $(echo "scale=1 ; $(shuf -i 1-120 -n 1)/10" | bc )
-irc_message() {
- local MESSAGE="$@"
- kgb-client --conf /srv/jenkins/kgb/debian-reproducible.conf --relay-msg "$MESSAGE" || true # don't fail the whole job
-}
-
create_results_dirs() {
mkdir -p $BASE/dbd/${SUITE}/${ARCH}
mkdir -p $BASE/rbuild/${SUITE}/${ARCH}
diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh
index 7e89a028..b7400adb 100755
--- a/bin/reproducible_common.sh
+++ b/bin/reproducible_common.sh
@@ -360,3 +360,8 @@ print_out_duration() {
echo "$(date) - total duration: ${HOUR}h ${MIN}m ${SEC}s." | tee -a ${RBUILDLOG}
}
+irc_message() {
+ local MESSAGE="$@"
+ kgb-client --conf /srv/jenkins/kgb/debian-reproducible.conf --relay-msg "$MESSAGE" || true # don't fail the whole job
+}
+
diff --git a/bin/reproducible_coreboot.sh b/bin/reproducible_coreboot.sh
index 1ff22e57..a5280bd7 100755
--- a/bin/reproducible_coreboot.sh
+++ b/bin/reproducible_coreboot.sh
@@ -182,11 +182,10 @@ cat > $PAGE <<- EOF
EOF
write_page " <h1>Reproducible Coreboot</h1>"
write_page " <p><em>This is work in progress started on 2015-06-04.</em>"
-write_page " <em>Reproducible builds</em> enable anyone to reproduce bit by bit identical binary packages from a given source. There is a lot more information about <a href=\"https://wiki.debian.org/ReproducibleBuilds\">reproducible builds on the Debian wiki</a> and on <a href=\"https://reproducible.debian.net\">https://reproducible.debian.net</a>.<br />"
-write_page " <em>Reproducible Coreboot</em> is an effort to apply this to coreboot. Thus each coreboot.rom is build twice, with a few varitations added and then those two ROMs are compared using <a href=\"https://tracker.debian.org/debbindiff\">debbindiff</a>.<br />"
-write_page " Currently this is configured to be updated monthly, but as this is brand new, the udate frequency is much higher. Patches are very much welcome, the coreboot pages are solely generated by <a href=\"http://anonscm.debian.org/cgit/qa/jenkins.debian.net.git/tree/bin/reproducible_coreboot.sh\">reproducible_coreboot.sh</a>.<br />"
-write_page " Test were run on $DATE for version ${COREBOOT_VERSION}.<br /> <code>$COREBOOT</code>"
-write_page " </p>"
+write_page " <p><em>Reproducible builds</em> enable anyone to reproduce bit by bit identical binary packages from a given source. There is a lot more information about <a href=\"https://wiki.debian.org/ReproducibleBuilds\">reproducible builds on the Debian wiki</a> and on <a href=\"https://reproducible.debian.net\">https://reproducible.debian.net</a>.</p>"
+write_page " <p><em>Reproducible Coreboot</em> is an effort to apply this to coreboot. Thus each coreboot.rom is build twice, with a few varitations added and then those two ROMs are compared using <a href=\"https://tracker.debian.org/debbindiff\">debbindiff</a>.</p>"
+write_page " <p>Currently this set up to be updated monthly, but as this is brand new, the udate frequency is much higher. Patches are very much welcome, the coreboot pages are solely generated by <a href=\"http://anonscm.debian.org/cgit/qa/jenkins.debian.net.git/tree/bin/reproducible_coreboot.sh\">reproducible_coreboot.sh</a>.</p>"
+write_page " <p>Test were run on $DATE for version ${COREBOOT_VERSION}.</p><p><code>$COREBOOT</code></p>"
write_explaination_table coreboot
write_page " <ul>"
ROMS=0
@@ -198,7 +197,7 @@ for i in * ; do
call_debbindiff $i
if [ -f $TMPDIR/$i.html ] ; then
mv $TMPDIR/$i.html $BASE/coreboot/dbd/$i.html
- write_page " <li><a href=\"dbd/$i.html\"><img src=\"/userContent/static/weather-showers-scattered.png\" alt=\"unreproducible icon\" />$i</a> is unreproducible.</li>"
+ write_page " <li><a href=\"dbd/$i.html\"><img src=\"/userContent/static/weather-showers-scattered.png\" alt=\"unreproducible icon\" /> $i</a> is unreproducible.</li>"
else
write_page " <li><img src=\"/userContent/static/weather-clear.png\" alt=\"reproducible icon\" />$i had no debbindiff output so its probably reproducible :)</li>"
let RROMS+=1