Argo · Schema
DAGTask
A task in a DAG template
CNCFCI/CDGitOpsKubernetesOpen SourceProgressive DeliveryWorkflow Engine
Properties
| Name | Type | Description |
|---|---|---|
| name | string | |
| template | string | |
| arguments | object | |
| dependencies | array | |
| when | string | Conditional expression for task execution |
| withItems | array | |
| withParam | string | |
| continueOn | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/argo/refs/heads/main/json-schema/argo-workflows-dag-task-schema.json",
"title": "DAGTask",
"description": "A task in a DAG template",
"type": "object",
"properties": {
"name": {
"type": "string"
},
"template": {
"type": "string"
},
"arguments": {
"$ref": "#/components/schemas/Arguments"
},
"dependencies": {
"type": "array",
"items": {
"type": "string"
}
},
"when": {
"type": "string",
"description": "Conditional expression for task execution"
},
"withItems": {
"type": "array",
"items": {}
},
"withParam": {
"type": "string"
},
"continueOn": {
"type": "object",
"properties": {
"error": {
"type": "boolean"
},
"failed": {
"type": "boolean"
}
}
}
}
}