mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-08 11:46:35 +00:00
With env.development and env/ci.env both gone, env/default.env was the
last inhabitant of the directory. Hoisting it to the repo root removes
the empty-shell indirection: the SPOT is now [default.env](default.env),
sitting next to .env (its generated companion) and other repo-root
configuration artefacts like compose.yml, Dockerfile, and Makefile.
Path updates land in:
- generator: cli/meta/env/__main__.py (REPO_ROOT / "default.env")
- workflow: .github/workflows/test-install-make.yml (awk reads from
default.env, error message updated in lockstep)
- lint tests: test_used_keys_declared.py and test_infinito_prefix.py
switched from globbing env/*.env to targeting default.env directly;
test_default_env_keys_handled.py points at the new path
- drift test: test_inventory_vars_file_spot.py whitelist + STATIC_ENV
- smoke test: tests/integration/meta/env/test_dotenv_generator.py
STATIC_ENV + every docstring/error message
Doc-string and prose references in utils/env/*, scripts/*,
cli/administration/deploy/development/{common,coredns}.py,
Makefile, Dockerfile, and every doc page that mentioned env/default.env
are rewritten in the same pass so future readers see one path.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
CoreDNS Sidecar Config 🛰️
Static configuration for the coredns service in compose.yml.
The sidecar resolves the dev/CI stack's internal hostnames so the infinito runner can reach its own applications without hitting an external resolver.
Scope 📋
- This directory MUST contain only files consumed by the
corednscompose service. - The
Corefile.tmplMUST be the source of truth. It is rendered toCorefileby coredns.py viaenvsubst, using values from.env(generated from default.env, overridable through the CLI's environment). - The rendered
Corefileis build artefact and MUST stay in.gitignore.
Files 📄
Corefile.tmpl:envsubsttemplate processed at stack start.Corefile: rendered output, bind-mounted read-only into thecorednscontainer at/Corefile.