From 3c1f4d6bfd2be0d68c8a8ed6dc3c5a1e983c438e Mon Sep 17 00:00:00 2001 From: lb584 <lb584@cam.ac.uk> Date: Wed, 1 Feb 2023 14:04:37 +0000 Subject: [PATCH] adding artifact for full fat test output --- .gitlab-ci.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 33663df..b798678 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,6 +3,7 @@ variables: PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip" PACKAGES_DIR: "$CI_PROJECT_DIR/packages/" OUTPUT_DIR: "$CI_PROJECT_DIR/outputs/" + TEST_WORKSPACE_DIR: "/storage/app/EWS_prod/regions/EastAfrica/test_workspace/" CI_PYTHON_PATH: "NOT_SET" FULL_FAT_RUN_DATE: value: "default" @@ -17,6 +18,14 @@ variables: CUSTOM_RUN_DATE: "NOT_SET" + FULL_FAT_COPY_OUTPUT: + value: "false" + options: + - "true" + - "false" + description: "Select \"true\" to make a copy of the full-fat integration test output. Outputs will be copied to the + production machine at /storage/app/EWS_prod/regions/EastAfrica/test_workspace" + cache: paths: - .cache/pip @@ -155,6 +164,8 @@ full_fat_tests: echo "stuff2" > $OUTPUT_DIR/survey_123445/log.txt + cp -r $OUTPUT_DIR $TEST_WORKSPACE_DIR + #python3 full_test_deposition.py #--config /storage/app/EWS_prod/regions/EastAfrica/resources/coordinator/configs/config_EastAfrica_fc_live.json #--outdir $OUTPUT_DIR -- GitLab