.gitlab-ci.yml updated v104

This commit is contained in:
Ivan Nikolaev-Axenov 2024-07-02 16:46:50 +03:00
parent 1ec79ead27
commit 84f672bb62

View file

@ -19,7 +19,8 @@ def run_docker(folder_name, date):
os.chdir("clr_test")
subprocess.call('docker compose pull', shell=True)
subprocess.call('docker compose build --no-cache', shell=True)
subprocess.call('docker compose up --abort-on-container-exit --exit-code-from clearing_system', shell=True)
subprocess.call('docker compose up -d --abort-on-container-exit --exit-code-from clearing_system', shell=True)
subprocess.call(f"docker cp clr_test-clearing_system-1:/opt/clearing/clearing_testing_utils/store/results {CLR_TEST_DIR}/mnt/results")
logging.info(os.listdir(f"{CLR_TEST_DIR}/mnt/results"))
os.chdir("..")