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:
parent
37878f4342
commit
5d3e7883f1
3
tests/compose.ci-postgres.yml
Normal file
3
tests/compose.ci-postgres.yml
Normal file
@ -0,0 +1,3 @@
|
||||
services:
|
||||
backend:
|
||||
image: localhost:5000/frappe/frappe-worker:${FRAPPE_VERSION}
|
@ -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")
|
||||
|
Loading…
x
Reference in New Issue
Block a user