зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1612345
- Generalize the retrigger-mochitest action; r=bc
Simple update to strings and names for the custom retrigger action, in preparation for the addition of more tasks. Differential Revision: https://phabricator.services.mozilla.com/D65582 --HG-- rename : taskcluster/taskgraph/actions/retrigger_mochitest.py => taskcluster/taskgraph/actions/retrigger_custom.py extra : moz-landing-system : lando
This commit is contained in:
Родитель
6a100ba3a0
Коммит
125780a30a
|
@ -22,11 +22,11 @@ logger = logging.getLogger(__name__)
|
|||
|
||||
|
||||
@register_callback_action(
|
||||
name='retrigger-mochitest',
|
||||
title='Retrigger Mochitest/Reftest with Debugging',
|
||||
name='retrigger-custom',
|
||||
title='Retrigger task with custom parameters',
|
||||
symbol='rt',
|
||||
generic=True,
|
||||
description="Retriggers the specified mochitest/reftest job with additional options",
|
||||
description="Retriggers the specified task with custom environment and parameters",
|
||||
context=[{'test-type': 'mochitest'},
|
||||
{'test-type': 'reftest'}],
|
||||
order=10,
|
||||
|
@ -81,7 +81,7 @@ logger = logging.getLogger(__name__)
|
|||
'required': ['path']
|
||||
}
|
||||
)
|
||||
def mochitest_retrigger_action(parameters, graph_config, input, task_group_id, task_id):
|
||||
def custom_retrigger_action(parameters, graph_config, input, task_group_id, task_id):
|
||||
task = taskcluster.get_task_definition(task_id)
|
||||
decision_task_id, full_task_graph, label_to_taskid = fetch_graph_and_labels(
|
||||
parameters, graph_config)
|
Загрузка…
Ссылка в новой задаче