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
Show more breadcrumbs
Gilligan Lab for Epidemiology and Modelling
Wheat rusts
ews-coordinator
Commits
ce590eda
Commit
ce590eda
authored
8 months ago
by
L. Bower
Browse files
Options
Downloads
Patches
Plain Diff
more test work
parent
bddd4507
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
+22
-21
22 additions, 21 deletions
.gitlab-ci.yml
with
22 additions
and
21 deletions
.gitlab-ci.yml
+
22
−
21
View file @
ce590eda
...
...
@@ -19,10 +19,11 @@ variables:
# selected, manually enter the key value pair using the format in this example: CUSTOM_RUN_DATE 20230115"
CUSTOM_RUN_DATE
:
value
:
"
202
31127
"
value
:
"
202
40702
"
description
:
"
Full-fat
tests
will
pull
data
from
the
deployment
environment.
For
robustness,
the
default
option
is
a
pre-selected
date
we
know
works.
To
override
the
default
date,
manually
enter
the
key
value
pair
using
the
format
in
this
example
e.g.:
CUSTOM_RUN_DATE
20230115"
in
this
example
e.g.:
CUSTOM_RUN_DATE
20230115
-
NOTE
THAT
IF
YOU
SELECT
A
CUSTOM
DATE
BEFORE
THE
CURRENT
SEASON_START
DATE,
THE
ADVISORY
TEST
WILL
FAIL
AS
IT
WILL
NOT
FIND
A
SURVEY
WITHIN
THE
CURRENT
SEASON"
cache
:
paths
:
...
...
@@ -175,23 +176,6 @@ full_fat_survey:
-
$CI_PROJECT_DIR/test_reports
expire_in
:
10 days
# python3 full_test_survey.py
# --sys_config /storage/app/EWS_prod/regions/EastAfrica/resources/configs/coordinator/fc/sys_config_EastAfrica_fc_live.json
# --config /storage/app/EWS_prod/regions/EastAfrica/resources/configs/coordinator/fc/survey_config_EastAfrica_fc_live.json
# --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
# --custom_run_date $SURVEY_RUN_DATE
# --custom_dir_prefix temp_advisory_2024-07-12_111542
#
# python3 full_test_deposition.py
# --sys_config /storage/app/EWS_prod/regions/EastAfrica/resources/configs/coordinator/fc/sys_config_EastAfrica_fc_live.json
# --config /storage/app/EWS_prod/regions/EastAfrica/resources/configs/coordinator/fc/depo_config_EastAfrica_fc_live.json
# --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
# --custom_run_date $CUSTOM_RUN_DATE
# --custom_dir_prefix temp_advisory_2024-07-12_111542
full_fat_advisory
:
when
:
manual
...
...
@@ -204,6 +188,23 @@ full_fat_advisory:
SURVEY_RUN_DATE=$(date -d "$CUSTOM_RUN_DATE -1 day" +%Y%m%d)
python3 full_test_survey.py
--sys_config /storage/app/EWS_prod/regions/EastAfrica/resources/configs/coordinator/fc/sys_config_EastAfrica_fc_live.json
--config /storage/app/EWS_prod/regions/EastAfrica/resources/configs/coordinator/fc/survey_config_EastAfrica_fc_live.json
--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
--custom_run_date $SURVEY_RUN_DATE
--custom_dir_prefix temp_advisory_$RUN_TIME
python3 full_test_deposition.py
--sys_config /storage/app/EWS_prod/regions/EastAfrica/resources/configs/coordinator/fc/sys_config_EastAfrica_fc_live.json
--config /storage/app/EWS_prod/regions/EastAfrica/resources/configs/coordinator/fc/depo_config_EastAfrica_fc_live.json
--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
--custom_run_date $CUSTOM_RUN_DATE
--custom_dir_prefix temp_advisory_$RUN_TIME
python3 full_test_env_suit.py
--sys_config /storage/app/EWS_prod/regions/EastAfrica/resources/configs/coordinator/fc/sys_config_EastAfrica_fc_live.json
...
...
@@ -212,7 +213,7 @@ full_fat_advisory:
--email_cred /storage/app/EWS_prod/envs/credentials/Cred_gmail.json
--test_report_dir $CI_PROJECT_DIR/test_reports
--custom_run_date $CUSTOM_RUN_DATE
--custom_dir_prefix temp_advisory_
2024-07-12_111542
--custom_dir_prefix temp_advisory_
$RUN_TIME
python3 full_test_advisory.py
--sys_config /storage/app/EWS_prod/regions/EastAfrica/resources/configs/coordinator/fc/sys_config_EastAfrica_fc_live.json
...
...
@@ -221,7 +222,7 @@ full_fat_advisory:
--email_cred /storage/app/EWS_prod/envs/credentials/Cred_gmail.json
--test_report_dir $CI_PROJECT_DIR/test_reports
--custom_run_date $CUSTOM_RUN_DATE
--custom_dir_prefix temp_advisory_
2024-07-12_111542
--custom_dir_prefix temp_advisory_
$RUN_TIME
artifacts
:
when
:
always
paths
:
...
...
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