-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTaskfile.yml
81 lines (75 loc) · 1.99 KB
/
Taskfile.yml
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
# Root Taskfile.yml
version: '3'
dotenv:
- .env.local
- .env
includes:
archive:
taskfile: packages/archive/Taskfile.yml
dir: packages/archive
common-archive-client:
taskfile: packages/common-archive-client/Taskfile.yml
dir: packages/common-archive-client
common-data:
taskfile: packages/common-data/Taskfile.yml
dir: packages/common-data
common-postgres:
taskfile: packages/common-postgres/Taskfile.yml
dir: packages/common-postgres
configurator:
taskfile: packages/configurator/Taskfile.yml
dir: packages/configurator
gatherer-stdin:
taskfile: packages/gatherer-stdin/Taskfile.yml
dir: packages/gatherer-stdin
gatherer-http:
taskfile: packages/gatherer-http/Taskfile.yml
dir: packages/gatherer-http
infra-postgres:
taskfile: packages/infra-postgres/Taskfile.yml
dir: packages/infra-postgres
infra-redis:
taskfile: packages/infra-redis/Taskfile.yml
dir: packages/infra-redis
listener:
taskfile: packages/listener/Taskfile.yml
dir: packages/listener
publisher:
taskfile: packages/publisher/Taskfile.yml
dir: packages/publisher
tasks:
run_parallel:
desc: Run specified tasks in parallel
vars:
TASKS: '{{.TASKS | default ""}}'
cmds:
- ./run_parallel_task.sh {{.TASKS}}
start-gateway:
desc: Start gateway services in parallel
cmds:
- task: run_parallel
vars:
TASKS: >
listener:start
gatherer-stdin:start
gatherer-http:start
publisher:start
dev-infra:
desc: Start development infrastructure in parallel
cmds:
- task: run_parallel
vars:
TASKS: >
infra-postgres:dev
infra-redis:dev
dev-apps:
desc: Start development applications in parallel
cmds:
- task: run_parallel
vars:
TASKS: >
archive:dev
configurator:dev
gatherer-http:dev
gatherer-stdin:dev
publisher:dev