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
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:
parent
3df81af0b5
commit
ee195787ac
2 changed files with 6 additions and 2 deletions
|
|
@ -184,7 +184,7 @@ jobs:
|
||||||
|
|
||||||
- name: Upload screenshots on failure
|
- name: Upload screenshots on failure
|
||||||
if: failure()
|
if: failure()
|
||||||
uses: forgejo/upload-artifact@v4
|
uses: https://code.forgejo.org/forgejo/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: visual-snapshots-diff
|
name: visual-snapshots-diff
|
||||||
path: apps/planner/.vitest-attachments/
|
path: apps/planner/.vitest-attachments/
|
||||||
|
|
@ -197,6 +197,9 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
DATABASE_URL: postgres://trails:trails@localhost:5432/trails
|
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:
|
steps:
|
||||||
- uses: actions/checkout@v7
|
- uses: actions/checkout@v7
|
||||||
- uses: pnpm/action-setup@v6
|
- uses: pnpm/action-setup@v6
|
||||||
|
|
@ -337,6 +340,7 @@ jobs:
|
||||||
--health-retries 20
|
--health-retries 20
|
||||||
env:
|
env:
|
||||||
DATABASE_URL: postgres://trails:trails@localhost:5432/trails
|
DATABASE_URL: postgres://trails:trails@localhost:5432/trails
|
||||||
|
DOCKER_HOST: tcp://docker-in-docker:2375
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v7
|
- uses: actions/checkout@v7
|
||||||
- uses: pnpm/action-setup@v6
|
- uses: pnpm/action-setup@v6
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@
|
||||||
"main": "./src/index.ts",
|
"main": "./src/index.ts",
|
||||||
"types": "./src/index.ts",
|
"types": "./src/index.ts",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "vitest run",
|
"test": "vitest run --testTimeout=20000",
|
||||||
"lint": "eslint .",
|
"lint": "eslint .",
|
||||||
"typecheck": "tsc"
|
"typecheck": "tsc"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue