Signed-off-by: José Ulises Niño Rivera <junr03@users.noreply.github.com>
This commit is contained in:
José Ulises Niño Rivera 2024-10-18 16:14:33 -04:00
parent 6cd05572c4
commit e61e78242c
23 changed files with 2708 additions and 440 deletions

View file

@ -14,8 +14,6 @@ logging.basicConfig(
def getLogger(name="cli"):
import logging
logger = logging.getLogger(name)
logger.setLevel(logging.INFO)
return logger
@ -32,7 +30,8 @@ def run_docker_compose_ps(compose_file, env):
path (str): The path where the docker-compose.yml file is located.
"""
try:
# Run `docker compose ps` to get the health status of each service
# Run `docker compose ps` to get the health status of each service.
# This should be a non-blocking call so using subprocess.Popen(...)
ps_process = subprocess.Popen(
[
"docker",