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:
Alexandre Lissy 2023-10-03 11:09:17 +00:00
parent 09c8bc179c
commit f830599ffd
2 changed files with 6 additions and 6 deletions

View file

@ -394,7 +394,7 @@ jobs:
job: job:
type: decision-task type: decision-task
treeherder-symbol: snap-upstream treeherder-symbol: snap-upstream
target-tasks-method: snap_upstream_build target-tasks-method: snap_upstream_tests
run-on-projects: run-on-projects:
- mozilla-central - mozilla-central
when: when:

View file

@ -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)] return [l for l, t in full_task_graph.tasks.items() if filter(t)]
@_target_task("snap_upstream_build") @_target_task("snap_upstream_tests")
def target_tasks_snap_upstream_build(full_task_graph, parameters, graph_config): 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 Select tasks for testing Snap package built as upstream. Omit -try because
really make sense on m-c it does not really make sense on a m-c cron
""" """
for name, task in full_task_graph.tasks.items(): 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 yield name