Apache Airflow dags w/ backend configuration bundle.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

105 lines
2.5 KiB

{
"version": 2,
"waiters": {
"JobExists": {
"delay": 2,
"operation": "DescribeJobs",
"maxAttempts": 100,
"acceptors": [
{
"argument": "jobs[].status",
"expected": "SUBMITTED",
"matcher": "pathAll",
"state": "success"
},
{
"argument": "jobs[].status",
"expected": "PENDING",
"matcher": "pathAll",
"state": "success"
},
{
"argument": "jobs[].status",
"expected": "RUNNABLE",
"matcher": "pathAll",
"state": "success"
},
{
"argument": "jobs[].status",
"expected": "STARTING",
"matcher": "pathAll",
"state": "success"
},
{
"argument": "jobs[].status",
"expected": "RUNNING",
"matcher": "pathAll",
"state": "success"
},
{
"argument": "jobs[].status",
"expected": "FAILED",
"matcher": "pathAll",
"state": "success"
},
{
"argument": "jobs[].status",
"expected": "SUCCEEDED",
"matcher": "pathAll",
"state": "success"
},
{
"argument": "jobs[].status",
"expected": "",
"matcher": "error",
"state": "failure"
}
]
},
"JobRunning": {
"delay": 5,
"operation": "DescribeJobs",
"maxAttempts": 100,
"acceptors": [
{
"argument": "jobs[].status",
"expected": "RUNNING",
"matcher": "pathAll",
"state": "success"
},
{
"argument": "jobs[].status",
"expected": "FAILED",
"matcher": "pathAll",
"state": "success"
},
{
"argument": "jobs[].status",
"expected": "SUCCEEDED",
"matcher": "pathAll",
"state": "success"
}
]
},
"JobComplete": {
"delay": 300,
"operation": "DescribeJobs",
"maxAttempts": 288,
"description": "Wait until job status is SUCCEEDED or FAILED",
"acceptors": [
{
"argument": "jobs[].status",
"expected": "SUCCEEDED",
"matcher": "pathAll",
"state": "success"
},
{
"argument": "jobs[].status",
"expected": "FAILED",
"matcher": "pathAny",
"state": "failure"
}
]
}
}
}