Commit b40cee9e authored by Holger Levsen's avatar Holger Levsen
Browse files

reproducible Debian: mmdebstrap jobs: improve output



Signed-off-by: Holger Levsen's avatarHolger Levsen <holger@layer-acht.org>
parent d4aa9f30
......@@ -26,6 +26,7 @@ cleanup() {
# Init some variables
export SUITE="$1"
export SOURCE_DATE_EPOCH="$(date +%s)"
output_echo "SOURCE_DATE_EPOCH=$SOURCE_DATE_EPOCH"
export BUILDDIR=$(mktemp --tmpdir=/srv/workspace/ -d -t mmdebstrap-${SUITE}.XXXXXXXX)
export RESULTSDIR=$(mktemp --tmpdir=/srv/reproducible-results -d -t mmdebstrap-${SUITE}.XXXXXXXX) # accessible in schroots, used to compare results
......@@ -50,9 +51,9 @@ sha256sum $RESULTSDIR/b1/mmdebstrap/${SUITE}.tar $RESULTSDIR/b2/mmdebstrap/${SUI
# show human readable results
if diff $RESULTSDIR/b1/mmdebstrap/${SUITE}.tar $RESULTSDIR/b2/mmdebstrap/${SUITE}.tar ; then
echo "Success: mmdebstrap of $SUITE is reproducible today."
output_echo "Success: mmdebstrap of $SUITE is reproducible today."
else
echo "Warning: mmdebstrap of $SUITE is not reproducible."
output_echo "Warning: mmdebstrap of $SUITE is not reproducible."
# Run diffoscope on the images
output_echo "Calling diffoscope on the results."
TIMEOUT="240m"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment