forgejo-frontend-integration/.woodpecker.yml

40 lines
1.3 KiB
YAML
Raw Normal View History

2024-01-10 01:33:18 +05:30
steps:
test:
2024-01-10 02:25:29 +05:30
image: realaravinth/forgejo-frontend-integration-base # ./Dockerfile
2024-01-10 01:33:18 +05:30
environment:
- INSTANCE_URL=http://forgejo
2024-01-10 20:43:11 +05:30
- MAILDEV_URL=http://maildev:1080
2024-01-10 01:33:18 +05:30
commands:
- npm ci
- npx playwright install --with-deps
2024-01-10 17:49:14 +05:30
- npx playwright test --project=firefox --grep @setup
2024-01-10 20:43:11 +05:30
- npx playwright test --grep-invert @setup
2024-01-10 01:33:18 +05:30
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
2024-01-10 20:43:11 +05:30
- 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
2024-01-10 01:33:18 +05:30
maildev:
image: maildev/maildev:latest
environment:
- MAILDEV_SMTP_PORT=10025
- MAILDEV_WEB_PORT=1080
- MAILDEV_INCOMING_USER=admin
- MAILDEV_INCOMING_PASS=password