V8.13.008.2025.08.22
Some checks failed
🔐 Generating a Private Live ISO TRIXIE. / 🔐 Generating a Private Live ISO TRIXIE. (push) Failing after 4s
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 1m8s

Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
2025-08-22 10:51:51 +02:00
parent 2dae84270a
commit b466852bca
2 changed files with 32 additions and 1 deletions

View File

@@ -10,6 +10,6 @@
# SPDX-Security-Contact: security@coresecret.eu
build:
counter: 1023
counter: 1024
version: V8.13.008.2025.08.22
# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=yaml

View File

@@ -33,7 +33,37 @@ jobs:
image: debian:trixie
steps:
- name: 🔎 Show workspace & mounts
shell: bash
run: |
set -euo pipefail
echo "GITHUB_WORKSPACE=$GITHUB_WORKSPACE"
pwd
ls -ld "$GITHUB_WORKSPACE"
command -v findmnt >/dev/null || apt-get update && apt-get install -y findmnt || true
findmnt -no SOURCE,TARGET "$GITHUB_WORKSPACE" || true
df -h "$GITHUB_WORKSPACE"
df -h .
- name: ⚙️ Space guards (workspace + LB_PARENTDIR)
shell: bash
env:
LB_PARENTDIR: /work
run: |
set -euo pipefail
need_mb=16384
for p in "${GITHUB_WORKSPACE:?}" "${LB_PARENTDIR:?}"; do
mkdir -p "$p"
avail_mb=$(df -Pm "$p" | awk 'NR==2{print $4}')
printf "[INFO] %s: %s MiB available (need %s MiB)\n" "$p" "$avail_mb" "$need_mb"
if (( avail_mb < need_mb )); then
printf "[\e[91mERROR\e[0m] Not enough free space at: [%s] - [%s] MiB available < [%s] MiB needed. \n" "${p}" "${avail_mb}" "${need_mb}"
exit 1
fi
done
- name: ⚙️ Is there sufficient space available?
shell: bash
run: |
set -euo pipefail
need_mb=8192
@@ -46,6 +76,7 @@ jobs:
fi
- name: 🛠️ Basic Image Setup.
shell: bash
run: |
export DEBIAN_FRONTEND=noninteractive
apt-get update -y