Adding samples
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
Sample configuration for a
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"executor": {
|
||||
"name": "DaggyRunnerTaskExecutor",
|
||||
"config": {
|
||||
"runners": [
|
||||
"localhost:3503",
|
||||
"localhost:3504",
|
||||
"localhost:3505"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"port": 3503,
|
||||
"capacity-overrides": {
|
||||
"cores": 3,
|
||||
"memoryMB": 1000
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"port": 3504,
|
||||
"capacity-overrides": {
|
||||
"cores": 3,
|
||||
"memoryMB": 1000
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"port": 3505,
|
||||
"capacity-overrides": {
|
||||
"cores": 3,
|
||||
"memoryMB": 1000
|
||||
}
|
||||
}
|
||||
@@ -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" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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