gecko-dev/taskcluster/docs
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.rst Bug 1390938: only use one top-level heading; r=bstack 2017-08-16 16:26:58 +00:00
attributes.rst Bug 1386149 - Allow build jobs to use toolchain aliases instead of toolchain job names. r=dustin 2017-07-27 18:02:38 +09:00
caches.rst Bug 1390700 - Support sparse checkouts in run-task; r=dustin 2017-08-23 18:54:14 -07:00
cron.rst Bug 1380391 - Index decision tasks under pushlog_id r=dustin 2017-07-12 10:56:02 -07:00
docker-images.rst Backed out changeset fe7303de56be (bug 1302763) for failing webdriver tests on Linux x64 debug (geckodriver.manifest fetch failed). r=backout 2016-12-19 21:15:07 +01:00
how-tos.rst Bug 1391776: cleanup of taskgraph docs; r=ahal 2017-08-23 15:22:10 -04:00
index.rst Bug 1391776: cleanup of taskgraph docs; r=ahal 2017-08-23 15:22:10 -04:00
kinds.rst Bug 1391776: cleanup of taskgraph docs; r=ahal 2017-08-23 15:22:10 -04:00
loading.rst Bug 1333255: always transform tasks; r=jonasfj 2017-03-09 16:40:33 -05:00
mach.rst Bug 1391776: cleanup of taskgraph docs; r=ahal 2017-08-23 15:22:10 -04:00
optimization.rst Bug 1359942: rename optimization to skip-unless-changed; r=glandium 2017-05-23 10:22:53 -04:00
parameters.rst 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
reference.rst Bug 1307571: move reference docs to a sub-TOC; r=mshal 2016-10-04 19:59:05 +00:00
taskgraph.rst Bug 1391776: cleanup of taskgraph docs; r=ahal 2017-08-23 15:22:10 -04:00
transforms.rst Bug 1325701 - test transform should produce a job description, not a task description; r=dustin 2017-01-18 16:55:53 +05:30
try.rst Bug 1391776: cleanup of taskgraph docs; r=ahal 2017-08-23 15:22:10 -04:00