From af6c89b75d886f9f91e3d3b747faa68fc0d2761a Mon Sep 17 00:00:00 2001 From: lb584 <lb584@cam.ac.uk> Date: Thu, 2 Mar 2023 15:28:43 +0000 Subject: [PATCH] adding full env suit test --- .gitlab-ci.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 05395fa..66565b5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -163,6 +163,39 @@ full_fat_depo: - $OUTPUT_DIR/*.txt expire_in: 10 days +full_fat_env_suit: + when: manual + stage: full-fat + extends: .half_fat_before_script + image: lb584/ews_coordinator:latest + tags: ["ewas-production"] + script: + - > + cd $CI_PROJECT_DIR/tests/integration/full/ + + python3 full_test_env_suit.py + --config /storage/app/EWS_prod/regions/EastAfrica/resources/coordinator/configs/config_EastAfrica_fc_live.json + --outdir $OUTPUT_DIR + --email_cred /storage/app/EWS_prod/envs/credentials/Cred_gmail.json + --run_date_type $FULL_FAT_RUN_DATE + --custom_run_date $CUSTOM_RUN_DATE + + after_script: + - > + if [[ "$FULL_FAT_COPY_OUTPUT" == "true" ]]; + then + date=$(date '+%Y-%m-%d-%H%M'); + mkdir ${TEST_WORKSPACE_DIR}/integration/full/${date}; + cp -r $OUTPUT_DIR/* ${TEST_WORKSPACE_DIR}/integration/full/${date}; + fi + + artifacts: + when: on_failure + paths: + - $OUTPUT_DIR/*/log.txt + - $OUTPUT_DIR/*.txt + expire_in: 10 days + full_fat_survey: when: manual stage: full-fat -- GitLab