From 55cab04da1b99c097aa4b3d38d365748a9afaa77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C3=A1lint=20M=C3=B3r=C3=A1sz?= Date: Fri, 7 Jul 2023 10:40:27 +0200 Subject: [PATCH] update bitrise.yml schema ## version https://github.com/bitrise-io/bitrise-json-schemas/commit/8a7672d8649788d1942e99328c8c142a668b4482 ## 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 --- src/schemas/json/bitrise.json | 35 ++++++++++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) diff --git a/src/schemas/json/bitrise.json b/src/schemas/json/bitrise.json index 805dec44523..85291d33b32 100644 --- a/src/schemas/json/bitrise.json +++ b/src/schemas/json/bitrise.json @@ -172,6 +172,15 @@ }, "PipelineModel": { "properties": { + "title": { + "type": "string" + }, + "summary": { + "type": "string" + }, + "description": { + "type": "string" + }, "stages": { "items": { "patternProperties": { @@ -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" @@ -366,6 +390,15 @@ "additionalProperties": false, "type": "object" }, + "WorkflowStageConfigModel": { + "properties": { + "run_if": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, "WorkflowModel": { "properties": { "title": {