Bug 1418671: Use a separate cache for builds that checkout comm-central; r=gps

MozReview-Commit-ID: DxmPkgvQYnp
This commit is contained in:
Tom Prince
2017-11-18 17:43:45 -07:00
parent c79314c97b
commit aa6491479e

View File

@@ -85,6 +85,11 @@ def support_vcs_checkout(config, job, taskdesc, sparse=False):
if job['worker']['implementation'] in ('docker-worker', 'docker-engine'): if job['worker']['implementation'] in ('docker-worker', 'docker-engine'):
name = 'level-%s-checkouts' % level name = 'level-%s-checkouts' % level
# comm-central checkouts need their own cache, because clobber won't
# remove the comm-central checkout
if job['run'].get('comm-checkout', False):
name += '-comm'
# Sparse checkouts need their own cache because they can interfere # Sparse checkouts need their own cache because they can interfere
# with clients that aren't sparse aware. # with clients that aren't sparse aware.
if sparse: if sparse: