From f830599ffd8ae17e97bb098fed37c9195043a30c Mon Sep 17 00:00:00 2001 From: Alexandre Lissy Date: Tue, 3 Oct 2023 11:09:17 +0000 Subject: [PATCH] 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 --- .cron.yml | 2 +- taskcluster/gecko_taskgraph/target_tasks.py | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.cron.yml b/.cron.yml index 32f3044e877e..dc8502aac29b 100644 --- a/.cron.yml +++ b/.cron.yml @@ -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: diff --git a/taskcluster/gecko_taskgraph/target_tasks.py b/taskcluster/gecko_taskgraph/target_tasks.py index b5e83d928cb0..9ed279762929 100644 --- a/taskcluster/gecko_taskgraph/target_tasks.py +++ b/taskcluster/gecko_taskgraph/target_tasks.py @@ -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 -- 2.11.4.GIT