Commit Graph
13 Commits
Author SHA1 Message Date
Dustin J. Mitchell bf74b001ca Bug 1547781 - test that .taskcluster.yml renders; r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D29269
2019-04-30 13:48:05 +00:00
Dustin J. Mitchell 63eed4ffcf Bug 1545862 - translate aws-provisioner-v1 to ec2 except for existing deployment r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D29493
2019-05-15 15:14:15 +00:00
Dustin J. Mitchell 0b72ca674d Bug 1545862 - refactor to generalize worker-type aliasing r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D29129
2019-05-15 14:52:47 +00:00
Andrew Halberstadt 2a9604d4b9 Bug 1519472 - [taskgraph] Factor logic for adding a cache in job.common to a new function, r=tomprince
We add caches at various places in common.py. This consolidates the logic into
a re-useable function. This is in preparation for adding generic-worker cache
support.

This also adds a test. The test is not terribly useful, but I've been looking
for an excuse to lay some groundwork for further tests in the 'job' submodule.
This will do.

Differential Revision: https://phabricator.services.mozilla.com/D17689
2019-02-11 22:19:52 +00:00
Cosmin Sabou f49310d518 Backed out 3 changesets (bug 1519472) for causing wrench bustages and as requested by pmoore. a=backout
Backed out changeset 2ceeee1915ae (bug 1519472)
Backed out changeset b6e19a5b0ab9 (bug 1519472)
Backed out changeset 0b8097689bb5 (bug 1519472)
2019-02-08 13:27:19 +02:00
Andrew Halberstadt d11ee7ee38 Bug 1519472 - [taskgraph] Factor logic for adding a cache in job.common to a new function, r=tomprince
We add caches at various places in common.py. This consolidates the logic into
a re-useable function. This is in preparation for adding generic-worker cache
support.

This also adds a test. The test is not terribly useful, but I've been looking
for an excuse to lay some groundwork for further tests in the 'job' submodule.
This will do.

Differential Revision: https://phabricator.services.mozilla.com/D17689
2019-02-07 20:32:15 +00:00
Dustin J. Mitchell 6d381ffec0 Bug 1398277: special-case retriggering of tasks not in the taskgraph; r=bstack
This will apply to cron tasks, action tasks, and decision tasks.  It is a
distinct retrigger implementation because (a) we do not want to follow
dependencies, and (b) it takes a lot of scopes to create a decision task, so we
need to limit access to this action.

MozReview-Commit-ID: 21DVSiagcrO
2018-07-04 02:46:59 +00:00
Andrew Halberstadt 66db90f18e Bug 1471620 - Skip python-tests locally that don't run with python 3 in CI r=davehunt
This will make sure that when running |mach python-test --python 3| locally,
we only run the tests that also run in CI with python 3 (and therefore pass
presumably).

MozReview-Commit-ID: 3OBr9yLSlSq
2018-06-27 11:10:02 -04:00
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