Commit Graph

10 Commits

Author SHA1 Message Date
1cff14662e feat(cd): complete environment support for dev/prod deployments
- Add workflow_dispatch inputs for manual environment selection
- Add detect-environment job to centralize environment detection
- Support both auto-trigger (branch-based) and manual deployment
- Use environment-specific secrets (DATABASE_URL vs DATABASE_URL_TEST)
- Dynamic Cloud Run service names based on environment
- Update concurrency group to use environment for manual triggers
2026-03-15 22:01:17 +04:00
5c6427e3d2 fix(cd): add DB_SCHEMA env var to Cloud Run deployment 2026-03-15 21:03:10 +04:00
0747973c8f feat(db): add rent_payment_destinations column and multi-schema support
- Add migration 0020 for rent_payment_destinations jsonb column
- Add DB_SCHEMA env var support for multi-schema deployments
- Create custom migrate.ts script with proper search_path handling
- Update drizzle.config.ts and client.ts to use DB_SCHEMA
- Add db_schema variable to Terraform with dev=test/prod=public defaults
- Update CD workflow to set DB_SCHEMA based on branch
2026-03-15 20:26:26 +04:00
f4fe4470f7 feat(infra): implement multi-environment deployment strategy
- Update CD workflow for branch-based environments (main -> Prod, dev -> Dev)
- Support Terraform workspaces for environment isolation
- Add manage_runtime_secrets flag to prevent accidental secret destruction
- Add infra management and secret setup utility scripts
- Prefix GitHub deployer identity with environment name
- Synchronize bot environment variables with latest runtime config
2026-03-15 19:11:18 +04:00
1b490fa4a5 fix(deploy): harden runtime config and migrations 2026-03-10 17:10:23 +04:00
4d3c206f5f feat(ops): sync Telegram commands after deploy 2026-03-09 05:15:44 +04:00
efc221f95e docs(test): add e2e runbook and use .bun-version in CI/CD 2026-03-05 20:48:09 +04:00
Stas
4ecafcfe23 feat(infra): add docker image build and deploy pipeline (#13) 2026-03-05 04:01:08 +03:00
8086044938 feat(WHE-27): add drizzle db package and typed env config 2026-03-05 03:05:02 +04:00
Stas
6047e1c5be CI/CD: parallel quality jobs and Cloud Run deploy workflow (#3)
* ci: parallelize CI and add Cloud Run CD workflow

* ci: harden matrix task handling and CD secret checks
2026-03-05 01:13:57 +03:00