Bug 1436977 Disable partials diff caching for macosx r=rail

MozReview-Commit-ID: i1oe7foWam

--HG--
extra : rebase_source : eacbf3c070444302ab441d36a79e721327802453
This commit is contained in:
Simon Fraser 2018-02-13 10:42:05 +00:00
Родитель c34eade22f
Коммит 891b18d755
1 изменённых файлов: 6 добавлений и 2 удалений

Просмотреть файл

@ -147,8 +147,7 @@ def make_task_description(config, jobs):
'worker-type': 'aws-provisioner-v1/gecko-%s-b-linux' % level,
'dependencies': dependencies,
'scopes': [
'secrets:get:project/releng/gecko/build/level-%s/datadog-api-key' % level,
'auth:aws-s3:read-write:tc-gp-private-1d-us-east-1/releng/mbsdiff-cache/'
'secrets:get:project/releng/gecko/build/level-%s/datadog-api-key' % level
],
'attributes': attributes,
'run-on-projects': dep_job.attributes.get('run_on_projects'),
@ -157,4 +156,9 @@ def make_task_description(config, jobs):
'worker': worker,
}
# We only want caching on linux/windows due to bug 1436977
if any([platform in dep_th_platform for platform in ['linux', 'windows']]):
task['scopes'].append(
'auth:aws-s3:read-write:tc-gp-private-1d-us-east-1/releng/mbsdiff-cache/')
yield task