mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 15:25:52 +00:00
Merge m-c to inbound, a=merge
This commit is contained in:
commit
2dfa7a4a16
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user