build/telemetry-schema.json
author Tom Prince <mozilla@hocat.ca>
Thu, 19 Apr 2018 15:32:02 -0600
changeset 471253 28db2c96ac695ce77c532901f5431a18a1d44374
parent 323391 930c12a120abdefcfc6093164112063cb477b4ce
permissions -rw-r--r--
Bug 1455448: Don't include `firefox` in the decision task index; r=dustin,mshal,rail,Callek a=release The decision task is used for everything built as part of a push (for mozilla-central, this is firefox, devedition and fennec, as well as tasks that aren't strictly part of any product). Thus, having `firefox` encoded as part of the decision task doesn't make sense. This changes the route from index.gecko.v2.${repository.project}.latest.firefox.decision to index.gecko.v2.${repository.project}.latest.taskgraph.decision while leaving the latter for backwards compatability with tools that expect it. Differential Revision: https://phabricator.services.mozilla.com/D996

{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "type": "object",
  "properties": {
    "argv": {"type": "array"},
    "system": {
      "type": "object",
      "properties": {
        "architecture": {"type": "array"},
        "linux_distribution": {"type": "array"},
        "mac_ver": {"type": "array"},
        "machine": {"type": "string"},
        "python_version": {"type": "string"},
        "release": {"type": "string"},
        "system": {"type": "string"},
        "version": {"type": "string"},
        "win_ver": {"type": "array"}
      },
      "required": ["architecture", "machine", "python_version",
                   "release", "system", "version"]
    }
  },
  "required": ["argv", "system"]
}