Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
arch-boxes
Commits
a5f6fc25
Verified
Commit
a5f6fc25
authored
Sep 26, 2020
by
Sven-Hendrik Haase
Browse files
Add size metric report
See also
https://docs.gitlab.com/ee/ci/metrics_reports.html
parent
ad876940
Pipeline
#1841
passed with stages
in 26 minutes and 38 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
a5f6fc25
...
...
@@ -29,6 +29,13 @@ shfmt:
-
. build.env
-
./build-in-qemu.sh
-
mv build.env output/
after_script
:
-
echo "image_size_megabytes{image=\"qcow2\"} $(du -m output/*cloudimg*qcow2)" > metrics.txt
-
echo "image_size_megabytes{image=\"libvirt\"} $(du -m output/*libvirt*box)" >> metrics.txt
-
echo "image_size_megabytes{image=\"virtualbox\"} $(du -m output/*virtualbox*box)" >> metrics.txt
artifacts
:
reports
:
metrics
:
metrics.txt
build
:
extends
:
.build
...
...
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