ci: fix e2e hostname collision and docker-deploy admin seed
CI / Architecture Guardrails (push) Has started running
CI / Typecheck (push) Has started running
CI / Lint (push) Has started running
CI / Assistant Split Regression (push) Has started running
CI / Unit Tests (push) Has been cancelled
CI / Build (push) Has been cancelled
CI / E2E Tests (push) Has been cancelled
CI / Fresh-Linux Docker Deploy (push) Has been cancelled
CI / Release Images (push) Has been cancelled

E2E: rename service hosts postgres/redis to e2epg/e2eredis — the
gitea_gitea network has multiple containers answering to 'postgres'
(Gitea core + concurrent job services), causing split-brain where
prisma db push and db:seed connected to different databases and
audit_logs ended up missing.

docker-compose.ci.yml: stop attaching postgres/redis to gitea_gitea
for the docker-deploy-test job — only the app needs cross-network
reachability; the compose services talk to each other on the
internal default network.

Docker Deploy: setup-admin.mjs imports @prisma/client and
@node-rs/argon2 which only live in packages/db/node_modules. Node
resolves bare specifiers from the script's directory (/app/scripts),
not cwd, so pnpm --filter wrappers did not help. Set NODE_PATH to
packages/db/node_modules as a fallback resolution root.
This commit is contained in:
2026-04-13 00:04:32 +02:00
parent f856dd26b3
commit b164c4ca70
11 changed files with 37 additions and 28 deletions
Submodule .claude/worktrees/agent-a0063a64 added at b9fd7fdb03
Submodule .claude/worktrees/agent-a06ee6f2 added at dda049075f
Submodule .claude/worktrees/agent-a2939317 added at b2c8d98b25
Submodule .claude/worktrees/agent-a74dc5bc added at fbca017eaa
Submodule .claude/worktrees/agent-a7de1005 added at d7a35b2d7a
Submodule .claude/worktrees/agent-a8de1898 added at 999626cf70
Submodule .claude/worktrees/agent-a90e1bc2 added at 9a42615a21
Submodule .claude/worktrees/agent-acdb74a3 added at aebe5bc57d
Submodule .claude/worktrees/agent-aed43cff added at 6f3bdd81e8