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
David Prévot
jenkins.debian.net
Commits
caed5e8c
Commit
caed5e8c
authored
Apr 25, 2022
by
Roland Clobus
Committed by
Holger Levsen
Apr 25, 2022
Browse files
reproducible_debian_live_build: Publish the last reproducible ISO image
Signed-off-by:
Holger Levsen
<
holger@layer-acht.org
>
parent
77f487f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
bin/reproducible_debian_live_build.sh
View file @
caed5e8c
...
...
@@ -30,13 +30,16 @@ output_echo() {
cleanup
()
{
output_echo
"Publishing results."
# Do not publish the ISO images as artifact, they would be able to consume too much disk space
if
[
!
-z
"
${
RESULTSDIR
}
"
]
;
then
rm
-rf
${
RESULTSDIR
}
/b1
rm
-rf
${
RESULTSDIR
}
/b2
fi
if
[
"
$1
"
==
"success"
]
;
then
# Publish the ISO image and its summary
export
PAGE
=
last-reproducible-image.txt
cp
-a
${
RESULTSDIR
}
/summary_build1.txt
${
PAGE
}
publish_page debian_live_build
export
PAGE
=
last-reproducible-image.iso
cp
-a
${
RESULTSDIR
}
/b1/
${
PROJECTNAME
}
/
${
CONFIGURATION
}
/live-image-amd64.hybrid.iso
${
PAGE
}
publish_page debian_live_build
export
PAGE
=
${
CONFIGURATION
}
-
${
DEBIAN_VERSION
}
.txt
mv
${
RESULTSDIR
}
/summary_build1.txt
${
PAGE
}
rm
${
RESULTSDIR
}
/summary_build2.txt
...
...
@@ -53,6 +56,10 @@ cleanup() {
output_echo
"Error: Something went wrong."
fi
if
[
!
-z
"
${
RESULTSDIR
}
"
]
;
then
# Do not publish the ISO images as artifact, they would be able to consume too much disk space
rm
-rf
${
RESULTSDIR
}
/b1
rm
-rf
${
RESULTSDIR
}
/b2
TMPDIR
=
${
RESULTSDIR
}
save_artifacts debian_live_build
${
CONFIGURATION
}
-
${
DEBIAN_VERSION
}
https://wiki.debian.org/ReproducibleInstalls/LiveImages
fi
...
...
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