Register college_craft for django deploy (closes #24) #25

Merged
westfarn merged 1 commits from issue-24-college-craft into master 2026-09-02 07:39:04 -07:00
Owner

Summary

  • Closes #24.
  • Register college_craft in app_catalog (type: django, repo ai_ml_operations/college_craft, default branch master).
  • Add host_apps prod :8006 / beta :8016 on adama, roslin, starbuck, apollo, and ai-server-4080.
  • dj-queue worker singleton on adama only (compose_profiles: [worker]); other hosts web-only.
  • Document ports, NPM hosts, Postgres DBs, secrets, Nominatim (10.0.0.128:8089), and the app-repo --app client_site leftover.
  • Add college_craft to scripts/deploy.sh --app help.

Out of scope (ops, after merge)

  • Create Postgres DBs college_craft / college_craft_beta on 10.0.0.230 and grant westfarn.
  • Write control-node secrets ~/Documents/secrets/college_craft/college_craft_{prod,beta}.env.
  • NPM: collegecraft.com (+ www) → :8006; college-craft-preview.aimloperations.com:8016.
  • Smoke deploy after secrets + DBs exist:
    ~/Documents/repos/server-infra/scripts/deploy.sh --app college_craft --env beta --ref master
    ~/Documents/repos/server-infra/scripts/deploy.sh --app college_craft --env prod --ref master
    

Test plan

  • Confirm app_catalog.college_craft matches other django apps (compose_file, migrate_cmd).
  • Confirm ports 8006/8016 unused elsewhere and match across all five hosts.
  • Confirm only adama has compose_profiles: [worker] for college_craft.
  • After secrets + DBs: deploy beta then prod; /healthz/ up on both; prod holding page, beta full site.
## Summary - Closes [#24](https://git.aimloperations.com/ai_ml_operations/server-infra/issues/24). - Register `college_craft` in `app_catalog` (`type: django`, repo `ai_ml_operations/college_craft`, default branch `master`). - Add `host_apps` prod `:8006` / beta `:8016` on **adama**, **roslin**, **starbuck**, **apollo**, and **ai-server-4080**. - dj-queue **worker singleton on adama** only (`compose_profiles: [worker]`); other hosts web-only. - Document ports, NPM hosts, Postgres DBs, secrets, Nominatim (`10.0.0.128:8089`), and the app-repo `--app client_site` leftover. - Add `college_craft` to `scripts/deploy.sh` `--app` help. ## Out of scope (ops, after merge) - Create Postgres DBs `college_craft` / `college_craft_beta` on `10.0.0.230` and grant `westfarn`. - Write control-node secrets `~/Documents/secrets/college_craft/college_craft_{prod,beta}.env`. - NPM: `collegecraft.com` (+ www) → `:8006`; `college-craft-preview.aimloperations.com` → `:8016`. - Smoke deploy after secrets + DBs exist: ```bash ~/Documents/repos/server-infra/scripts/deploy.sh --app college_craft --env beta --ref master ~/Documents/repos/server-infra/scripts/deploy.sh --app college_craft --env prod --ref master ``` ## Test plan - [ ] Confirm `app_catalog.college_craft` matches other django apps (`compose_file`, `migrate_cmd`). - [ ] Confirm ports 8006/8016 unused elsewhere and match across all five hosts. - [ ] Confirm only adama has `compose_profiles: [worker]` for college_craft. - [ ] After secrets + DBs: deploy beta then prod; `/healthz/` up on both; prod holding page, beta full site.
westfarn added 1 commit 2026-09-02 05:02:02 -07:00
Register college_craft for django deploy (closes #24)
Sync runner checkout / sync (pull_request) Successful in 6s
2c78c201be
westfarn merged commit 95fbae8db4 into master 2026-09-02 07:39:04 -07:00
westfarn deleted branch issue-24-college-craft 2026-09-02 07:39:04 -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#25