ORCH-3 (S-3) + M-5: safe deploy rollback + infra hardcode cleanup #20

Merged
admin merged 2 commits from feature/ORCH-3-deploy-rollback into main 2026-06-03 09:39:38 +03:00

2 Commits

Author SHA1 Message Date
Dev (OpenClaw)
39b15bec65 refactor(agents): parametrize infra hardcode (M-5)
Some checks failed
CI / lint (push) Failing after 5s
CI / test (push) Failing after 5s
CI / build (push) Has been skipped
CI / lint (pull_request) Failing after 4s
CI / test (pull_request) Failing after 5s
CI / build (pull_request) Has been skipped
architect.md: server host 82.22.50.71/mva154 -> ${DEPLOY_SSH_HOST:-mva154}. tester.md: repo path -> ${REPO_DIR:-...}, ui-test runner -> ${UI_TEST_RUNNER:-...}. Defaults preserve current behavior; prompts become portable.
2026-06-03 09:37:24 +03:00
Dev (OpenClaw)
c6b8826a66 fix(deploy): move rollback into deploy hook (S-3)
Remove dangerous git checkout $LAST_TAG from deployer prompt: it left the shared working copy in detached HEAD (breaking the next git pull) and did not roll back prod at all. Rollback now goes through the deploy hook (ssh ... bash ${HOOK} --rollback), which restores the app container to the previously running image. Narrow tools to Bash (git, curl) since the deployer no longer invokes docker directly.
2026-06-03 09:37:24 +03:00