Add stop.sh (compose down) and disable print_forge #34

Merged
westfarn merged 1 commits from issue-33-stop-apps into master 2026-09-16 03:11:24 -07:00
Owner

Summary

  • Closes #33.
  • Add scripts/stop.shplaybooks/stop-apps.ymldocker compose down for one --app + --env (no -v; checkouts/secrets stay).
  • host_apps.enabled: false skips deploy (including CI --app) so a stopped app cannot come back. Rows stay for ports and stop.sh.
  • Disable print_forge beta + prod on all app hosts. After merge (or from this branch): ./scripts/stop.sh --app print_forge --env prod and --env beta.

Test plan

  • ./scripts/stop.sh --help shows required --app / --env
  • ansible-playbook playbooks/stop-apps.yml --syntax-check -e app=print_forge -e app_env=prod
  • ./scripts/stop.sh --app print_forge --env prod compose-downs print_forge_prod on all webservers
  • ./scripts/stop.sh --app print_forge --env beta compose-downs print_forge_beta (including adama worker)
  • ./scripts/deploy.sh --app print_forge --env prod --check skips disabled rows (does not start containers)
  • NPM: print-forge-preview.aimloperations.com will 502 until the proxy host is disabled (out of scope)
## Summary - Closes [#33](https://git.aimloperations.com/ai_ml_operations/server-infra/issues/33). - Add `scripts/stop.sh` → `playbooks/stop-apps.yml` → `docker compose down` for one `--app` + `--env` (no `-v`; checkouts/secrets stay). - `host_apps.enabled: false` skips deploy (including CI `--app`) so a stopped app cannot come back. Rows stay for ports and `stop.sh`. - Disable `print_forge` beta + prod on all app hosts. After merge (or from this branch): `./scripts/stop.sh --app print_forge --env prod` and `--env beta`. ## Test plan - [ ] `./scripts/stop.sh --help` shows required `--app` / `--env` - [ ] `ansible-playbook playbooks/stop-apps.yml --syntax-check -e app=print_forge -e app_env=prod` - [ ] `./scripts/stop.sh --app print_forge --env prod` compose-downs `print_forge_prod` on all webservers - [ ] `./scripts/stop.sh --app print_forge --env beta` compose-downs `print_forge_beta` (including adama worker) - [ ] `./scripts/deploy.sh --app print_forge --env prod --check` skips disabled rows (does not start containers) - [ ] NPM: `print-forge-preview.aimloperations.com` will 502 until the proxy host is disabled (out of scope)
westfarn added 1 commit 2026-09-16 03:06:22 -07:00
Add stop.sh (compose down) and disable print_forge.
Sync runner checkout / sync (pull_request) Successful in 6s
61382c254d
Closes #33. Deploy skips host_apps.enabled: false so CI cannot resurrect a stopped app.
westfarn merged commit 726ad971cb into master 2026-09-16 03:11:24 -07:00
westfarn deleted branch issue-33-stop-apps 2026-09-16 03:11:24 -07:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ai_ml_operations/server-infra#34