test: add e2e tests with local Forgejo instance (#201)

* feat(forge): add new forge for forgejo

We only support repositories hosted on Forgejo instances, but not
Forgejo Actions or Woodpecker as CI solutions for now.

* test(e2e): introduce e2e test framework with local forgejo
This commit is contained in:
Julian Tölle 2025-09-13 12:00:54 +02:00 committed by GitHub
parent afef176e37
commit fcf7906149
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 936 additions and 1 deletions

View file

@ -0,0 +1,16 @@
services:
forgejo:
image: codeberg.org/forgejo/forgejo:11
ports:
- '3000:3000'
- '222:22'
volumes:
- data:/data/gitea
- ./app.ini:/data/gitea/conf/app.ini:ro
healthcheck:
test: ["CMD", "curl", "localhost:3000/api/healthz"]
volumes:
data: