Skip to content

Commit 6771776

Browse files
authored
fix(drone): add improvement and fix (SchemaStore#4944)
1 parent a3d9839 commit 6771776

File tree

1 file changed

+21
-6
lines changed

1 file changed

+21
-6
lines changed

src/schemas/json/drone.json

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,8 @@
257257
"required": ["limit"],
258258
"properties": {
259259
"limit": {
260-
"type": "number"
260+
"type": "number",
261+
"description": "Defines the concurrency limits for the named pipeline\nhttps://docs.drone.io/yaml/exec/#the-concurrency-object"
261262
}
262263
}
263264
},
@@ -350,13 +351,12 @@
350351
"type": "object",
351352
"properties": {
352353
"depth": {
353-
"type": "integer"
354+
"type": "integer",
355+
"description": "If empty the full repository may be cloned\nhttps://docs.drone.io/yaml/exec/#the-clone-object"
354356
},
355357
"disable": {
356-
"const": true
357-
},
358-
"retries": {
359-
"type": "integer"
358+
"type": "boolean",
359+
"description": "It can be useful when you need to disable implement your own custom clone logic.\nhttps://docs.drone.io/yaml/exec/#the-clone-object"
360360
}
361361
}
362362
},
@@ -367,6 +367,9 @@
367367
"trigger": {
368368
"$ref": "#/definitions/allConditions"
369369
},
370+
"concurrency": {
371+
"$ref": "#/definitions/concurrency"
372+
},
370373
"depends_on": {
371374
"type": "array",
372375
"items": {
@@ -475,6 +478,9 @@
475478
"description": "The name of the service account to use when running the kubernetes pipeline",
476479
"type": "string"
477480
},
481+
"concurrency": {
482+
"$ref": "#/definitions/concurrency"
483+
},
478484
"kind": {},
479485
"name": {},
480486
"platform": {},
@@ -499,6 +505,9 @@
499505
"node": {
500506
"$ref": "#/definitions/node"
501507
},
508+
"concurrency": {
509+
"$ref": "#/definitions/concurrency"
510+
},
502511
"kind": {},
503512
"name": {},
504513
"platform": {},
@@ -538,6 +547,9 @@
538547
}
539548
}
540549
},
550+
"concurrency": {
551+
"$ref": "#/definitions/concurrency"
552+
},
541553
"kind": {},
542554
"name": {},
543555
"platform": {},
@@ -563,6 +575,9 @@
563575
"$ref": "#/definitions/step_digitalocean"
564576
}
565577
},
578+
"concurrency": {
579+
"$ref": "#/definitions/concurrency"
580+
},
566581
"kind": {},
567582
"name": {},
568583
"platform": {},

0 commit comments

Comments
 (0)