mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 15:23:51 +00:00
Bug 1370343 - Update action task metadata to be more useful r=dustin
MozReview-Commit-ID: 2OAkAlA6sW4 --HG-- extra : rebase_source : 819cbc71229d52f0bf67b75ccee1755939007218
This commit is contained in:
parent
95f9a0f17d
commit
7cdf3d96ac
@ -19,7 +19,7 @@ from taskgraph.taskgraph import TaskGraph
|
||||
name='add-new-jobs',
|
||||
title='Add new jobs',
|
||||
symbol='add-new',
|
||||
description="Add new jobs using task labels",
|
||||
description="Add new jobs using task labels.",
|
||||
order=10000,
|
||||
context=[],
|
||||
schema={
|
||||
|
@ -12,7 +12,11 @@ from .registry import register_task_action
|
||||
@register_task_action(
|
||||
title='Retrigger',
|
||||
name='retrigger',
|
||||
description='Create a clone of the task',
|
||||
description=(
|
||||
'Create a clone of the task.\n\n'
|
||||
'This does not update any dependencies or '
|
||||
'cause any downstream tasks to be retriggered.'
|
||||
),
|
||||
order=1,
|
||||
context=[{}],
|
||||
)
|
||||
|
@ -22,14 +22,14 @@ logger = logging.getLogger(__name__)
|
||||
name='run-missing-tests',
|
||||
title='Run Missing Tests',
|
||||
symbol='rmt',
|
||||
description="""
|
||||
Run tests in the selected push that were optimized away, usually by SETA.
|
||||
|
||||
This action is for use on pushes that will be merged into another branch,
|
||||
to check that optimization hasn't hidden any failures.
|
||||
""",
|
||||
description=(
|
||||
"Run tests in the selected push that were optimized away, usually by SETA."
|
||||
"\n"
|
||||
"This action is for use on pushes that will be merged into another branch,"
|
||||
"to check that optimization hasn't hidden any failures."
|
||||
),
|
||||
order=100, # Useful for sheriffs, but not top of the list
|
||||
context=[], # Applies to any task
|
||||
context=[], # Applies to decision task
|
||||
)
|
||||
def run_missing_tests(parameters, input, task_group_id, task_id, task):
|
||||
decision_task_id = find_decision_task(parameters)
|
||||
|
Loading…
Reference in New Issue
Block a user