From b6f78e582089de5b79bd4570b3b48d79019009c9 Mon Sep 17 00:00:00 2001 From: realaravinth Date: Fri, 10 Jun 2022 22:34:08 +0530 Subject: [PATCH] feat: CI: setup test SMTP server --- .woodpecker.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.woodpecker.yml b/.woodpecker.yml index b593b9a..48ed25d 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -3,6 +3,7 @@ pipeline: image: python environment: - DATABSE_URL=postgres://postgres:password@database:5432/postgres + - EMAIL_URL=smtp://admin:password@localhost:10025 commands: - pip install virtualenv - make env @@ -14,3 +15,10 @@ services: image: postgres environment: - POSTGRES_PASSWORD=password + + smtp: + image: maildev/maildev + environment: + - MAILDEV_SMTP_PORT=10025 + - MAILDEV_INCOMING_USER=admin + - MAILDEV_INCOMING_PASS=password