2022-04-27 11:39:20 +00:00
|
|
|
pipeline:
|
|
|
|
backend:
|
|
|
|
image: python
|
|
|
|
environment:
|
|
|
|
- DATABSE_URL=postgres://postgres:password@database:5432/postgres
|
2022-06-23 18:22:04 +00:00
|
|
|
- EMAIL_URL=smtp://admin:password@smtp:10025
|
2022-12-23 00:52:53 +00:00
|
|
|
- HOSTEA_INFRA_HOSTEA_REPO_REMOTE=ssh://git@forgejo:22/hostea/
|
|
|
|
- HOSTEA_META_FORGEJO_INSTANCE=http://forgejo:3000
|
2022-04-27 11:39:20 +00:00
|
|
|
commands:
|
2022-06-26 23:06:56 +00:00
|
|
|
- export HOSTEA_INFRA_HOSTEA_REPO_SSH_KEY="$(realpath ./tests/fleet-deploy-key)"
|
2022-04-27 11:39:20 +00:00
|
|
|
- pip install virtualenv
|
|
|
|
- make env
|
2022-06-26 21:12:55 +00:00
|
|
|
- make lint
|
|
|
|
- make coverage
|
|
|
|
# - make integration-test
|
2022-06-23 15:40:42 +00:00
|
|
|
secrets: [ STRIPE_PUBLIC_KEY, STRIPE_SECRET_KEY ]
|
2022-04-27 11:39:20 +00:00
|
|
|
|
2022-06-23 15:40:42 +00:00
|
|
|
services:
|
|
|
|
database:
|
|
|
|
image: postgres
|
|
|
|
environment:
|
|
|
|
- POSTGRES_PASSWORD=password
|
2022-06-23 15:54:21 +00:00
|
|
|
|
2022-12-23 00:52:53 +00:00
|
|
|
forgejo:
|
2023-01-09 17:39:35 +00:00
|
|
|
image: codeberg.org/forgejo/forgejo:1.18.0-1
|
2022-12-23 00:52:53 +00:00
|
|
|
container_name: hostea-dash-forgejo
|
2022-06-23 15:54:21 +00:00
|
|
|
|
|
|
|
smtp:
|
|
|
|
image: maildev/maildev:latest
|
|
|
|
container_name: hostea-dash-maildev
|
|
|
|
environment:
|
|
|
|
- MAILDEV_SMTP_PORT=10025
|
2022-06-23 18:22:04 +00:00
|
|
|
- MAILDEV_WEB_PORT=1080
|
2022-06-23 15:54:21 +00:00
|
|
|
- MAILDEV_INCOMING_USER=admin
|
|
|
|
- MAILDEV_INCOMING_PASS=password
|