FAQ
| This is a
LIVE
service |
Changelog
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ews-coordinator
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package registry
Container Registry
Operate
Terraform modules
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
GitLab has been upgraded. See what's new in the
Changelog
.
Show more breadcrumbs
Gilligan Lab for Epidemiology and Modelling
Wheat rusts
ews-coordinator
Commits
a3f48e41
Commit
a3f48e41
authored
1 year ago
by
L. Bower
Browse files
Options
Downloads
Patches
Plain Diff
removing FULL_FAT_COPY_OUTPUT option, now writes the full fat output to a mounted dir by default
parent
47a67dfa
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+5
-71
5 additions, 71 deletions
.gitlab-ci.yml
with
5 additions
and
71 deletions
.gitlab-ci.yml
+
5
−
71
View file @
a3f48e41
...
...
@@ -20,14 +20,6 @@ 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
...
...
@@ -50,7 +42,6 @@ stages:
-
echo "pip dir - " $PIP_CACHE_DIR
-
echo "full-fat run date - " $FULL_FAT_RUN_DATE
-
echo "custom full-fat run date - " $CUSTOM_RUN_DATE
-
echo "full-fat copy output - " $FULL_FAT_COPY_OUTPUT
-
source /storage/app/EWS_prod/envs/venv/ews_prod/bin/activate
-
pip install coverage
...
...
@@ -125,26 +116,14 @@ full_fat_depo:
script
:
-
>
cd $CI_PROJECT_DIR/tests/integration/full/
date=$(date '+%Y-%m-%d-%H%M');
python3 full_test_deposition.py
--config /storage/app/EWS_prod/regions/EastAfrica/resources/coordinator/configs/config_EastAfrica_fc_live.json
--outdir ${TEST_WORKSPACE_DIR}/integration/full/
${date}
--outdir ${TEST_WORKSPACE_DIR}/integration/full/
--email_cred /storage/app/EWS_prod/envs/credentials/Cred_gmail.json
--test_report_dir $CI_PROJECT_DIR/test_reports
--run_date_type $FULL_FAT_RUN_DATE
--custom_run_date $CUSTOM_RUN_DATE
after_script
:
-
>
rsync -av --include="*/" --include="log.txt" --exclude="*" $OUTPUT_DIR/ $LOGS_DIR/
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
:
paths
:
-
$LOGS_DIR
...
...
@@ -162,22 +141,11 @@ full_fat_env_suit:
python3 full_test_env_suit.py
--config /storage/app/EWS_prod/regions/EastAfrica/resources/coordinator/configs/config_EastAfrica_fc_live.json
--outdir $
OUTPUT_DIR
--outdir $
{TEST_WORKSPACE_DIR}/integration/full/
--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
:
-
>
rsync -av --include="*/" --include="log.txt" --exclude="*" $OUTPUT_DIR/ $LOGS_DIR/
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
:
paths
:
-
$LOGS_DIR
...
...
@@ -192,25 +160,13 @@ full_fat_survey:
script
:
-
>
cd $CI_PROJECT_DIR/tests/integration/full/;
date=$(date '+%Y-%m-%d-%H%M');
python3 full_test_survey.py
--config /storage/app/EWS_prod/regions/EastAfrica/resources/coordinator/configs/config_EastAfrica_fc_live.json
--outdir ${TEST_WORKSPACE_DIR}/integration/full/
${date}/
--outdir ${TEST_WORKSPACE_DIR}/integration/full/
--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
:
-
>
rsync -av --include="*/" --include="log.txt" --exclude="*" $OUTPUT_DIR/ $LOGS_DIR/
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
:
paths
:
-
$LOGS_DIR
...
...
@@ -228,22 +184,11 @@ full_fat_advisory:
python3 full_test_advisory.py
--config /storage/app/EWS_prod/regions/EastAfrica/resources/coordinator/configs/config_EastAfrica_fc_live.json
--outdir $
OUTPUT_DIR
--outdir $
{TEST_WORKSPACE_DIR}/integration/full/
--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
:
-
>
rsync -av --include="*/" --include="log.txt" --exclude="*" $OUTPUT_DIR/ $LOGS_DIR/
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
:
paths
:
-
$LOGS_DIR
...
...
@@ -261,22 +206,11 @@ full_fat_epi:
python3 full_test_epi.py
--config /storage/app/EWS_prod/regions/EastAfrica/resources/coordinator/configs/config_EastAfrica_fc_live.json
--outdir $
OUTPUT_DIR
--outdir $
{TEST_WORKSPACE_DIR}/integration/full/
--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
:
-
>
rsync -av --include="*/" --include="log.txt" --exclude="*" $OUTPUT_DIR/ $LOGS_DIR/
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
:
paths
:
-
$LOGS_DIR
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment