Skip to content

Commit

Permalink
update bitrise.yml schema (SchemaStore#3052)
Browse files Browse the repository at this point in the history
## version

bitrise-io/bitrise-json-schemas@8a7672d

## Changes

fix: align pipeline models

* add `title`, `summary`, `description` to pipelines and stages.
* add `abort_on_fail` and `should_always_run` to the `StageModel`
* create separate `WorkflowStageConfigModel` with the `run_if` property
  • Loading branch information
morbalint authored and Javier Matias-Cabrera committed Jul 19, 2023
1 parent 072ae50 commit ab8967d
Showing 1 changed file with 34 additions and 1 deletion.
35 changes: 34 additions & 1 deletion src/schemas/json/bitrise.json
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,15 @@
},
"PipelineModel": {
"properties": {
"title": {
"type": "string"
},
"summary": {
"type": "string"
},
"description": {
"type": "string"
},
"stages": {
"items": {
"patternProperties": {
Expand All @@ -189,11 +198,26 @@
},
"StageModel": {
"properties": {
"title": {
"type": "string"
},
"summary": {
"type": "string"
},
"description": {
"type": "string"
},
"abort_on_fail": {
"type": "boolean"
},
"should_always_run": {
"type": "boolean"
},
"workflows": {
"items": {
"patternProperties": {
".*": {
"$ref": "#/definitions/WorkflowModel"
"$ref": "#/definitions/WorkflowStageConfigModel"
}
},
"type": "object"
Expand Down Expand Up @@ -366,6 +390,15 @@
"additionalProperties": false,
"type": "object"
},
"WorkflowStageConfigModel": {
"properties": {
"run_if": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object"
},
"WorkflowModel": {
"properties": {
"title": {
Expand Down

0 comments on commit ab8967d

Please sign in to comment.