зеркало из 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": {
|
"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": {
|
"framework_schema": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"name": {
|
"name": {
|
||||||
|
@ -161,6 +186,9 @@
|
||||||
"description": "Structure for submitting performance data as part of a job",
|
"description": "Structure for submitting performance data as part of a job",
|
||||||
"id": "https://treeherder.mozilla.org/schemas/v1/performance-artifact.json#",
|
"id": "https://treeherder.mozilla.org/schemas/v1/performance-artifact.json#",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
"application": {
|
||||||
|
"$ref": "#/definitions/application_schema"
|
||||||
|
},
|
||||||
"framework": {
|
"framework": {
|
||||||
"$ref": "#/definitions/framework_schema"
|
"$ref": "#/definitions/framework_schema"
|
||||||
},
|
},
|
||||||
|
|
Загрузка…
Ссылка в новой задаче