diff options
| author | nl6720 <nl6720@gmail.com> | 2021-02-06 10:49:55 +0200 |
|---|---|---|
| committer | nl6720 <nl6720@gmail.com> | 2021-02-06 15:35:55 +0200 |
| commit | 97f510df81c5eb45c607b826ec6fcf5df007f8fe (patch) | |
| tree | 9ce5e20ee1cfed8973f12ecdbbc53d4c68d58630 | |
| parent | f0ef2f3caf7f9078cd9e08e0fb39fece0f8ed972 (diff) | |
| download | archiso-97f510df81c5eb45c607b826ec6fcf5df007f8fe.tar.gz archiso-97f510df81c5eb45c607b826ec6fcf5df007f8fe.tar.bz2 | |
.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.yml | 2 |
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] |
