mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-08 03:38:23 +00:00
Introduce scripts/github/enlarge_swap.sh that consumes all remaining space on / minus a 25 GB buffer (Docker layers, checkout, runtime state), falling back to /mnt when / is too small. Replaces the default ~4 GB runner swap so transient memory spikes (e.g. peertube plugin install, issue #162) don't trip the host OOM-killer on the 16 GB GitHub-hosted runner. Wire the script into all four deploy test workflows (local, universal, server, workstation) and flip free-disk-space to the aggressive config (tool-cache, large-packages, docker-images, swap-storage all true): the deploy actually runs inside the infinito container, so host-side toolchains, language runtimes, and the default Docker layer cache are dead weight. Update the workflow SPOT doc accordingly. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
GitHub Workflow Helpers 🔧
This is the SPOT for GitHub workflow helper scripts under scripts/github/.
These helpers are called from .github/workflows/.
For the repository Make target index, see make.md.
Entry Points 📋
| Script | What it does | Used by |
|---|---|---|
cancel_deleted_branch_runs.sh |
Cancels active workflow runs for a deleted branch. | .github/workflows/delete-branch.yml |
cancel_pull_request_runs.sh |
Cancels active workflow runs for a closed pull request. | .github/workflows/cancel-pull-request-runs.yml |
check_git_changes.sh |
Emits a changed=true/false workflow output based on git diff. |
.github/workflows/update.yml |
install_update_python.sh |
Installs Python dependencies needed by the automated update workflows. | .github/workflows/update.yml |
open_update_pr.sh |
Commits update changes, pushes the branch, and creates or refreshes the matching Pull Request. | .github/workflows/update.yml |
update_docker_image_versions.sh |
Runs the Docker image version updater CLI from GitHub Actions. | .github/workflows/update.yml |