Bug 1321614 - fix android_stuff kind to use build secrets, because it uses the same mozharness stuff as build jobs. r=dustin a=bustage

MozReview-Commit-ID: D6wV1KSa6mp

--HG--
extra : source : 402535c480347e46f743ba6b96d25298bdf07651
This commit is contained in:
Justin Wood 2016-12-01 14:13:16 -05:00
Родитель d360bdebf5
Коммит 0f92c398ce
1 изменённых файлов: 6 добавлений и 0 удалений

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

@ -8,6 +8,7 @@ Set dynamic task description properties of the android stuff. Temporary!
from __future__ import absolute_import, print_function, unicode_literals
from taskgraph.transforms.base import TransformSequence
from taskgraph.transforms.job.common import SECRET_SCOPE
transforms = TransformSequence()
@ -42,5 +43,10 @@ def setup_task(config, tasks):
'mount-point': "/home/worker/workspace",
})
# Need appropriate scopes for secrets, from the 'build' section
task['worker']['taskcluster-proxy'] = True
task['scopes'].append(SECRET_SCOPE.format(
'build', config.params['level'], '*'))
del task['name']
yield task