Complete M7.2 PostgreSQL adapter and migration bootstrap

This commit is contained in:
dingo
2026-09-28 07:55:18 -04:00
parent 0b9ed18503
commit 60bb492123
24 changed files with 784 additions and 4 deletions
+15
View File
@@ -118,3 +118,18 @@ bounded to 16 MiB in the workflow. The world restart test retains generated snap
journals and JSON reports beneath its own random run directory; it cannot create
that directory on the read-only image filesystem. Any new file-producing CTest
must declare its scratch directory in this container invocation as well.
## PostgreSQL migration tooling
The `postgres` CI matrix builds and tests the isolated adapter in Release,
clang-tidy and ASan/UBSan against private PostgreSQL clusters. The `postgres-tools`
Docker target contains pinned psql plus checked-in migrations, not a database server.
Set Gitea variable `HARBOR_POSTGRES_REPOSITORY=aevolution-postgres-tools` to enable
publishing that image using existing HARBOR_PROJECT and robot secrets. Leave it
unset for build/smoke only. Use the reported immutable digest in the Job example.
Do not reuse the simulation image repository for this entrypoint.
[Secret and role setup](../docs/infrastructure/POSTGRESQL.md) describes the separate
migrator/runtime credentials. The example is outside active Argo resources until
an operator supplies the database endpoint, role, Secret and egress rules. No region
server or world-state migration is deployed by M7.2.