gecko-dev/taskcluster
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
..
ci Bug 1390858 - run mochitest-gpu and mochitest-chrome and mochitest-clipboard on windows 10. r=ahal 2017-09-07 10:23:48 -04:00
docker Bug 1397318: mozlint -l py2 for taskcluster/; r=ahal 2017-09-06 17:29:32 +00:00
docs merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-09-05 23:55:39 +02:00
scripts Bug 1277338 - Part 10: Add the SM-tc(rust) taskcluster task; r=sfink 2017-09-05 09:26:21 -07:00
taskgraph Bug 1397503 - Vary cache name when using out-of-tree Docker images; r=dustin 2017-09-06 16:09:15 -07:00
.yamllint Bug 1392795 - [yamllint] Group paths to lint by their closest config and run each config group separately, r=dustin 2017-08-23 11:28:28 -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