Skip to content

Commit ecda81c

Browse files
authored
[bitrise] Add tools and tool_config objects (SchemaStore#4906)
1 parent 00f2f42 commit ecda81c

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

src/schemas/json/bitrise.json

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,12 @@
134134
},
135135
"type": "object"
136136
},
137+
"tools": {
138+
"$ref": "#/definitions/ToolsModel"
139+
},
140+
"tool_config": {
141+
"$ref": "#/definitions/ToolConfigModel"
142+
},
137143
"include": {
138144
"items": {
139145
"$ref": "#/definitions/IncludeItemModel"
@@ -468,6 +474,37 @@
468474
"additionalProperties": false,
469475
"type": "object"
470476
},
477+
"ToolsModel": {
478+
"description": "Mapping of tool IDs to versions to set up. Version syntax supports exact versions (e.g. '1.2.3'), partial matches to the latest release (e.g. '22:latest'), partial matches to installed versions (e.g. '1.2:installed'), as well as the special aliases 'latest' and 'installed' to select the highest respective version.",
479+
"patternProperties": {
480+
".*": {
481+
"type": "string",
482+
"description": "Tool version to set up. Version syntax supports exact versions (e.g. '1.2.3'), partial matches to the latest release (e.g. '22:latest'), partial matches to installed versions (e.g. '1.2:installed'), as well as the special aliases 'latest' and 'installed' to select the highest respective version."
483+
}
484+
},
485+
"type": "object"
486+
},
487+
"ToolConfigModel": {
488+
"properties": {
489+
"provider": {
490+
"type": "string",
491+
"description": "Tool provider to use for setup. Defaults to 'asdf' if not specified.",
492+
"enum": ["asdf", "mise"]
493+
},
494+
"extra_plugins": {
495+
"description": "Additional tool plugins beyond Bitrise's vetted and tested integrations for common tools. Maps tool IDs to asdf plugin repository URLs.",
496+
"patternProperties": {
497+
".*": {
498+
"type": "string",
499+
"format": "uri",
500+
"description": "URL to the plugin source repository (git clone URL)"
501+
}
502+
},
503+
"type": "object"
504+
}
505+
},
506+
"type": "object"
507+
},
471508
"TriggersModel": {
472509
"properties": {
473510
"enabled": {

0 commit comments

Comments
 (0)