Reclaim runner disk before CICD image build
Some checks failed
CICD / Build and Publish CICD Base Image (push) Successful in 35s
CICD / Build and Push CICD Image (push) Successful in 43m55s
CICD / Frontend Tests (push) Successful in 42s
CICD / Backend Doctests (push) Successful in 25s
CICD / Pre-commit Checks (push) Successful in 11m22s
CICD / Backend Tests (push) Failing after 12m9s
CICD / Build and Publish Runtime Images (push) Has been skipped
CICD / Runtime Black-Box Integration Tests (push) Has been skipped
CICD / End-to-End Tests (push) Has been skipped

This commit is contained in:
copilotcoder
2026-07-06 13:01:27 -04:00
parent fe02644e1d
commit 9a43d9090b

View File

@@ -239,6 +239,17 @@ jobs:
umask 077
trap 'rm -f /tmp/ssh_key' EXIT
echo "=== Pre-build disk telemetry ==="
df -h || true
if command -v docker >/dev/null 2>&1; then
docker system df || true
docker builder prune -af || true
docker system prune -af --volumes || true
echo "=== Post-prune disk telemetry ==="
df -h || true
docker system df || true
fi
echo "${PACKAGE_ACCESS_TOKEN}" | docker login "http://${GITEA_REGISTRY}" -u "${REGISTRY_USER}" --password-stdin
BASE_HASH="${BASE_HASH_INPUT:-${BASE_HASH_FROM_BUILD}}"