test(e2e): introduce e2e test framework with local forgejo

This commit is contained in:
Julian Tölle 2025-06-19 15:41:49 +02:00
parent 7f69971116
commit dda12c62c7
9 changed files with 338 additions and 1 deletions

23
test/e2e/forgejo/app.ini Normal file
View file

@ -0,0 +1,23 @@
WORK_PATH = /data/gitea
[database]
DB_TYPE = sqlite3
PATH = /data/gitea/forgejo.db
[security]
INSTALL_LOCK = true
SECRET_KEY = releaser-pleaser
INTERNAL_TOKEN = releaser-pleaser
[service]
REGISTER_EMAIL_CONFIRM = false
ENABLE_NOTIFY_MAIL = false
DISABLE_REGISTRATION = true
[server]
DOMAIN = localhost
HTTP_PORT = 3000
ROOT_URL = http://localhost:3000/
[oauth2]
JWT_SECRET = rTD-FL2n_aBB6v4AOcr5lBvwgZ6PSr3HGZAuNH6nMu8