Skip to content

Commit

Permalink
Bug 1854553 - Update cron to trigger snap-upstream-test instead of sn…
Browse files Browse the repository at this point in the history
…ap-upstream-build r=releng-reviewers,taskgraph-reviewers,jcristau

Differential Revision: https://phabricator.services.mozilla.com/D188933
  • Loading branch information
Alexandre Lissy committed Oct 3, 2023
1 parent 09c8bc1 commit f830599
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
10 changes: 5 additions & 5 deletions taskcluster/gecko_taskgraph/target_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -1476,12 +1476,12 @@ def filter(task):
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

0 comments on commit f830599

Please sign in to comment.