Skip to content

Commit

Permalink
Merge pull request #754 from l-qing/feat/update-tekton-scheme-to-v0.56
Browse files Browse the repository at this point in the history
feat: update tekton scheme to v0.56
  • Loading branch information
vdemeester authored Sep 18, 2024
2 parents 97afeb1 + a32a182 commit b9543d3
Show file tree
Hide file tree
Showing 32 changed files with 6,312 additions and 840 deletions.
288 changes: 259 additions & 29 deletions scheme/tekton.dev/v1_Pipeline.json

Large diffs are not rendered by default.

288 changes: 259 additions & 29 deletions scheme/tekton.dev/v1_PipelineList.json

Large diffs are not rendered by default.

540 changes: 451 additions & 89 deletions scheme/tekton.dev/v1_PipelineRun.json

Large diffs are not rendered by default.

540 changes: 451 additions & 89 deletions scheme/tekton.dev/v1_PipelineRunList.json

Large diffs are not rendered by default.

197 changes: 186 additions & 11 deletions scheme/tekton.dev/v1_Task.json
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,14 @@
"type": "string"
},
"sizeLimit": {
"$ref": "#/definitions/Quantity"
"oneOf": [
{
"type": "string"
},
{
"type": "number"
}
]
}
},
"additionalProperties": false,
Expand Down Expand Up @@ -939,6 +946,32 @@
"additionalProperties": false,
"type": "object"
},
"Param": {
"required": [
"name",
"value"
],
"properties": {
"name": {
"type": "string"
},
"value": {
"oneOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
}
]
}
},
"additionalProperties": false,
"type": "object"
},
"ParamSpec": {
"required": [
"name"
Expand Down Expand Up @@ -974,6 +1007,12 @@
"type": "array"
}
]
},
"enum": {
"items": {
"type": "string"
},
"type": "array"
}
},
"additionalProperties": false,
Expand Down Expand Up @@ -1008,7 +1047,8 @@
"$ref": "#/definitions/TypedLocalObjectReference"
},
"dataSourceRef": {
"$ref": "#/definitions/TypedLocalObjectReference"
"$schema": "http://json-schema.org/draft-04/schema#",
"$ref": "#/definitions/TypedObjectReference"
}
},
"additionalProperties": false,
Expand Down Expand Up @@ -1146,11 +1186,6 @@
"additionalProperties": false,
"type": "object"
},
"Quantity": {
"properties": {},
"additionalProperties": false,
"type": "object"
},
"QuobyteVolumeSource": {
"required": [
"registry",
Expand Down Expand Up @@ -1216,6 +1251,37 @@
"additionalProperties": false,
"type": "object"
},
"Ref": {
"properties": {
"name": {
"type": "string"
},
"resolver": {
"type": "string"
},
"params": {
"items": {
"$schema": "http://json-schema.org/draft-04/schema#",
"$ref": "#/definitions/Param"
},
"type": "array"
}
},
"additionalProperties": false,
"type": "object"
},
"ResourceClaim": {
"required": [
"name"
],
"properties": {
"name": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object"
},
"ResourceFieldSelector": {
"required": [
"resource"
Expand All @@ -1228,8 +1294,14 @@
"type": "string"
},
"divisor": {
"$schema": "http://json-schema.org/draft-04/schema#",
"$ref": "#/definitions/Quantity"
"oneOf": [
{
"type": "string"
},
{
"type": "number"
}
]
}
},
"additionalProperties": false,
Expand All @@ -1240,18 +1312,39 @@
"limits": {
"patternProperties": {
".*": {
"$ref": "#/definitions/Quantity"
"oneOf": [
{
"type": "string"
},
{
"type": "number"
}
]
}
},
"type": "object"
},
"requests": {
"patternProperties": {
".*": {
"$ref": "#/definitions/Quantity"
"oneOf": [
{
"type": "string"
},
{
"type": "number"
}
]
}
},
"type": "object"
},
"claims": {
"items": {
"$schema": "http://json-schema.org/draft-04/schema#",
"$ref": "#/definitions/ResourceClaim"
},
"type": "array"
}
},
"additionalProperties": false,
Expand Down Expand Up @@ -1658,6 +1751,23 @@
},
"stderrConfig": {
"$ref": "#/definitions/StepOutputConfig"
},
"ref": {
"$schema": "http://json-schema.org/draft-04/schema#",
"$ref": "#/definitions/Ref"
},
"params": {
"items": {
"$ref": "#/definitions/Param"
},
"type": "array"
},
"results": {
"items": {
"$schema": "http://json-schema.org/draft-04/schema#",
"$ref": "#/definitions/StepResult"
},
"type": "array"
}
},
"additionalProperties": false,
Expand All @@ -1672,6 +1782,32 @@
"additionalProperties": false,
"type": "object"
},
"StepResult": {
"required": [
"name"
],
"properties": {
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"properties": {
"patternProperties": {
".*": {
"$ref": "#/definitions/PropertySpec"
}
},
"type": "object"
},
"description": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object"
},
"StepTemplate": {
"properties": {
"image": {
Expand Down Expand Up @@ -1810,6 +1946,19 @@
},
"description": {
"type": "string"
},
"value": {
"oneOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
}
]
}
},
"additionalProperties": false,
Expand All @@ -1824,6 +1973,9 @@
},
"type": "array"
},
"displayName": {
"type": "string"
},
"description": {
"type": "string"
},
Expand Down Expand Up @@ -1890,6 +2042,29 @@
"additionalProperties": false,
"type": "object"
},
"TypedObjectReference": {
"required": [
"apiGroup",
"kind",
"name"
],
"properties": {
"apiGroup": {
"type": "string"
},
"kind": {
"type": "string"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object"
},
"Volume": {
"required": [
"name"
Expand Down
Loading

0 comments on commit b9543d3

Please sign in to comment.