зеркало из https://github.com/mozilla/treeherder.git
Bug 1593194 - Mirror CI schema validation support for application field
This commit is contained in:
Родитель
ecb34da75b
Коммит
aef15ddf90
|
@ -1,5 +1,30 @@
|
|||
{
|
||||
"definitions": {
|
||||
"application_schema": {
|
||||
"properties": {
|
||||
"name": {
|
||||
"title": "Application under performance test",
|
||||
"enum": [
|
||||
"firefox",
|
||||
"chrome",
|
||||
"chromium",
|
||||
"fennec",
|
||||
"geckoview",
|
||||
"refbrow",
|
||||
"fenix"
|
||||
],
|
||||
"maxLength": 10,
|
||||
"type": "string"
|
||||
},
|
||||
"version": {
|
||||
"title": "Application's version",
|
||||
"maxLength": 40,
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": ["name"],
|
||||
"type": "object"
|
||||
},
|
||||
"framework_schema": {
|
||||
"properties": {
|
||||
"name": {
|
||||
|
@ -161,6 +186,9 @@
|
|||
"description": "Structure for submitting performance data as part of a job",
|
||||
"id": "https://treeherder.mozilla.org/schemas/v1/performance-artifact.json#",
|
||||
"properties": {
|
||||
"application": {
|
||||
"$ref": "#/definitions/application_schema"
|
||||
},
|
||||
"framework": {
|
||||
"$ref": "#/definitions/framework_schema"
|
||||
},
|
||||
|
|
Загрузка…
Ссылка в новой задаче