Commit Graph
5 Commits
Author SHA1 Message Date
Armen Zambrano G. 1a2d45f217 Bug 1422133 - Generate runnable-jobs.json.gz file as part of the Gecko decision task run. r=dustin
The runnable jobs API on Treeherder is timing out quite frequently.
This is due that it downloads the full-task-graph.json artifact from the Gecko decision task.

This file has grown to be massive (over 30MB) and that takes too long to fetch. The API times out after 20 seconds.

The data we need from the artifact is minimal. We can generate a file with just the minimum amount of data needed.

This code change adds logic to generate a runnable-jobs.json.gz file after the full-task-graph.json artifact is generated.

MozReview-Commit-ID: 9u2H7HbUAcl
2017-11-30 16:05:53 -05:00
Dustin J. Mitchell 39e222aa43 Bug 1379163: make parameterization functions into utilities; r=bstack
These both have a similar form, recursing over a nested JSON structure, and are
useful outside of the modules in which they are defined.

MozReview-Commit-ID: 1bsRtlaQol7
2017-07-20 19:24:50 +00:00
Andrew Halberstadt 1fa6d38726 Bug 1380338 - Convert taskgraph unit tests to the |mach python-test| framework, r=dustin
These tests can now be run with:
./mach python-test taskcluster/taskgraph

or:
./mach python-test taskcluster

They can now run in parallel by passing in -j.

MozReview-Commit-ID: JXeZV8B04Sf
2017-07-12 10:47:14 -04:00
Sebastian Hengst dcede17763 Backed out changeset 54e4545b0fe0 (bug 1380338) for breaking spidermonkey pkg due to failing to process taskgraph/test/python.ini. r=backout 2017-07-12 19:18:46 +02:00
Andrew Halberstadt 98b4a9d6fe Bug 1380338 - Convert taskgraph unit tests to the |mach python-test| framework, r=dustin
These tests can now be run with:
./mach python-test taskcluster/taskgraph

or:
./mach python-test taskcluster

They can now run in parallel by passing in -j.

MozReview-Commit-ID: JXeZV8B04Sf
2017-07-12 10:47:14 -04:00