From ba1cccb1c461be1904bdb1b3a95cc0ad85a52479 Mon Sep 17 00:00:00 2001 From: Gregory Szorc Date: Tue, 17 May 2016 14:45:12 -0700 Subject: [PATCH] Bug 1272176 - Synchronize performance artifact schema with upstream; r=wlach Having the latest schema available seems like a good thing. This is a direct copy of schemas/performance-artifact.json from https://github.com/mozilla/treeherder.git at commit 7bed1b22ceb01e3e71536fa1c4ecd14ddc87e803. MozReview-Commit-ID: JQC4CeW6szM --HG-- extra : rebase_source : a57d4e93b9334b5c571b05e0ef52f637a45432dd --- .../performance-artifact-schema.json | 58 +++++++++++++++++++ 1 file changed, 58 insertions(+) diff --git a/testing/mozharness/external_tools/performance-artifact-schema.json b/testing/mozharness/external_tools/performance-artifact-schema.json index 85f624a2d261..dc69996baa5d 100644 --- a/testing/mozharness/external_tools/performance-artifact-schema.json +++ b/testing/mozharness/external_tools/performance-artifact-schema.json @@ -24,6 +24,31 @@ "description": "Whether lower values are better for subtest", "title": "Lower is better", "type": "boolean" + }, + "shouldAlert": { + "description": "Whether we should alert", + "title": "Should alert", + "type": "boolean" + }, + "alertThreshold": { + "description": "% change threshold before alerting", + "title": "Alert threshold", + "type": "number" + }, + "minBackWindow": { + "description": "Minimum back window to use for alerting", + "title": "Minimum back window", + "type": "number" + }, + "maxBackWindow": { + "description": "Maximum back window to use for alerting", + "title": "Maximum back window", + "type": "number" + }, + "foreWindow": { + "description": "Fore window to use for alerting", + "title": "Fore window", + "type": "number" } }, "required": [ @@ -38,6 +63,14 @@ "title": "Suite name", "type": "string" }, + "extraOptions": { + "type": "array", + "title": "Extra options used in running suite", + "items": { + "type": "string" + }, + "uniqueItems": true + }, "subtests": { "items": { "$ref": "#/definitions/subtest_schema" @@ -53,6 +86,31 @@ "description": "Whether lower values are better for suite", "title": "Lower is better", "type": "boolean" + }, + "shouldAlert": { + "description": "Whether we should alert on this suite (overrides default behaviour)", + "title": "Should alert", + "type": "boolean" + }, + "alertThreshold": { + "description": "% change threshold before alerting", + "title": "Alert threshold", + "type": "number" + }, + "minBackWindow": { + "description": "Minimum back window to use for alerting", + "title": "Minimum back window", + "type": "number" + }, + "maxBackWindow": { + "description": "Maximum back window to use for alerting", + "title": "Maximum back window", + "type": "number" + }, + "foreWindow": { + "description": "Fore window to use for alerting", + "title": "Fore window", + "type": "number" } }, "required": [