mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-11 13:17:07 +00:00
py/unused-import on PR #625 (mirror/model.py:10): the module only re-imported ImageRef from utils.docker.image.discovery. providers.py and the four mirror tests import it from there, as wait/__main__.py already did; no other importer exists. 🎯 Fix: 97 % 💥 Break: 2 % 💸 Cost: – ⏱️ Time: – 🛡️ Security: ~100 % 🏆 Score: 95 🚦 Gate: ✅ 90/5, cost and time <= 100, security 100 % Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Mirror 🪞
Plan and execute the GHCR image mirror pipeline: emit the mirrors.yml mapping that redirects role-declared images to the GHCR mirror, push images upstream-to-GHCR, and clean up stale mirror packages.
The sync also mirrors the images the CI runner pulls itself, outside every role: the tagged image literals of compose.yml and compose/cache.override.yml, and the image keys of default.env listed in RUNNER_ENV_IMAGES (discovery.py). On a GitHub runner, runner_mirror.py layers a generated compose override that points those services at their mirror, and hands the certificate generator the mirrored init image.