Skip to content

Commit

Permalink
replace docker inbucket with mailpit
Browse files Browse the repository at this point in the history
  • Loading branch information
amrita-shrestha committed Feb 25, 2025
1 parent 4a2f105 commit 71ad114
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions docs/ocis/development/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ To run the tests that require an email server (tests tagged with `@email`), you

```bash
START_EMAIL=true \
OCIS_ADD_RUN_SERVICES=notifications \
BEHAT_FEATURE='tests/acceptance/features/apiNotification/emailNotification.feature' \
make -C tests/acceptance/docker test-ocis-feature-ocis-storage
```
Expand Down
2 changes: 1 addition & 1 deletion tests/acceptance/docker/src/acceptance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ services:
RUN_PART: $RUN_PART
# email
EMAIL_HOST: email
EMAIL_PORT: 9000
EMAIL_PORT: 8025
env_file:
- ../../../../.drone.env
volumes:
Expand Down
4 changes: 2 additions & 2 deletions tests/acceptance/docker/src/email.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ services:
image: dadarek/wait-for-dependencies
depends_on:
- email
command: email:9000
command: email:8025
email:
image: inbucket/inbucket
image: axllent/mailpit:v1.22.3
2 changes: 1 addition & 1 deletion tests/acceptance/docker/src/ocis-base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ services:
STORAGE_USERS_S3NG_BUCKET: test
# email
NOTIFICATIONS_SMTP_HOST: email
NOTIFICATIONS_SMTP_PORT: 2500
NOTIFICATIONS_SMTP_PORT: 1025
NOTIFICATIONS_SMTP_INSECURE: "true"
NOTIFICATIONS_SMTP_SENDER: "owncloud <[email protected]>"

Expand Down

0 comments on commit 71ad114

Please sign in to comment.