2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2025-01-24 23:58:27 +00:00

Fix postgres CI test

This commit is contained in:
Lev Vereshchagin 2021-12-15 08:32:17 +03:00
parent 37878f4342
commit 5d3e7883f1
2 changed files with 7 additions and 1 deletions

View File

@ -0,0 +1,3 @@
services:
backend:
image: localhost:5000/frappe/frappe-worker:${FRAPPE_VERSION}

View File

@ -376,7 +376,10 @@ def check_erpnext_assets():
@log("Create containers with Postgres override")
def create_containers_with_postgres_override():
docker_compose("-f", "overrides/compose.postgres.yml", "up", "-d", "--quiet-pull")
args = ["-f", "overrides/compose.postgres.yml"]
if CI:
args.extend(("-f", "tests/compose.ci.postgres.yml"))
docker_compose(*args, "up", "-d", "--quiet-pull")
@log("Create Postgres site")