ReleaseEngineering:TestingTechniques: Difference between revisions

Jump to navigation Jump to search
m
Line 13: Line 13:
* Documentation on using mach taskgraph http://gecko.readthedocs.io/en/latest/taskcluster/taskcluster/taskgraph.html
* Documentation on using mach taskgraph http://gecko.readthedocs.io/en/latest/taskcluster/taskcluster/taskgraph.html


* For instance, if you have a local clone of mozilla-inbound
* For instance, if you have a local clone of mozilla-beta
 


  Kims-MacBook-Pro:mozilla-beta kmoir$ pwd
  Kims-MacBook-Pro:mozilla-beta kmoir$ pwd
Line 87: Line 86:


* You can also output the actual json of the taskgraph that will be generated.  This is a useful troubleshooting tool when you are changing the dependencies of the tasks within a graph, or the payload
* You can also output the actual json of the taskgraph that will be generated.  This is a useful troubleshooting tool when you are changing the dependencies of the tasks within a graph, or the payload
<text>
 
./mach taskgraph target  --json -p ~/Downloads/parameters-m-b.yml > task.json
./mach taskgraph target  --json -p ~/Downloads/parameters-m-b.yml > task.json
more task.json
more task.json
{
{
  "android-api-15-gradle-dependencies": {
  "android-api-15-gradle-dependencies": {
    "attributes": {
    "attributes": {
      "build_platform": "android-api-15-gradle-dependencies",
      "build_platform": "android-api-15-gradle-dependencies",
      "build_type": "opt",
      "build_type": "opt",
      "kind": "android-stuff",
      "kind": "android-stuff",
      "run_on_projects": [
      "run_on_projects": [
        "all"
        "all"
      ]
      ]
    },
    },
    "dependencies": {},
    "dependencies": {},
    "kind_implementation": "taskgraph.task.transform:TransformTask",
    "kind_implementation": "taskgraph.task.transform:TransformTask",
    "label": "android-api-15-gradle-dependencies",
    "label": "android-api-15-gradle-dependencies",
    "task": {
    "task": {
      "created": {
      "created": {
        "relative-datestamp": "0 seconds"
        "relative-datestamp": "0 seconds"
      },
      },
      "deadline": {
      "deadline": {
        "relative-datestamp": "1 day"
        "relative-datestamp": "1 day"
      },
      },
      "expires": {
      "expires": {
        "relative-datestamp": "1 year"
        "relative-datestamp": "1 year"
      },
      },
.....
.....
</text>


= Buildbot =
= Buildbot =
Confirmed users
1,989

edits

Navigation menu