diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 33663dfd059a441a6b3328393d042f3db5da2623..b798678a4106e6f589772ce43551358db4e1b77a 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