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:
kevinveenbirkenbach committed 2026-01-20 20:13:02 +01:00
1 parent 1b07554914
commit 4e0d09e773
9 files changed
+148 -93

No files matched your search

+2
View File
@@ -3,6 +3,7 @@ from __future__ import annotations
import argparse
from typing import Optional
from . import build as cmd_build
from . import deploy as cmd_deploy
from . import down as cmd_down
from . import exec as cmd_exec
@@ -30,6 +31,7 @@ def build_parser() -> argparse.ArgumentParser:
cmd_run.add_parser(sub)
cmd_exec.add_parser(sub)
cmd_logs.add_parser(sub)
cmd_build.add_parser(sub)
return parser