Adding samples

This commit is contained in:
Ian Roddis
2022-01-29 13:25:40 -04:00
parent e3a6c9086a
commit 3fdd568b00
8 changed files with 78 additions and 0 deletions

15
examples/big_var_dag.json Normal file

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
Sample configuration for a

View File

@@ -0,0 +1,12 @@
{
"executor": {
"name": "DaggyRunnerTaskExecutor",
"config": {
"runners": [
"localhost:3503",
"localhost:3504",
"localhost:3505"
]
}
}
}

View File

@@ -0,0 +1,7 @@
{
"port": 3503,
"capacity-overrides": {
"cores": 3,
"memoryMB": 1000
}
}

View File

@@ -0,0 +1,7 @@
{
"port": 3504,
"capacity-overrides": {
"cores": 3,
"memoryMB": 1000
}
}

View File

@@ -0,0 +1,7 @@
{
"port": 3505,
"capacity-overrides": {
"cores": 3,
"memoryMB": 1000
}
}

16
examples/simple_dag.json Normal file
View 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" ]
}
}
}
}

View 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}}"]
}
}
}
}