Files
daggy/examples/sample_dag.json
2021-08-02 11:31:46 -03:00

27 lines
785 B
JSON

{
"tasks": [
{
"name": "pull_data_a",
"max_retries": 3,
"retry_delay_seconds": 600,
"command": "/path/to/pull.sh --date {DATE} --source {SOURCE}_A",
"verification_command": "/path/to/pull_verify.sh --date {DATE} --source {SOURCE}_A",
"timeout_seconds": 30
"children": [ "merge_data" ]
},
{
"name": "pull_data_b",
"max_retries": 3,
"retry_delay_seconds": 600,
"command": "/path/to/pull.sh --date {DATE} --source {SOURCE}_B",
"verification_command": "/path/to/pull_verify.sh --date {DATE} --source {SOURCE}_B",
"timeout_seconds": 30
"children": [ "merge_data" ]
},
{
"name": "merge_data",
"command": "/path/to/merge.sh --left {SOURCE}_A --right {SOURCE}_B"
}
]
}