Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
J
jenkins.debian.net
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Debian QA
jenkins.debian.net
Commits
caed5e8c
Commit
caed5e8c
authored
3 years ago
by
Roland Clobus
Committed by
Holger Levsen
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
reproducible_debian_live_build: Publish the last reproducible ISO image
Signed-off-by:
Holger Levsen
<
holger@layer-acht.org
>
parent
77f487f5
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bin/reproducible_debian_live_build.sh
+13
-6
13 additions, 6 deletions
bin/reproducible_debian_live_build.sh
with
13 additions
and
6 deletions
bin/reproducible_debian_live_build.sh
+
13
−
6
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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment