.gitlab-ci.yml updated v106
This commit is contained in:
parent
8382387ffa
commit
871e6858f0
2 changed files with 2 additions and 2 deletions
|
|
@ -43,8 +43,9 @@ test:
|
||||||
RESULT_FILES_DIR: "/builds/mfd/clearing/clr_test/result-files"
|
RESULT_FILES_DIR: "/builds/mfd/clearing/clr_test/result-files"
|
||||||
artifacts:
|
artifacts:
|
||||||
expire_in: 1 day
|
expire_in: 1 day
|
||||||
|
when: always
|
||||||
paths:
|
paths:
|
||||||
- clr_test/mnt/results/*.txt
|
- $CI_PROJECT_DIR/
|
||||||
script:
|
script:
|
||||||
- echo $CI_PROJECT_DIR
|
- echo $CI_PROJECT_DIR
|
||||||
- pwd
|
- pwd
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,6 @@ def run_docker(folder_name, date):
|
||||||
subprocess.call('docker compose pull', shell=True)
|
subprocess.call('docker compose pull', shell=True)
|
||||||
subprocess.call('docker compose build --no-cache', 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 --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"))
|
logging.info(os.listdir(f"{CLR_TEST_DIR}/mnt/results"))
|
||||||
os.chdir("..")
|
os.chdir("..")
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue