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
f232684f
Commit
f232684f
authored
Aug 30, 2022
by
Holger Levsen
Browse files
reproducible Debian: refactoring
Signed-off-by:
Holger Levsen
<
holger@layer-acht.org
>
parent
73cc19d3
Changes
2
Show whitespace changes
Inline
Side-by-side
bin/reproducible_debstrap.sh
View file @
f232684f
...
...
@@ -49,9 +49,6 @@ if [ "$SUITE" != "unstable" ] ; then
else
CODENAME
=
sid
fi
S_D_E_DATE
=
"
$(
grep
$CODENAME
/usr/share/distro-info/debian.csv |
awk
-F
','
'{print $4}'
)
"
export
SOURCE_DATE_EPOCH
=
"
$(
date
+%s
-d
$S_D_E_DATE
)
"
output_echo
"SOURCE_DATE_EPOCH=
$SOURCE_DATE_EPOCH
that is
$S_D_E_DATE
which is when
$SUITE
was created."
export
BUILDDIR
=
$(
mktemp
--tmpdir
=
/srv/workspace/
-d
-t
${
TOOL
}
-
${
SUITE
}
.XXXXXXXX
)
export
RESULTSDIR
=
$(
mktemp
--tmpdir
=
/srv/reproducible-results
-d
-t
${
TOOL
}
-
${
SUITE
}
.XXXXXXXX
)
# accessible in schroots, used to compare results
...
...
@@ -62,6 +59,11 @@ trap cleanup INT TERM EXIT
# Randomize start time
delay_start
# SOURCE_DATE_EPOCH needs to be set to allow clamping file timestamps newer than this.
S_D_E_DATE
=
"
$(
grep
$CODENAME
/usr/share/distro-info/debian.csv |
awk
-F
','
'{print $4}'
)
"
export
SOURCE_DATE_EPOCH
=
"
$(
date
+%s
-d
$S_D_E_DATE
)
"
output_echo
"SOURCE_DATE_EPOCH=
$SOURCE_DATE_EPOCH
that is
$S_D_E_DATE
which is when
$SUITE
was created."
# Actual run ${TOOL} twice
for
LOOP
in
"first"
"second"
;
do
case
$LOOP
in
...
...
bin/reproducible_html_nodes_info.sh
View file @
f232684f
...
...
@@ -254,8 +254,12 @@ build_job_health_page() {
"html_(all|break|dash|dd|index|live|node|pkg|repo)"
"(reproducible_compare|pool)"
"reproducible_diffoscope"
"reproducible_(cdeboot|deboot|mmdeb)strap"
"reproducible_debian_live_build"
"reproducible_mmdebstrap"
"reproducible_debootstrap"
"reproducible_cdebootstrap"
"reproducible_debian_live_build.*bullseye"
"reproducible_debian_live_build.*bookworm"
"reproducible_debian_live_build.*sid"
"(reprotest|strip-nonderminism|disorderfs)"
"(json|le_scheduler|meta|le_nodes|rsync|notes)"
"archlinux"
...
...
@@ -288,6 +292,7 @@ build_job_health_page() {
|
sed
's#builds_##'
\
|
sed
's#_diffoscope_amd64##'
\
|
sed
's#compare_Debian_##'
\
|
sed
's#debian_live_build#live#'
\
|
sed
's#_#-#g'
\
)
"
write_page
"<th>
$SHORTNAME
</th>"
...
...
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