Add guided deploy plan

This commit is contained in:
jwinterm
2026-07-06 18:06:42 -04:00
parent db5d9737c0
commit f4a1355212
10 changed files with 668 additions and 4 deletions
+6 -3
View File
@@ -50,6 +50,7 @@ python3 -m ampg --config gateway.toml init site wownero \
--source ../wownero.org-website \
--preset full
python3 -m ampg --config gateway.toml deploy plan --profile vps-full
python3 -m ampg --config gateway.toml build
python3 -m ampg --config gateway.toml doctor
python3 -m ampg --config gateway.toml install-plan --profile vps-full --write-artifacts
@@ -58,9 +59,10 @@ python3 -m ampg --config gateway.toml apply --dry-run --profile vps-full
```
`init site` writes a readable `gateway.toml` with selected transports enabled and common
transports left as one-line toggles. The current `apply --dry-run` prints the activation
sequence and a preflight verdict without changing services. Live apply support will
perform only approved changes.
transports left as one-line toggles. `deploy plan` condenses the lower-level checks into
clear next steps. The current `apply --dry-run` prints the activation sequence and a
preflight verdict without changing services. Live apply support will perform only
approved changes.
## Interaction tiers
@@ -104,6 +106,7 @@ The current implementation is dependency-free Python:
```sh
python3 -m ampg --config gateway.toml init site wownero --domain wownero.org --source ../wownero.org-website --preset full
python3 -m ampg --config examples/wownero.gateway.toml deploy plan --profile vps-full
python3 -m ampg --config examples/wownero.gateway.toml plan
python3 -m ampg --config examples/wownero.gateway.toml plan --write-artifacts
python3 -m ampg --config examples/wownero.gateway.toml status