2022-04-27 11:39:20 +00:00
|
|
|
pipeline:
|
|
|
|
backend:
|
|
|
|
image: python
|
|
|
|
environment:
|
|
|
|
- DATABSE_URL=postgres://postgres:password@database:5432/postgres
|
2022-06-10 17:04:08 +00:00
|
|
|
- EMAIL_URL=smtp://admin:password@localhost:10025
|
2022-04-27 11:39:20 +00:00
|
|
|
commands:
|
|
|
|
- pip install virtualenv
|
|
|
|
- make env
|
|
|
|
- make lint
|
2022-06-18 16:48:36 +00:00
|
|
|
- make test
|
2022-06-17 18:37:47 +00:00
|
|
|
- make coverage
|
2022-06-21 19:06:46 +00:00
|
|
|
secrets: [ STRIPE_PUBLIC_KEY, STRIPE_SECRET_KEY ]
|
2022-06-23 15:28:31 +00:00
|
|
|
- make integration-test
|
2022-04-27 11:39:20 +00:00
|
|
|
|
2022-06-23 15:28:31 +00:00
|
|
|
#services:
|
|
|
|
# database:
|
|
|
|
# image: postgres
|
|
|
|
# environment:
|
|
|
|
# - POSTGRES_PASSWORD=password
|
|
|
|
#
|
|
|
|
# smtp:
|
|
|
|
# image: maildev/maildev
|
|
|
|
# environment:
|
|
|
|
# - MAILDEV_SMTP_PORT=10025
|
|
|
|
# - MAILDEV_INCOMING_USER=admin
|
|
|
|
# - MAILDEV_INCOMING_PASS=password
|