Merge m-c to inbound, a=merge

This commit is contained in:
Wes Kocher 2016-12-01 15:56:14 -08:00
commit 2dfa7a4a16

View File

@ -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