From 27a6e1ea6f242f6785043efac65bef7e50274768 Mon Sep 17 00:00:00 2001 From: Geoff Brown Date: Mon, 15 Apr 2024 18:07:57 +0000 Subject: [PATCH] Bug 1890373 - Enable android-l10n-sync via cron on mozilla-beta r=hneiva,gabriel Differential Revision: https://phabricator.services.mozilla.com/D206931 --- .cron.yml | 9 +++++++++ taskcluster/gecko_taskgraph/target_tasks.py | 5 +++++ 2 files changed, 14 insertions(+) diff --git a/.cron.yml b/.cron.yml index 0cf3dec15c24..d8546db00cf9 100644 --- a/.cron.yml +++ b/.cron.yml @@ -396,3 +396,12 @@ jobs: run-on-projects: [autoland] when: - {hour: 0, minute: 0} + + - name: android-l10n-sync + job: + type: decision-task + treeherder-symbol: android-l10n-sync + target-tasks-method: android-l10n-sync + run-on-projects: [mozilla-beta] + when: + - {hour: 2, minute: 0} diff --git a/taskcluster/gecko_taskgraph/target_tasks.py b/taskcluster/gecko_taskgraph/target_tasks.py index bac6be4d4334..e004cfb3e29f 100644 --- a/taskcluster/gecko_taskgraph/target_tasks.py +++ b/taskcluster/gecko_taskgraph/target_tasks.py @@ -1648,3 +1648,8 @@ def target_tasks_nightly_android(full_task_graph, parameters, graph_config): @_target_task("android-l10n-import") def target_tasks_android_l10n_import(full_task_graph, parameters, graph_config): return [l for l, t in full_task_graph.tasks.items() if l == "android-l10n-import"] + + +@_target_task("android-l10n-sync") +def target_tasks_android_l10n_sync(full_task_graph, parameters, graph_config): + return [l for l, t in full_task_graph.tasks.items() if l == "android-l10n-sync"]