Merge m-c to autoland, a=merge CLOSED TREE
MozReview-Commit-ID: 86aFtkvKHHj
This commit is contained in:
@@ -245,10 +245,14 @@ task_description_schema = Schema({
|
||||
Extra: basestring, # additional properties are allowed
|
||||
},
|
||||
}, {
|
||||
'implementation': 'macosx-engine',
|
||||
'implementation': 'native-engine',
|
||||
|
||||
# A link for an executable to download
|
||||
Optional('link'): basestring,
|
||||
Optional('context'): basestring,
|
||||
|
||||
# Tells the worker whether machine should reboot
|
||||
# after the task is finished.
|
||||
Optional('reboot'): bool,
|
||||
|
||||
# the command to run
|
||||
Required('command'): [taskref_or_string],
|
||||
@@ -576,7 +580,7 @@ def build_balrog_payload(config, task, task_def):
|
||||
}
|
||||
|
||||
|
||||
@payload_builder('macosx-engine')
|
||||
@payload_builder('native-engine')
|
||||
def build_macosx_engine_payload(config, task, task_def):
|
||||
worker = task['worker']
|
||||
artifacts = map(lambda artifact: {
|
||||
@@ -587,14 +591,15 @@ def build_macosx_engine_payload(config, task, task_def):
|
||||
}, worker['artifacts'])
|
||||
|
||||
task_def['payload'] = {
|
||||
'link': worker['link'],
|
||||
'context': worker['context'],
|
||||
'command': worker['command'],
|
||||
'env': worker['env'],
|
||||
'reboot': worker['reboot'],
|
||||
'artifacts': artifacts,
|
||||
}
|
||||
|
||||
if task.get('needs-sccache'):
|
||||
raise Exception('needs-sccache not supported in macosx-engine')
|
||||
raise Exception('needs-sccache not supported in native-engine')
|
||||
|
||||
|
||||
@payload_builder('buildbot-bridge')
|
||||
|
||||
Reference in New Issue
Block a user