Merge remote-tracking branch 'nl6720/no-ls'

* nl6720/no-ls:
  .gitlab/ci/build_releng.sh: replace ls and cat with grep
This commit is contained in:
David Runge 2021-05-17 13:38:30 +02:00
commit c7d639b406
No known key found for this signature in database
GPG key ID: 7258734B41C31549
2 changed files with 1 additions and 4 deletions

View file

@ -72,8 +72,7 @@ create_checksums() {
sha1sum "${_file_name}" > "${_file_name}.sha1"
sha256sum "${_file_name}" > "${_file_name}.sha256"
sha512sum "${_file_name}" > "${_file_name}.sha512"
ls -lah "${_file_name}."{b2,md5,sha{1,256,512}}
cat "${_file_name}."{b2,md5,sha{1,256,512}}
grep -H . -- "${_file_name}."{b2,md5,sha{1,256,512}}
done
cd "${_current_pwd}"
@ -132,7 +131,6 @@ create_metrics() {
printf 'package_count{buildmode="bootstrap"} %s\n' \
"$(sort -u -- "${tmpdir}/"*/bootstrap/root.*/pkglist.*.txt | wc -l)"
} > "${_metrics}"
ls -lah "${_metrics}"
cat "${_metrics}"
print_section_end "metrics"

View file

@ -14,6 +14,5 @@ default:
before_script:
- pacman -Syu --needed --noconfirm qemu-headless
script:
- ls -lah
- ./template/build-host.sh
stage: build