This commit is contained in:
parent
9fb0ca4178
commit
dbe940742b
1 changed files with 37 additions and 0 deletions
37
.woodpecker.yml
Normal file
37
.woodpecker.yml
Normal file
|
@ -0,0 +1,37 @@
|
|||
steps:
|
||||
test:
|
||||
image: node:20.10.0
|
||||
environment:
|
||||
- INSTANCE_URL=http://forgejo
|
||||
commands:
|
||||
- npm ci
|
||||
- npx playwright install --with-deps
|
||||
- npx playwright test
|
||||
|
||||
services:
|
||||
forgejo:
|
||||
image: codeberg.org/forgejo/forgejo:1.21.3-0
|
||||
environment:
|
||||
- FORGEJO__security__INSTALL_LOCK=true
|
||||
- FORGEJO__federation__ENABLED=true
|
||||
- FORGEJO__server__ROOT_URL=http://forgejo
|
||||
- FORGEJO__server__HTTP_PORT=80
|
||||
- FORGEJO__service_ENABLE_NOTIFY_MAIL=true
|
||||
- FORGEJO__service_REGISTER_EMAIL_CONFIRM=true
|
||||
- FORGEJO__admin_DEFAULT_EMAIL_NOTIFICATIONS=enabled
|
||||
- FORGEJO__admin_SEND_NOTIFICATION_EMAIL_ON_NEW_USER=true
|
||||
- FORGEJO__mailer_ENABLED=true
|
||||
- FORGEJO__mailer_PROTOCOL=smtp
|
||||
- FORGEJO__mailer_SMTP_ADDR=maildev
|
||||
- FORGEJO__mailer_SMTP_PORT=10025
|
||||
- FORGEJO__mailer_FROM=forgejo@ci.local
|
||||
- FORGEJO__mailer_USER=admin
|
||||
- FORGEJO__mailer_PASSWORD=password
|
||||
|
||||
maildev:
|
||||
image: maildev/maildev:latest
|
||||
environment:
|
||||
- MAILDEV_SMTP_PORT=10025
|
||||
- MAILDEV_WEB_PORT=1080
|
||||
- MAILDEV_INCOMING_USER=admin
|
||||
- MAILDEV_INCOMING_PASS=password
|
Loading…
Reference in a new issue