mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-09 12:17:13 +00:00
New role that runs registry:2 in pull-through proxy mode on the swarm manager. Worker nodes' daemon.json gets a registry-mirrors entry plus the corresponding insecure-registries entry so plain-HTTP traffic to the cache is permitted. The role's inventory group lists exactly one host (manager) so the new inventory-driven topology model resolves DEPLOYMENT_MODE to compose for the cache itself. Within a single deploy run, the three swarm workers all pull the same base images via the cache instead of hitting registry-1.docker.io three separate times. Measured speedup on iter26 vs the no-cache iter21 baseline: pkgmgr/apt-install steps 2.4-2.8x faster, Docker image pulls 1.8-2.8x faster. Cross-iter cache persistence is intentionally out of scope: act recycles the DinD nodes between runs so the cache volume is wiped each time. Cross-run reuse would require either bind-mounting the cache from the host or pointing daemon.json at the dev compose stack's registry-cache; both are tracked separately. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Script Collection
This directory contains automation scripts used across the project.
-
system/ contains host and system-facing helpers.
-
container/ contains helpers that run inside the local container.
-
github/ contains GitHub workflow helper scripts.
-
For the canonical Make target index, see make.md.
-
🛠️ Organize operational helpers for development, CI, release, and maintenance
-
🧭 Separate responsibilities into focused subdirectories with clear scope
-
📚 Keep script-based workflows discoverable and easier to navigate
The scope of this folder is script organization at the repository level. Detailed responsibilities belong in the README files of the respective subdirectories.