diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 145c06f2282306c09bb9c47131da705d0b4b45e2..d0590ba2b62877784853b51951d9e9f5651375fb 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,6 +4,7 @@ variables: # WHEN CALLED FROM A MULTI-PIPELINE TRIGGER, VARIABLES WITH SHARED NAMES WILL BE OVERWRITTEN OUTPUT_DIR: "$CI_PROJECT_DIR/outputs/" + LOGS_DIR: "$CI_PROJECT_DIR/logs/" # OUTPUT_DIR: "/storage/app/EWS_prod/regions/EastAfrica/workspace/" TEST_WORKSPACE_DIR: "/storage/app/EWS_prod/regions/EastAfrica/test_workspace/" FULL_FAT_RUN_DATE: @@ -90,7 +91,6 @@ half_fat_tests: - python3 -m coverage run run_test_suite.py $CI_PROJECT_DIR/test_reports - python3 -m coverage report - python3 -m coverage html -d $CI_PROJECT_DIR/coverage - - tree -d artifacts: when: always paths: @@ -133,6 +133,8 @@ full_fat_depo: --test_report_dir $CI_PROJECT_DIR/test_reports --run_date_type $FULL_FAT_RUN_DATE --custom_run_date $CUSTOM_RUN_DATE + + rsync -av --include="*/" --include="log.txt" --exclude="*" $OUTPUT_DIR/ $LOGS_DIR/ after_script: - > @@ -145,8 +147,7 @@ full_fat_depo: artifacts: paths: - - $OUTPUT_DIR/*/log.txt - - $OUTPUT_DIR/*.txt + - $LOGS_DIR expire_in: 10 days full_fat_env_suit: