зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1470621: make all actions use hooks r=tomprince
Everything but release-promotion (to be handled in another bug) is generic. For the moment, these all run with the default repo scopes; once this is landed, I can start adjusting that and granting the necessary scopes only to these actions. MozReview-Commit-ID: IB8OEsfeBpj --HG-- extra : rebase_source : 6ef1697cf255b579097ef8b85be8f9f62718f548
This commit is contained in:
Родитель
9b317841af
Коммит
3f64667c27
|
@ -14,6 +14,8 @@ from .util import (create_tasks, fetch_graph_and_labels)
|
|||
@register_callback_action(
|
||||
name='add-new-jobs',
|
||||
title='Add new jobs',
|
||||
kind='hook',
|
||||
generic=True,
|
||||
symbol='add-new',
|
||||
description="Add new jobs using task labels.",
|
||||
order=10000,
|
||||
|
|
|
@ -17,6 +17,8 @@ logger = logging.getLogger(__name__)
|
|||
@register_callback_action(
|
||||
name='run-all-talos',
|
||||
title='Run All Talos Tests',
|
||||
kind='hook',
|
||||
generic=True,
|
||||
symbol='raT',
|
||||
description="Add all Talos tasks to a push.",
|
||||
order=100, # Useful for sheriffs, but not top of the list
|
||||
|
|
|
@ -40,6 +40,8 @@ def list_group(task_group_id, session):
|
|||
@register_callback_action(
|
||||
title='Cancel All',
|
||||
name='cancel-all',
|
||||
kind='hook',
|
||||
generic=True,
|
||||
symbol='cAll',
|
||||
description=(
|
||||
'Cancel all running and pending tasks created by the decision task '
|
||||
|
|
|
@ -23,6 +23,8 @@ logger = logging.getLogger(__name__)
|
|||
@register_callback_action(
|
||||
name='retrigger-mochitest-reftest-with-options',
|
||||
title='Mochitest/Reftest Retrigger',
|
||||
kind='hook',
|
||||
generic=True,
|
||||
symbol='tr',
|
||||
description="Retriggers the specified mochitest/reftest job with additional options",
|
||||
context=[{'test-type': 'mochitest'},
|
||||
|
|
|
@ -17,6 +17,8 @@ logger = logging.getLogger(__name__)
|
|||
@register_callback_action(
|
||||
title='Purge Caches',
|
||||
name='purge-caches',
|
||||
kind='hook',
|
||||
generic=True,
|
||||
symbol='purge-caches',
|
||||
description=(
|
||||
'Purge any caches associated with this task '
|
||||
|
|
|
@ -24,6 +24,8 @@ RERUN_STATES = ('exception', 'failed')
|
|||
@register_callback_action(
|
||||
title='Rerun',
|
||||
name='rerun',
|
||||
kind='hook',
|
||||
generic=True,
|
||||
symbol='rr',
|
||||
description=(
|
||||
'Rerun a task.\n\n'
|
||||
|
|
|
@ -18,6 +18,8 @@ logger = logging.getLogger(__name__)
|
|||
@register_callback_action(
|
||||
name='run-missing-tests',
|
||||
title='Run Missing Tests',
|
||||
kind='hook',
|
||||
generic=True,
|
||||
symbol='rmt',
|
||||
description=(
|
||||
"Run tests in the selected push that were optimized away, usually by SETA."
|
||||
|
|
Загрузка…
Ссылка в новой задаче