-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTaskfile.yml
48 lines (45 loc) · 930 Bytes
/
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
version: '3'
includes:
subgraphs:
taskfile: ./Taskfile.subgraphs.yml
setup:
taskfile: ./Taskfile.setup.yml
run:
taskfile: ./Taskfile.run.yml
benchmark:
taskfile: ./Taskfile.benchmark.yml
query:
taskfile: ./Taskfile.query.yml
tasks:
default:
cmds:
- task: setup
- task: benchmark-all
setup:
deps: [subgraphs:run, delay]
cmds:
- task: setup:setup-all
- task: subgraphs:kill
start:
deps: [subgraphs:run, delay]
cmds:
- task: run:run-all
delay:
cmds:
- sleep 5
query-all:
deps: [subgraphs:run, delay]
cmds:
- task: run:run-all
- task: delay
- task: query:run
- task: run:kill-all
- task: subgraphs:kill
benchmark-all:
deps: [subgraphs:run, delay]
cmds:
- task: run:run-all
- task: delay
- task: benchmark:run
- task: run:kill-all
- task: subgraphs:kill