.gitlab-ci.yml updated v42

This commit is contained in:
Ivan Nikolaev-Axenov 2024-05-31 16:31:52 +03:00
parent a8998d0868
commit e6dcbc2ede

View file

@ -11,8 +11,8 @@ CLR_TEST_DIR = os.environ['CLR_TEST_DIR']
def run_docker(folder_name): def run_docker(folder_name):
print(f"Running docker-compose for {folder_name}") print(f"Running docker-compose for {folder_name}")
os.chdir(CLR_TEST_DIR) os.chdir(CLR_TEST_DIR)
subprocess.call(["docker", "compose", "down", "--volumes"]) subprocess.call("docker compose down --volumes", shell=True)
subprocess.call(["docker", "compose", "up", "--build", "--abort-on-container-exit", "--exit-code-from", "clearing_system"]) subprocess.call("docker compose up --build --abort-on-container-exit --exit-code-from clearing_system", shell=True)
os.chdir("..") os.chdir("..")