Files
ZitPlane/.gitea/workflows

CI workflows - manual verification only

P05-CI-01 introduced p05-ci.yml; P05-CI-03 adds a separate backend-only p05-backend-acceptance.yml. Both use manual workflow_dispatch. Do not enable automatic push/PR builds with Docker access without a fresh security review.

Job responsibilities:

  1. account: reproducible Account Portal npm ci, TypeScript, Next.js production build and dependency advisory check.
  2. login: pinned pnpm workspace frozen install, proto/client/Login build and upstream unit checks.
  3. backend: install Git before Alpine checkout, Docker daemon preflight, disposable local-only P02 ZITADEL Compose, ready/discovery/JWKS smoke and safe cleanup. Full interactive OIDC login is NOT certified.

P05-CI-02 additions: Account Portal CI negative route/API smoke, npm/pnpm structured Moderate advisory detail, and disposable Postgres restart persistence plus stronger OIDC issuer/JWKS negative checks. Run #83 passed Account, Login V2 and Security jobs but backend proxy bind to shared host port 8080 failed after Postgres/ZITADEL/Login healthy. Post-run source fix: all backend Compose calls include tests/ci/compose.portless.override.yaml (ports: !reset []), config rejects any published proxy port; this is not CI-verified. Full authenticated user sign-in/MFA remains deferred.

P05-SEC-01: .gitea/workflows/p05-security-acceptance.yml is manual-only with independent Account frozen build + negative access regressions, Login frozen Nx build + Vitest, Account production audit and Login production audit. Both security jobs require the previous HIGH/CRITICAL gate and a separate STRICT zero Moderate/High/Critical threshold from tests/ci/security_advisory_gate.py; any remaining Moderate advisory blocks the security phase. No source authentication changes, deployment or secret use. See docs/P05-SEC-01.md.

P05-CI-03: p05-backend-acceptance.yml runs only the isolated backend job with tests/ci/backend_acceptance.sh and always-run backend_cleanup.sh. Gitea Run #86 SUCCESS on 03fb589: portless config, all four services, restart persistence, ready/discovery/JWKS, negative cases and complete cleanup passed. No Account/Login build rerun; no production. See docs/P05-CI-03.md.

Run #81 evidence: backend's first revision failed during checkout because Alpine had no Git. Added a pre-checkout Git installation afterward; the corrected backend job remains UNVERIFIED until a separately approved CI rerun. See docs/P05-CI-01.md.

A green job indicates only its executed steps. Full CI acceptance also needs end-to-end OIDC session/callback, real login/MFA, admin console and session controls in a disposable environment, documented separately.

See notes/P05-CI-01.md and tests/ci/.