gecko-dev/taskcluster/taskgraph
Gregory Szorc 22bae15639 Bug 1390700 - Support sparse checkouts in run-task; r=dustin
`run-task` is taught a --sparse-profile argument to be passed down
to `hg robustcheckout` for the main source checkout. It does what
you expect: performs a sparse checkout using the named profile.

The Taskgraph YAML for run-task is taught a "sparse-profile"
property to define the sparse profile. When defined, --sparse-profile
will be passed down to `run-task` and the cache name will be updated
to reflect the use of sparse checkout.

Our cache checking transform is updated to audit for the use of
--sparse-profile without the corresponding "-sparse" cache name
variation.

The reason we need a distinct cache name for sparse is because
clients that aren't sparse aware will be unable to read checkouts
that are sparse. By forcing sparse and non-sparse into different
cache pools, we avoid compatibility issues.

In the ideal world, we probably support sparse profiles on all the
VCS checkouts that `run-task` supports (e.g. --tools-checkout).
Perfect is the enemy of done. All of this is defined in-tree and
it is easy enough to change atomically.

MozReview-Commit-ID: 79k7Vul0hHO

--HG--
extra : rebase_source : babe9b42e2796c2341bffc6ecfe829f4daff9e0f
2017-08-23 18:54:14 -07:00
..
actions Bug 1391417 - Make retrigger act like it does in mozilla-taskcluster r=dustin 2017-08-17 17:11:44 -07:00
cron Bug 1328727: use json-e for cron decision tasks too; r=aki,jonasfj 2017-07-21 18:08:06 +00:00
loader Bug 1383257 - Schedule devedition testing too. r=catlee 2017-07-25 15:23:33 -04:00
templates Bug 1387135 - Add an 'artifact' try_task_config template to schedule artifact builds, r=dustin 2017-08-15 11:37:40 -04:00
test Bug 1387135 - Add an 'artifact' try_task_config template to schedule artifact builds, r=dustin 2017-08-15 11:37:40 -04:00
transforms Bug 1390700 - Support sparse checkouts in run-task; r=dustin 2017-08-23 18:54:14 -07:00
util Bug 1391476 - Capture Docker volumes in docker-worker config; r=dustin 2017-08-23 08:53:56 -07:00
__init__.py Bug 1341214 - Define GECKO in a single location. r=dustin 2017-02-17 11:56:12 +09:00
action.py Bug 1373043 - Make taskcluster backfill use the treeherder /jobs/ endpoint r=garndt 2017-06-14 16:55:43 -04:00
action.yml Bug 1389850: use per-level decision and image workers; r=bstack 2017-08-16 13:23:13 +00:00
create.py Bug 1388407 - Fix timeouts in action-task graph submission r=dustin 2017-08-11 15:31:43 -07:00
decision.py Bug 1391776: cleanup of taskgraph docs; r=ahal 2017-08-23 15:22:10 -04:00
docker.py Bug 1341214 - Add a small API to handle taskcluster queue and index requests. r=dustin 2017-02-17 12:04:48 +09:00
files_changed.py
filter_tasks.py Bug 1384759 - Only filter test tasks for Servo changes; r=froydnj 2017-07-26 17:09:53 -07:00
generator.py Bug 1387135 - Add ability to apply templates to task definitions via try_task_config.json, r=dustin 2017-08-15 11:36:29 -04:00
graph.py Bug 1391417 - Make retrigger act like it does in mozilla-taskcluster r=dustin 2017-08-17 17:11:44 -07:00
morph.py Bug 1387135 - Add ability to apply templates to task definitions via try_task_config.json, r=dustin 2017-08-15 11:36:29 -04:00
optimize.py Bug 1379163: make parameterization functions into utilities; r=bstack 2017-07-20 19:24:50 +00:00
parameters.py Bug 1387135 - Add ability to apply templates to task definitions via try_task_config.json, r=dustin 2017-08-15 11:36:29 -04:00
target_tasks.py Bug 1387135 - Add ability to apply templates to task definitions via try_task_config.json, r=dustin 2017-08-15 11:36:29 -04:00
task.py Bug 1333255: rename taskgraph.task to taskgraph.loader; r=jonasfj 2017-03-09 19:00:49 -05:00
taskgraph.py Bug 1333255: rename taskgraph.task to taskgraph.loader; r=jonasfj 2017-03-09 19:00:49 -05:00
try_option_syntax.py Bug 1382729: allow uploading docs at all levels; r=gps 2017-08-08 19:13:05 +00:00