diff --git a/main.py b/main.py index 85ef17f..6fd1901 100644 --- a/main.py +++ b/main.py @@ -19,11 +19,16 @@ def update_repositories(): def update_stack(stack): project_name = stack['Name'] + + print(f"Updating stack: {project_name}") + compose_file = DOCKER_COMPOSE_PATH.format(stack['Id']) ret = os.system(f"{BASH_COMPANION_SCRIPT} {project_name} {compose_file}") if ret > 0: exit(ret) + print(f"{project_name} stack updated!\n") + if __name__ == '__main__': update_repositories()