Commit a49153b6 authored by Sven-Hendrik Haase's avatar Sven-Hendrik Haase
Browse files

Merge branch 'add-size-metrics' into 'master'

Add size metric report

See merge request !121
parents ad876940 a5f6fc25
Pipeline #1842 passed with stages
in 28 minutes and 38 seconds
...@@ -29,6 +29,13 @@ shfmt: ...@@ -29,6 +29,13 @@ shfmt:
- . build.env - . build.env
- ./build-in-qemu.sh - ./build-in-qemu.sh
- mv build.env output/ - 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: build:
extends: .build extends: .build
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment