mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-29 14:30:52 +00:00
refactor(dev-orchestrator): centralize image build and add up --when-down SPOT
- Introduce cli.deploy.development build subcommand as single build SPOT - Remove legacy compose.build_infinito implementation - Make up use build-missing logic via build handler - Add --when-down flag to up (skip startup if stack already running) - Simplify restart/run to reuse up handler - Ensure tests use up --when-down to avoid stack interference - Make test targets depend on build-missing https://chatgpt.com/share/696fd3c9-99f0-800f-a0ab-33a91058419a
This commit is contained in:
9 files changed
+148
-93
No files matched your search
@@ -9,11 +9,7 @@ echo "============================================================"
|
||||
: "${TEST_PATTERN:?TEST_PATTERN must be set}"
|
||||
: "${TEST_TYPE:?TEST_TYPE must be set}"
|
||||
|
||||
# 1) Bring up the development compose stack (coredns + infinito).
|
||||
# This uses the new Python orchestrator (healthcheck + entry init).
|
||||
python3 -m cli.deploy.development up \
|
||||
--no-build \
|
||||
--distro "${INFINITO_DISTRO}"
|
||||
python3 -m cli.deploy.development up --when-down
|
||||
|
||||
# 2) Run tests inside the already running infinito container via the new exec wrapper.
|
||||
# We keep the old NIX_CONFIG behavior (flake config acceptance) but run it inside the container.
|
||||
|
||||
Reference in new issue
Block a user