зеркало из https://github.com/mozilla/gecko-dev.git
a10afb7289
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 |
||
---|---|---|
.. | ||
actions | ||
cron | ||
loader | ||
templates | ||
test | ||
transforms | ||
util | ||
__init__.py | ||
action.py | ||
action.yml | ||
create.py | ||
decision.py | ||
docker.py | ||
files_changed.py | ||
filter_tasks.py | ||
generator.py | ||
graph.py | ||
morph.py | ||
optimize.py | ||
parameters.py | ||
target_tasks.py | ||
task.py | ||
taskgraph.py | ||
try_option_syntax.py |