Commit Graph

6 Commits

Author SHA1 Message Date
kirti 2056391f9d ci: start Postgres via docker run on localhost (services: not wired on runner)
CI / build (push) Successful in 3m58s
The declarative services: Postgres was never reachable at postgres:5432 (P1001)
on this Gitea runner even with a valid healthcheck — service-name networking to
the job isn't wired here. Switch to the mdm CI pattern: host-mode runner, start
pgvector via 'docker run -p 5434:5432', connect over localhost:5434 (also the
specs' default DATABASE_URL). Clean up the container in always().

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-04 15:25:30 +00:00
kirti 23f5159521 ci: unquoted --health-cmd so the Postgres service is wired to the job
CI / build (push) Failing after 1m30s
A quoted '--health-cmd "pg_isready -U iios"' in the folded options scalar
splits on spaces, so docker received an invalid healthcheck command; the
service never went healthy and the job container couldn't resolve postgres:5432
(P1001). Match go-monorepo's proven unquoted '--health-cmd pg_isready'.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-04 15:21:58 +00:00
kirti 3abad4970f ci: provision pgvector Postgres + migrate for DB-backed test suites
CI / build (push) Failing after 3m23s
The integration *.spec.ts suites need a live Postgres (schema applied) at
DATABASE_URL. Run on the dind-builder runner in a job container with a
pgvector/pgvector:pg16 service (proven pattern from go-monorepo CI), point
DATABASE_URL at the service, and 'prisma migrate deploy' before pnpm test.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-04 15:16:33 +00:00
kirti d5e0dacae3 ci: build workspace + generate prisma before typecheck
CI / build (push) Failing after 1m49s
pnpm -r typecheck ran before pnpm -r build, but the @insignia/* packages
publish their types only via built dist/*.d.ts. So consumers failed with
TS2307 'Cannot find module @insignia/iios-contracts' before any dist existed.
Also generate the iios-service Prisma client so its schema-derived types
resolve. Build now precedes typecheck; prisma:generate precedes both.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-04 15:04:41 +00:00
mcp-bot 43e9928ce3 ci: build + GitOps-deploy iios-service to k8s-pods (ArgoCD)
CI / build (push) Failing after 40s
Deploy iios-service / build-deploy (push) Successful in 3m49s
2026-07-04 14:15:12 +00:00
maaz519 c73acce0e8 ci: import-boundary law + CI workflow (P0 complete)
Boundary script enforces contracts<testkit<service (catches from/side-effect/
dynamic/require imports); wired into pnpm test + CI. CI: install --frozen-lockfile
-> boundary -> typecheck -> build -> test.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-30 21:09:37 +05:30