Adding samples
This commit is contained in:
15
examples/big_var_dag.json
Normal file
15
examples/big_var_dag.json
Normal file
File diff suppressed because one or more lines are too long
1
examples/daggyr/README.md
Normal file
1
examples/daggyr/README.md
Normal file
@@ -0,0 +1 @@
|
|||||||
|
Sample configuration for a
|
||||||
12
examples/daggyr/daggyd.json
Normal file
12
examples/daggyr/daggyd.json
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"executor": {
|
||||||
|
"name": "DaggyRunnerTaskExecutor",
|
||||||
|
"config": {
|
||||||
|
"runners": [
|
||||||
|
"localhost:3503",
|
||||||
|
"localhost:3504",
|
||||||
|
"localhost:3505"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
7
examples/daggyr/worker_1.json
Normal file
7
examples/daggyr/worker_1.json
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"port": 3503,
|
||||||
|
"capacity-overrides": {
|
||||||
|
"cores": 3,
|
||||||
|
"memoryMB": 1000
|
||||||
|
}
|
||||||
|
}
|
||||||
7
examples/daggyr/worker_2.json
Normal file
7
examples/daggyr/worker_2.json
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"port": 3504,
|
||||||
|
"capacity-overrides": {
|
||||||
|
"cores": 3,
|
||||||
|
"memoryMB": 1000
|
||||||
|
}
|
||||||
|
}
|
||||||
7
examples/daggyr/worker_3.json
Normal file
7
examples/daggyr/worker_3.json
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"port": 3505,
|
||||||
|
"capacity-overrides": {
|
||||||
|
"cores": 3,
|
||||||
|
"memoryMB": 1000
|
||||||
|
}
|
||||||
|
}
|
||||||
16
examples/simple_dag.json
Normal file
16
examples/simple_dag.json
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
"tag": "simple_dag",
|
||||||
|
"tasks": {
|
||||||
|
"task_a": {
|
||||||
|
"job": {
|
||||||
|
"command": [ "/bin/echo", "I", "run", "first" ]
|
||||||
|
},
|
||||||
|
"children": [ "task_b" ]
|
||||||
|
},
|
||||||
|
"task_b": {
|
||||||
|
"job": {
|
||||||
|
"command": [ "/bin/echo", "I", "run", "second" ]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
13
examples/small_var_dag.json
Normal file
13
examples/small_var_dag.json
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"tag": "small_var_dag",
|
||||||
|
"parameters": {
|
||||||
|
"JOBNO": [ "1", "2", "3", "4", "5", "6", "7", "8", "9", "10" ]
|
||||||
|
},
|
||||||
|
"tasks": {
|
||||||
|
"task_a": {
|
||||||
|
"job": {
|
||||||
|
"command": [ "/bin/echo", "I am job {{JOBNO}}"]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user