ci(forgejo): fix artifact fork URL, DinD docker access, db test timeout
Some checks failed
CI / Security Scan (push) Failing after 6s
CI / Dockerfile Package Check (push) Failing after 10s
CI / OpenSpec Validate (push) Failing after 9s
CI / Typecheck (push) Failing after 6s
CI / Lint (push) Failing after 7s
CI / Unit Tests (push) Failing after 11s
CI / Build (push) Failing after 14s
CI / E2E Tests (push) Has been skipped
CI / Visual Tests (push) Failing after 5s
CI / Journal Image Smoke Test (push) Failing after 8s

- forgejo/upload-artifact -> full code.forgejo.org URL (not on github.com,
  where DEFAULT_ACTIONS_URL sent it).
- e2e + journal-image-smoke: set DOCKER_HOST=tcp://docker-in-docker:2375 so
  the job's docker CLI reaches the DinD daemon (no /var/run/docker.sock).
  (Runner config also now attaches jobs to the runner network.)
- @trails-cool/db test: --testTimeout=20000; the cold drizzle/postgres import
  exceeds vitest's 5s default under runner CPU contention.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Ullrich Schäfer 2026-07-22 17:26:18 +02:00
parent 3df81af0b5
commit ee195787ac
No known key found for this signature in database
GPG key ID: A32FF691A0F752D9
2 changed files with 6 additions and 2 deletions

View file

@ -184,7 +184,7 @@ jobs:
- name: Upload screenshots on failure
if: failure()
uses: forgejo/upload-artifact@v4
uses: https://code.forgejo.org/forgejo/upload-artifact@v4
with:
name: visual-snapshots-diff
path: apps/planner/.vitest-attachments/
@ -197,6 +197,9 @@ jobs:
runs-on: ubuntu-latest
env:
DATABASE_URL: postgres://trails:trails@localhost:5432/trails
# The DinD daemon lives at this address on the runner network; the job
# container needs it explicitly (it has no /var/run/docker.sock).
DOCKER_HOST: tcp://docker-in-docker:2375
steps:
- uses: actions/checkout@v7
- uses: pnpm/action-setup@v6
@ -337,6 +340,7 @@ jobs:
--health-retries 20
env:
DATABASE_URL: postgres://trails:trails@localhost:5432/trails
DOCKER_HOST: tcp://docker-in-docker:2375
steps:
- uses: actions/checkout@v7
- uses: pnpm/action-setup@v6