Release 2.0 (merge dev to master)
Compare changes
- Loraine Gueguen authored
replace call() with run(). Factorize run_command() and run_docker_stack_deploy(service, working_dir)
+ 68
− 89
@@ -9,12 +9,13 @@ import logging
@@ -60,34 +61,31 @@ class DeploySpeciesStack(speciesData.SpeciesData):
@@ -114,25 +112,30 @@ class DeploySpeciesStack(speciesData.SpeciesData):
@@ -199,42 +202,36 @@ def make_traefik_compose_files(config, main_dir):
@@ -244,7 +241,6 @@ def make_traefik_compose_files(config, main_dir):
@@ -295,6 +291,12 @@ def create_mounts(working_dir, main_dir):
@@ -304,7 +306,7 @@ def deploy_stacks(input_list, main_dir, deploy_traefik):
@@ -313,38 +315,26 @@ def deploy_stacks(input_list, main_dir, deploy_traefik):
@@ -356,7 +346,7 @@ if __name__ == "__main__":
@@ -374,10 +364,13 @@ if __name__ == "__main__":
@@ -389,7 +382,6 @@ if __name__ == "__main__":
@@ -407,31 +399,18 @@ if __name__ == "__main__":