Aravinth Manivannan
7cd87d4c31
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
40 lines
1.4 KiB
YAML
40 lines
1.4 KiB
YAML
steps:
|
|
test:
|
|
image: realaravinth/forgejo-frontend-integration-base # ./Dockerfile
|
|
environment:
|
|
- INSTANCE_URL=http://forgejo
|
|
- MAILDEV_URL=http://maildev:1080
|
|
commands:
|
|
- npm ci
|
|
- npx playwright install --with-deps
|
|
- npx playwright test --project=firefox --grep @setup
|
|
- npx playwright test --project=firefox --grep-invert @setup
|
|
- npx playwright test --project=chromium --grep-invert @setup
|
|
|
|
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
|