Commit Graph

2 Commits

Author SHA1 Message Date
Matt f9364d2176 Add migrations 018-025 to post-deploy.sql for automatic deployment
Build and Push Docker Images / build-portal (push) Successful in 3m5s Details
Build and Push Docker Images / build-infra (docker/db, monacousa-db) (push) Successful in 1m3s Details
Build and Push Docker Images / build-infra (docker/kong, monacousa-kong) (push) Successful in 22s Details
Build and Push Docker Images / build-infra (docker/migrate, monacousa-migrate) (push) Successful in 1m1s Details
All new migrations are now embedded in post-deploy.sql (idempotent),
so they run automatically on `docker compose up` via the migrate container.
Both deploy/ and docker/migrate/ copies are kept in sync.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-10 18:11:02 +01:00
Matt 1a6bce9c67 Add automatic post-deploy migrations and fix storage healthchecks
Build and Push Docker Image / build (push) Successful in 2m34s Details
- Add deploy/post-deploy.sql: idempotent script that ensures storage
  RLS policies, buckets, notifications table, and migration 017 are
  applied on every deploy
- Add migrate service to docker-compose: one-shot container that runs
  post-deploy.sql after storage-api creates its tables
- Add migrate command to deploy.sh with retry logic
- Fix studio/storage healthchecks (start_period, || exit 0)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-06 09:58:19 +01:00