We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0464be commit 9a8cf5fCopy full SHA for 9a8cf5f
1 file changed
fastapi_template/tests/utils.py
@@ -32,6 +32,8 @@ def run_default_check(context: BuilderContext, worker_id: str, without_pytest=Fa
32
with compose.open("r") as compose_file:
33
data = yaml.safe_load(compose_file)
34
data["services"]["api"]["image"] = f"test_image:v{worker_id}"
35
+ for service in data["services"]:
36
+ del service["ports"]
37
with compose.open("w") as compose_file:
38
yaml.safe_dump(data, compose_file)
39
0 commit comments