gecko-dev/taskcluster
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
..
ci Backed out 2 changesets (bug 1392787) for build bustage a=backout CLOSED TREE 2017-08-24 14:00:42 -07:00
docker Bug 1390700 - Support sparse checkouts in run-task; r=dustin 2017-08-23 18:54:14 -07:00
docs Bug 1390700 - Support sparse checkouts in run-task; r=dustin 2017-08-23 18:54:14 -07:00
scripts Bug 1391476 - Don't install nexus.xml in a Docker volume; r=mshal 2017-08-23 10:34:14 -07:00
taskgraph Bug 1390700 - Support sparse checkouts in run-task; r=dustin 2017-08-23 18:54:14 -07:00
.yamllint Backed out 7 changesets (bug 1387862) for yaml linting failures. 2017-08-09 21:31:30 -04:00
mach_commands.py Bug 1384729 - Move actions into taskgraph dir r=dustin 2017-07-27 10:47:37 -07:00
moz.build Bug 1384729 - Move actions into taskgraph dir r=dustin 2017-07-27 10:47:37 -07:00