Verified Commit 97f510df authored by nl6720's avatar nl6720
Browse files

.gitlab-ci.yml: use correct units for image size description

`du --block-size=MiB` (and `du -m`) returns mebibytes not megabytes.

Additionally, shorten the du command. `du --block-size=MiB` is the same as `du -m`.
parent f0ef2f3c
Pipeline #5248 passed with stages
in 37 minutes and 43 seconds
......@@ -23,7 +23,7 @@ shellcheck:
- ./.gitlab/ci/
- echo "image_size_megabytes{image=\"${PROFILE}\"} $(du --block-size=MiB -- output/${PROFILE}/*iso)" > metrics.txt
- echo "image_size_mebibytes{image=\"${PROFILE}\"} $(du -m output/${PROFILE}/*iso)" > metrics.txt
- PROFILE: [baseline, releng]
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