mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-06 19:01:54 +00:00
Drops `MAX_LINES` from 12 to 11 in `test_inline_script_block_size.py`, catching the five blocks that were sitting exactly on the previous threshold. Pure-bash blocks move to dedicated `.sh` files invoked via `ansible.builtin.script:` or `run: bash …`; the keycloak heredoc with a templated JSON payload splits into a `set_fact` plus a folded `printf | kcadm … -f -` one-liner. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
19 lines
503 B
Bash
Executable File
19 lines
503 B
Bash
Executable File
#!/usr/bin/env bash
|
|
#
|
|
# Cleanup pass for the Docker / buildx state on a GitHub-hosted runner.
|
|
# Used by images-build-ci.yml as the always-on tail of the build job to
|
|
# free disk before the runner is reused (or recycled).
|
|
set -euo pipefail
|
|
|
|
echo "=== Cleanup ==="
|
|
docker buildx prune -af || true
|
|
docker builder prune -af || true
|
|
docker image prune -af || true
|
|
docker container prune -f || true
|
|
echo
|
|
echo "=== Disk pressure: AFTER CLEANUP ==="
|
|
df -h
|
|
echo
|
|
docker system df || true
|
|
docker buildx du || true
|