forked from mirrors/gecko-dev
Bug 1854553 - Update cron to trigger snap-upstream-test instead of snap-upstream-build r=releng-reviewers,taskgraph-reviewers,jcristau
Differential Revision: https://phabricator.services.mozilla.com/D188933
This commit is contained in:
parent
09c8bc179c
commit
f830599ffd
2 changed files with 6 additions and 6 deletions
|
|
@ -394,7 +394,7 @@ jobs:
|
|||
job:
|
||||
type: decision-task
|
||||
treeherder-symbol: snap-upstream
|
||||
target-tasks-method: snap_upstream_build
|
||||
target-tasks-method: snap_upstream_tests
|
||||
run-on-projects:
|
||||
- mozilla-central
|
||||
when:
|
||||
|
|
|
|||
|
|
@ -1476,12 +1476,12 @@ def target_tasks_holly(full_task_graph, parameters, graph_config):
|
|||
return [l for l, t in full_task_graph.tasks.items() if filter(t)]
|
||||
|
||||
|
||||
@_target_task("snap_upstream_build")
|
||||
def target_tasks_snap_upstream_build(full_task_graph, parameters, graph_config):
|
||||
@_target_task("snap_upstream_tests")
|
||||
def target_tasks_snap_upstream_tests(full_task_graph, parameters, graph_config):
|
||||
"""
|
||||
Select tasks for building snap as upstream. Omit -try because it does not
|
||||
really make sense on m-c
|
||||
Select tasks for testing Snap package built as upstream. Omit -try because
|
||||
it does not really make sense on a m-c cron
|
||||
"""
|
||||
for name, task in full_task_graph.tasks.items():
|
||||
if "snap-upstream-build" in name and not "-try" in name:
|
||||
if "snap-upstream-test" in name and not "-try" in name:
|
||||
yield name
|
||||
|
|
|
|||
Loading…
Reference in a new issue