stack-orchestrator/stack_orchestrator/deploy
A. F. Dudley 2484abfcce fix: use git rev-parse for repo root in restart command
The repo_root calculation assumed stack paths are always 4 levels deep
(stack_orchestrator/data/stacks/name). External stacks with different
nesting (e.g. stack-orchestrator/stacks/name = 3 levels) got the wrong
root, causing --spec-file resolution to fail.

Use git rev-parse --show-toplevel instead.

Fixes: so-k1k

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-20 15:03:24 +00:00
..
compose cv-c3c: add --image flag to deployment restart command 2026-03-18 22:42:56 +00:00
k8s Multi-deployment: one k8s Deployment per pod in stack.yml 2026-03-20 01:40:45 +00:00
webapp Add Job and secrets support for k8s-kind deployments (#995) 2026-03-11 03:56:21 +00:00
__init__.py Rename app -> stack_orchestrator (#625) 2023-11-07 00:06:55 -07:00
deploy_types.py Add Job and secrets support for k8s-kind deployments (#995) 2026-03-11 03:56:21 +00:00
deploy_util.py Fix pyright type errors across codebase 2026-01-22 01:10:36 -05:00
deploy.py cv-c3c: add --image flag to deployment restart command 2026-03-18 22:42:56 +00:00
deployer_factory.py Add Job and secrets support for k8s-kind deployments (#995) 2026-03-11 03:56:21 +00:00
deployer.py cv-c3c: add --image flag to deployment restart command 2026-03-18 22:42:56 +00:00
deployment_context.py Merge origin/main into multi-port-service 2026-01-24 16:48:11 -05:00
deployment_create.py so-m3m: add credentials-files spec key for on-disk credential injection 2026-03-18 21:55:28 +00:00
deployment.py fix: use git rev-parse for repo root in restart command 2026-03-20 15:03:24 +00:00
dns_probe.py feat(deploy): add deployment restart command 2026-02-03 17:15:19 -05:00
images.py Apply pre-commit linting fixes 2026-01-21 20:58:31 -05:00
spec.py Multi-deployment: one k8s Deployment per pod in stack.yml 2026-03-20 01:40:45 +00:00
stack_state.py Rename app -> stack_orchestrator (#625) 2023-11-07 00:06:55 -07:00
stack.py Apply pre-commit linting fixes 2026-01-21 20:58:31 -05:00