FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit e76051c6 authored by J.W. Smith's avatar J.W. Smith
Browse files

Providing additional email for maintainer.

parent 0746d923
No related branches found
No related tags found
No related merge requests found
......@@ -103,7 +103,7 @@ sub terminateRun {
sub handleError {
my $errorString = shift;
my $maintainerRef = shift // \@maintainersCam;
my $maintainerRef = shift // \@maintainersAll;
my $severity = shift // $severityStringERROR;
......
......@@ -73,7 +73,7 @@ log_path_project = '/storage/app/EWS/General/EWS-Coordinator/logs/log_env.txt'
# log will be written here until a job directory exits, when it will be moved there
log_path_default = f"/storage/app/EWS/General/EWS-Coordinator/logs/log_env_{nowString}.txt"
maintainers = ['jws52@cam.ac.uk','tm689@cam.ac.uk','rs481@cam.ac.uk']
maintainers = ['jws52@cam.ac.uk','tm689@cam.ac.uk','rs481@cam.ac.uk','willthurston@gmail.com']
with open('/storage/app/EWS/General/EWS-Coordinator/Cred_gmail.json','r') as f:
gmailConfig = json.load(f)
......@@ -403,12 +403,13 @@ def process_pre_job(input_args):
return
# TODO: Test this out
def process_copy_past_job_env2_0(jobPath,config):
'''For when we want to skip process_in_job() to test the other components of
this script. Currently hard-wired.'''
# TODO: remove this hard-wired assumption
jobPath_to_copy = f"{jobPath}/../{startstring}_bak/"
jobPath_to_copy = f"{jobPath}/../ENVIRONMENT_2.0_{startstring}_bak/"
assert os.path.exists(jobPath_to_copy)
......
......@@ -7,7 +7,7 @@ sub get_project_name { return "Ethiopia" };
sub get_project_path { return "/storage/app/EWS/Ethiopia/" };
sub get_maintainers_cam { return ("jws52\@cam.ac.uk", "tm689\@cam.ac.uk", "rs481\@cam.ac.uk")};
sub get_maintainers_all { return ("jws52\@cam.ac.uk", "tm689\@cam.ac.uk", "rs481\@cam.ac.uk", "william.thurston\@metoffice.gov.uk")};
sub get_maintainers_all { return ("jws52\@cam.ac.uk", "tm689\@cam.ac.uk", "rs481\@cam.ac.uk", "william.thurston\@metoffice.gov.uk","willthurston\@gmail.com")};
# Survey processing
sub get_project_surveys_from_ODK { return 1 };
......@@ -37,4 +37,4 @@ sub get_env_plotting_opts{ return " FALSE no_leaf" };
sub get_env_plot_output_path {return "plotting/"};
sub get_env_plotting_output_glob {return "ethiopia/images/{Daily,Weekly}" };
1;
\ No newline at end of file
1;
......@@ -7,7 +7,7 @@ sub get_project_name { return "SouthAsia" };
sub get_project_path { return "/storage/app/EWS/SouthAsia/" };
sub get_maintainers_cam { return ("jws52\@cam.ac.uk", "tm689\@cam.ac.uk", "rs481\@cam.ac.uk")};
sub get_maintainers_all { return ("jws52\@cam.ac.uk", "tm689\@cam.ac.uk", "rs481\@cam.ac.uk", "william.thurston\@metoffice.gov.uk")};
sub get_maintainers_all { return ("jws52\@cam.ac.uk", "tm689\@cam.ac.uk", "rs481\@cam.ac.uk", "william.thurston\@metoffice.gov.uk","willthurston\@gmail.com")};
# Survey processing
sub get_project_surveys_from_ODK { return 1 };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment