mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-25 19:31:05 +00:00
Add privileged
schema definition (#2777)
Co-authored-by: 6543 <m.huber@kithara.com>
This commit is contained in:
parent
ae39d455bf
commit
f3df6f8873
2 changed files with 12 additions and 0 deletions
|
@ -17,6 +17,7 @@ steps:
|
|||
commands: go test
|
||||
|
||||
commands:
|
||||
privileged: true
|
||||
image: golang
|
||||
commands:
|
||||
- go get
|
||||
|
|
|
@ -212,6 +212,9 @@
|
|||
"image": {
|
||||
"$ref": "#/definitions/step_image"
|
||||
},
|
||||
"privileged": {
|
||||
"$ref": "#/definitions/step_privileged"
|
||||
},
|
||||
"pull": {
|
||||
"$ref": "#/definitions/step_pull"
|
||||
},
|
||||
|
@ -423,6 +426,11 @@
|
|||
"description": "Read more: https://woodpecker-ci.org/docs/usage/pipeline-syntax#image",
|
||||
"type": "string"
|
||||
},
|
||||
"step_privileged": {
|
||||
"description": "Run the step in privileged mode. Read more: https://woodpecker-ci.org/docs/usage/pipeline-syntax#privileged",
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
},
|
||||
"step_pull": {
|
||||
"description": "Always pull the latest image on pipeline execution Read more: https://woodpecker-ci.org/docs/usage/pipeline-syntax#image",
|
||||
"type": "boolean"
|
||||
|
@ -561,6 +569,9 @@
|
|||
"image": {
|
||||
"$ref": "#/definitions/step_image"
|
||||
},
|
||||
"privileged": {
|
||||
"$ref": "#/definitions/step_privileged"
|
||||
},
|
||||
"pull": {
|
||||
"$ref": "#/definitions/step_pull"
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue