Skip to content

Commit

Permalink
fix(integration tests): mount diracx-services in init-db container
Browse files Browse the repository at this point in the history
  • Loading branch information
aldbr committed Dec 20, 2024
1 parent ddf4621 commit fbe4eae
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion integration_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -673,9 +673,12 @@ def _gen_docker_compose(modules, *, diracx_dist_dir=None):
"dirac-server",
"diracx-init-cs",
"diracx-wait-for-db",
"diracx-init-db",
"diracx",
]:
docker_compose["services"][container_name]["volumes"].append(f"{diracx_dist_dir}:/diracx_sources")
docker_compose["services"][container_name].setdefault("volumes", []).append(
f"{diracx_dist_dir}:/diracx_sources"
)
docker_compose["services"][container_name].setdefault("environment", []).append(
"DIRACX_CUSTOM_SOURCE_PREFIXES=/diracx_sources"
)
Expand Down

0 comments on commit fbe4eae

Please sign in to comment.