Merge branch 'deploy-swap-hold' into main
README: deploy with --swap hold when execution is enabled
1 file changed,
+5
−0
README.md+5 −0
CI failed — run details
diff --git a/README.md b/README.md| index eaa1f92e..52f304c3 100644 |
| --- a/README.md |
| +++ b/README.md |
| @@ -72,6 +72,11 @@ default arm64 build: |
| carlos deploy --app equipo --account oficina --channel edge --timeout 5m ./releases/equipo-linux-arm64 |
| ``` |
| +With `EQUIPO_EXECUTION_ENABLED=1`, add `--swap hold` (before the binary path). Only one |
| +process may own execution, so the old build must stop before the new one starts; |
| +without it the new build exits with "This record changed" and the rollout stops. |
| + |
| + |
| Keep the flags before the binary path. After deployment, poll `GET /api/version` |
| on the deployed origin until the process reports the stamped commit. The |
| router's `X-Carlos-Version` header does not confirm the running process version. |