forked from cmu-delphi/flu-contest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
deploy.json
82 lines (73 loc) · 1.79 KB
/
deploy.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
{
"type": "delphi deploy config",
"version": 1,
"paths": {
"auto_web": "/home/automation/public_html/public",
"package": "../delphi/flu_contest"
},
"actions": [
"// note: archefilter is unused and is therefore no longer deployed",
"// epicast",
{
"type": "move",
"src": "src/epicast/",
"dst": "[[package]]/epicast/",
"match": "^.*\\.py$",
"add-header-comment": true
},
"// epicast for COVID-19",
{
"type": "move",
"src": "src/covid/",
"dst": "[[package]]/covid/",
"match": "^.*\\.py$",
"add-header-comment": true
},
"// forecast generation",
{
"type": "move",
"src": "src/forecasters/",
"dst": "[[package]]/forecasters/",
"match": "^.*\\.py$",
"add-header-comment": true
},
"// automatic forecast submission",
{
"type": "move",
"src": "src/main/",
"dst": "[[package]]/main/",
"match": "^.*\\.py$",
"add-header-comment": true
},
"// receiving uploaded forecasts",
{
"type": "move",
"src": "src/uploads/",
"dst": "[[package]]/uploads/",
"match": "^.*\\.py$",
"add-header-comment": true
},
{
"type": "move",
"src": "src/uploads/upload_forecast.php",
"dst": "[[auto_web]]/flu_contest/upload_forecast.php",
"add-header-comment": true
},
"// utilities and input/output",
{
"type": "move",
"src": "src/utils/",
"dst": "[[package]]/utils/",
"match": "^.*\\.py$",
"add-header-comment": true
},
{
"type": "move",
"src": "src/utils/forecast_plots.html",
"dst": "[[auto_web]]/forecast_plots/index.html",
"add-header-comment": true
},
"// run unit and coverage tests",
{"type": "py3test"}
]
}