V8.13.008.2025.08.22
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
@@ -10,6 +10,6 @@
|
||||
# SPDX-Security-Contact: security@coresecret.eu
|
||||
|
||||
build:
|
||||
counter: 1024
|
||||
counter: 1023
|
||||
version: V8.13.008.2025.08.22
|
||||
# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=yaml
|
||||
|
||||
@@ -33,6 +33,18 @@ jobs:
|
||||
image: debian:trixie
|
||||
|
||||
steps:
|
||||
- name: ⚙️ Is there sufficient space available?
|
||||
run: |
|
||||
set -euo pipefail
|
||||
need_mb=8192
|
||||
avail_mb=$(df -Pm . | awk 'NR==2{print $4}')
|
||||
if [[ "${avail_mb}" -lt "${need_mb}" ]]; then
|
||||
printf "[\e[91mERROR\e[0m] Not enough free space in the working directory: [%s] MiB available < [%s] MiB needed \n " "${avail_mb}" "${need_mb}"
|
||||
exit 1
|
||||
else
|
||||
printf "[\e[92mINFO\e[0m] Free space in the working directory: [%s] MiB available > [%s] MiB needed \n " "${avail_mb}" "${need_mb}"
|
||||
fi
|
||||
|
||||
- name: 🛠️ Basic Image Setup.
|
||||
run: |
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
Reference in New Issue
Block a user