ReleaseEngineering:TestingTechniques: Difference between revisions

Jump to navigation Jump to search
Line 24: Line 24:
* 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-beta
* For example, if you have a local clone of a repo, in this case mozilla-beta, you can output the list of tasks to a file. Then apply your patch, output the list of tasks to a file, and then diff to ensure your patch resulted in the expected changes. In this case, the patch is to enable talos jobs for linux64 devedition builds.


  Kims-MacBook-Pro:mozilla-beta kmoir$ pwd
  Kims-MacBook-Pro:mozilla-beta kmoir$ pwd
  /Users/kmoir/hg/mozilla-beta
  /Users/kmoir/hg/mozilla-beta
  Kims-MacBook-Pro:mozilla-beta kmoir$ ./mach taskgraph target -p ~/Downloads/parameters-m-b.yml &> old
  Kims-MacBook-Pro:mozilla-beta kmoir$ ./mach taskgraph target -p ~/Downloads/parameters-m-b.yml &> old
  apply patch, in this case it is to enable talos jobs for linux64 devedition builds
  apply patch
  Kims-MacBook-Pro:mozilla-beta kmoir$ hg diff
  Kims-MacBook-Pro:mozilla-beta kmoir$ hg diff
  diff --git a/taskcluster/ci/test/test-platforms.yml b/taskcluster/ci/test/test-platforms.yml
  diff --git a/taskcluster/ci/test/test-platforms.yml b/taskcluster/ci/test/test-platforms.yml
Confirmed users
1,989

edits

Navigation menu