gecko-dev/taskcluster/taskgraph
Gregory Szorc a10afb7289 Bug 1397503 - Vary cache name when using out-of-tree Docker images; r=dustin
We currently vary the cache name for run-task tasks whenever run-task
changes. This allows us to not worry about backwards or forwards
compatibility of caches in run-task tasks.

This strategy doesn't work for out-of-tree Docker images because
the content of run-task cannot be determined at Taskgraph time:
the content of run-task was determined when that Docker image was
built and there is no way to get that content efficiently during
Taskgraph.

So, for out-of-tree Docker images we now vary the cache name by
the Docker image value, which includes its name and a tag or
hash. This means that out-of-tree run-task tasks will get separate
caches for each distinct Docker image.

This isn't ideal. Ideally we would share caches if run-task doesn't
vary between Docker images. But without any way of proving that
at Taskgraph time, we take the safe road and force cache separation.

MozReview-Commit-ID: FMiQBqfvjqW

--HG--
extra : rebase_source : b2763625a3a69e0cf11b6d648a6fcca379234f02
2017-09-06 16:09:15 -07:00
..
actions Bug 1394952: it's /builds/worker, not /home/builds; r=wcosta 2017-08-29 21:34:54 +00: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 1395717 - Use filename source-test tasks are defined in as part of their label, r=dustin 2017-08-31 16:38:08 -04:00
templates Bug 1391075 - Add template to modify task env from |mach try fuzzy|, r=dustin 2017-08-25 15:24:22 -04:00
test Bug 1397318: mozlint -l py2 for taskcluster/; r=ahal 2017-09-06 17:29:32 +00:00
transforms Bug 1397503 - Vary cache name when using out-of-tree Docker images; r=dustin 2017-09-06 16:09:15 -07:00
util Bug 1397318: mozlint -l py2 for taskcluster/; r=ahal 2017-09-06 17:29:32 +00:00
__init__.py Bug 1397318: mozlint -l py2 for taskcluster/; r=ahal 2017-09-06 17:29:32 +00: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 1396657: really, finally, use /builds for old action tasks; r=wcosta 2017-09-05 13:27:06 +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 Backed out 9 changesets (bug 1383880) for decision task bustage. 2017-09-01 15:37:08 -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 Bug 1286075: add support for optimizing based on files changed in the push; r=gps 2016-09-12 18:40:12 +00:00
filter_tasks.py Bug 1384759 - Only filter test tasks for Servo changes; r=froydnj 2017-07-26 17:09:53 -07:00
generator.py Backed out 9 changesets (bug 1383880) for decision task bustage. 2017-09-01 15:37:08 -04:00
graph.py Backed out 9 changesets (bug 1383880) for decision task bustage. 2017-09-01 15:37:08 -04:00
morph.py Backed out 9 changesets (bug 1383880) for decision task bustage. 2017-09-01 15:37:08 -04:00
optimize.py Backed out 9 changesets (bug 1383880) for decision task bustage. 2017-09-01 15:37:08 -04:00
parameters.py Backed out 9 changesets (bug 1383880) for decision task bustage. 2017-09-01 15:37:08 -04:00
target_tasks.py Backed out 9 changesets (bug 1383880) for decision task bustage. 2017-09-01 15:37:08 -04:00
task.py Backed out 9 changesets (bug 1383880) for decision task bustage. 2017-09-01 15:37:08 -04: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 1396997 - Update try pretty names for stylo-disabled jobs. r=froydnj 2017-09-05 15:52:52 -05:00