зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1442545: Add max-run-time to signing workers; r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D974 --HG-- extra : rebase_source : 516e2ef631a24e89c8ae352749452b25766fa1fe extra : histedit_source : 5791d6042e5ff4f58aa9e3671d38b578da4ac96a
This commit is contained in:
Родитель
ae41b01548
Коммит
04c60d2765
|
@ -66,6 +66,9 @@ signing_description_schema = Schema({
|
|||
|
||||
Optional('shipping-phase'): task_description_schema['shipping-phase'],
|
||||
Optional('shipping-product'): task_description_schema['shipping-product'],
|
||||
|
||||
# Optional control for how long a task may run (aka maxRunTime)
|
||||
Optional('max-run-time'): int,
|
||||
})
|
||||
|
||||
|
||||
|
@ -144,7 +147,7 @@ def make_task_description(config, jobs):
|
|||
'worker-type': get_worker_type_for_scope(config, signing_cert_scope),
|
||||
'worker': {'implementation': 'scriptworker-signing',
|
||||
'upstream-artifacts': job['upstream-artifacts'],
|
||||
'max-run-time': 3600},
|
||||
'max-run-time': job.get('max-run-time', 3600)},
|
||||
'scopes': [signing_cert_scope] + signing_format_scopes,
|
||||
'dependencies': {job['depname']: dep_job.label},
|
||||
'attributes': attributes,
|
||||
|
|
Загрузка…
Ссылка в новой задаче