Release_2.0 next
Compare changes
- Loraine Gueguen authored
replace call() with run(). Factorize run_command() and run_docker_stack_deploy(service, working_dir)
+ 56
− 45
@@ -9,12 +9,13 @@ import logging
@@ -60,18 +61,18 @@ class DeploySpeciesStack(speciesData.SpeciesData):
@@ -111,7 +112,10 @@ class DeploySpeciesStack(speciesData.SpeciesData):
@@ -130,6 +134,8 @@ class DeploySpeciesStack(speciesData.SpeciesData):
@@ -206,22 +212,26 @@ def make_traefik_compose_files(config, main_dir):
@@ -231,7 +241,6 @@ def make_traefik_compose_files(config, main_dir):
@@ -282,6 +291,12 @@ def create_mounts(working_dir, main_dir):
@@ -291,7 +306,7 @@ def deploy_stacks(input_list, main_dir, deploy_traefik):
@@ -300,31 +315,22 @@ def deploy_stacks(input_list, main_dir, deploy_traefik):
@@ -340,7 +346,7 @@ if __name__ == "__main__":
@@ -357,8 +363,14 @@ if __name__ == "__main__":
@@ -391,7 +403,6 @@ if __name__ == "__main__":