Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornl6720 <nl6720@gmail.com>2021-02-06 10:49:55 +0200
committernl6720 <nl6720@gmail.com>2021-02-06 15:35:55 +0200
commit97f510df81c5eb45c607b826ec6fcf5df007f8fe (patch)
tree9ce5e20ee1cfed8973f12ecdbbc53d4c68d58630
parentf0ef2f3caf7f9078cd9e08e0fb39fece0f8ed972 (diff)
.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`.
-rw-r--r--.gitlab-ci.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a768c0f..4373f41 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -23,7 +23,7 @@ shellcheck:
script:
- ./.gitlab/ci/build-host.sh
after_script:
- - 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
parallel:
matrix:
- PROFILE: [baseline, releng]