зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1391789 - Stop versioning version control cache; r=dustin
We added this versioning as a mechanism to create clean breaks when version control mechanisms change in significant ways. Now that run-task's content influences cache names and this cache name pattern must be used with run-task, we no longer need this versioning and can rely on run-task's content and cache requirements to switch to new caches. MozReview-Commit-ID: KJ7IF7UzDsg --HG-- extra : rebase_source : 9d562ec3977fea7920039a66be13cfae8980475e
This commit is contained in:
Родитель
ffba62a0c4
Коммит
e23a086148
|
@ -87,15 +87,7 @@ def support_vcs_checkout(config, job, taskdesc):
|
|||
if job['worker']['implementation'] in ('docker-worker', 'docker-engine'):
|
||||
taskdesc['worker'].setdefault('caches', []).append({
|
||||
'type': 'persistent',
|
||||
# History of versions:
|
||||
#
|
||||
# ``level-%s-checkouts`` was initially used and contained a number
|
||||
# of backwards incompatible changes, such as moving HG_STORE_PATH
|
||||
# from a separate cache to this cache.
|
||||
#
|
||||
# ``v1`` was introduced to provide a clean break from the unversioned
|
||||
# cache.
|
||||
'name': 'level-%s-checkouts-v1' % level,
|
||||
'name': 'level-%s-checkouts' % level,
|
||||
'mount-point': '/home/worker/checkouts',
|
||||
})
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче