Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Debian QA
jenkins.debian.net
Commits
b40cee9e
Commit
b40cee9e
authored
Aug 26, 2022
by
Holger Levsen
Browse files
reproducible Debian: mmdebstrap jobs: improve output
Signed-off-by:
Holger Levsen
<
holger@layer-acht.org
>
parent
d4aa9f30
Changes
1
Hide whitespace changes
Inline
Side-by-side
bin/reproducible_mmdebstrap.sh
View file @
b40cee9e
...
...
@@ -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"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment