Bug 1433459 - part 1: Move bouncer submission tasks to scriptworker r=mtabara,rail
MozReview-Commit-ID: 6SKhjf1ywoH
This commit is contained in:
@@ -558,10 +558,13 @@ task_description_schema = Schema({
|
||||
# Paths to the artifacts to sign
|
||||
Required('paths'): [basestring],
|
||||
}],
|
||||
}, {
|
||||
Required('implementation'): 'bouncer-submission',
|
||||
Required('locales'): [basestring],
|
||||
Required('entries'): object,
|
||||
}, {
|
||||
Required('implementation'): 'push-apk-breakpoint',
|
||||
Required('payload'): object,
|
||||
|
||||
}, {
|
||||
Required('implementation'): 'invalid',
|
||||
# an invalid task is one which should never actually be created; this is used in
|
||||
@@ -1112,6 +1115,16 @@ def build_balrog_payload(config, task, task_def):
|
||||
})
|
||||
|
||||
|
||||
@payload_builder('bouncer-submission')
|
||||
def build_bouncer_submission_payload(config, task, task_def):
|
||||
worker = task['worker']
|
||||
|
||||
task_def['payload'] = {
|
||||
'locales': worker['locales'],
|
||||
'submission_entries': worker['entries']
|
||||
}
|
||||
|
||||
|
||||
@payload_builder('push-apk')
|
||||
def build_push_apk_payload(config, task, task_def):
|
||||
worker = task['worker']
|
||||
|
||||
Reference in New Issue
Block a user