Align CI/CD with shared infra/ci-workflows and drop compose-based CI.
CI / changes (push) Successful in 1m4s
CI / backend (push) Failing after 0s
CI / frontend (push) Failing after 0s

Replace hand-rolled jobs with @v1 callers, capped bake/migrate CD, and remove the docker-compose.ci.yml bridge workaround.
This commit is contained in:
2026-10-06 19:10:58 +08:00
parent 1124c1f079
commit 5a175e3fba
12 changed files with 397 additions and 197 deletions
+3 -2
View File
@@ -18,13 +18,14 @@ DASHBOARD_ORIGIN=https://vigilcare-records.vectur45.com
# Docker network already created by VigilCareClinical's own compose project; that
# stack MUST be up before the first `docker compose -f docker-compose.prod.yml up`.
# Runtime (DML-only) connection used by the API container.
PG_CONNECTION="Host=postgres;Port=5432;Database=vigilcare_records;Username=vigilcare_records_app;Password=CHANGE_ME;SSL Mode=Disable"
# Npgsql key=value form only — never a URI, and do not wrap in quotes (quotes break readiness).
PG_CONNECTION=Host=postgres;Port=5432;Database=vigilcare_records;Username=vigilcare_records_app;Password=CHANGE_ME;SSL Mode=Disable
# DDL-privileged connection used ONLY by the EF migration bundle (CD migrate job).
# CD copies migrate-api to the deploy host and runs it in a one-shot container on
# shared-services, so use the same Docker DNS name as PG_CONNECTION (Host=postgres),
# not an external hostname. Store this as Gitea secret PG_CONNECTION_DDL.
# Never put this credential in the API container environment.
PG_CONNECTION_DDL="Host=postgres;Port=5432;Database=vigilcare_records;Username=vigilcare_records_migrator;Password=CHANGE_ME;SSL Mode=Disable"
PG_CONNECTION_DDL=Host=postgres;Port=5432;Database=vigilcare_records;Username=vigilcare_records_migrator;Password=CHANGE_ME;SSL Mode=Disable
# ---- Redis (shared-services network) ----
# "redis" = the service name on the shared Redis compose project.