зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
d360bdebf5
Коммит
0f92c398ce
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче