Skip to content
Snippets Groups Projects
Commit 768651a6 authored by Gabriel Bustamante's avatar Gabriel Bustamante
Browse files

Bug 1752111 - Make l10n bumper run on autoland instead of mozilla-central r=aki

parent 36cc7dc2
No related branches found
No related tags found
No related merge requests found
...@@ -29,8 +29,6 @@ jobs: ...@@ -29,8 +29,6 @@ jobs:
- mozilla-central - mozilla-central
when: when:
by-project: by-project:
# `l10n-bumper` job should have enough time to finish before this
# job runs
mozilla-central: [{hour: 10, minute: 0}, {hour: 22, minute: 0}] mozilla-central: [{hour: 10, minute: 0}, {hour: 22, minute: 0}]
# No default # No default
...@@ -277,12 +275,14 @@ jobs: ...@@ -277,12 +275,14 @@ jobs:
treeherder-symbol: l10n-bump treeherder-symbol: l10n-bump
target-tasks-method: l10n_bump target-tasks-method: l10n_bump
run-on-projects: run-on-projects:
- autoland
- mozilla-central - mozilla-central
- mozilla-beta - mozilla-beta
when: when:
by-project: by-project:
# 3h15m before launch of `nightly-desktop` # 3h15m before launch of `nightly-desktop`
mozilla-central: [{hour: 6, minute: 45}, {hour: 18, minute: 45}] autoland: [{hour: 6, minute: 45}, {hour: 18, minute: 45}]
mozilla-central: []
# 3h15m before launch of `daily-releases` # 3h15m before launch of `daily-releases`
mozilla-beta: [{hour: 18, minute: 45}] mozilla-beta: [{hour: 18, minute: 45}]
# No default # No default
......
...@@ -8,7 +8,6 @@ transforms: ...@@ -8,7 +8,6 @@ transforms:
- gecko_taskgraph.transforms.release_version_bump:transforms - gecko_taskgraph.transforms.release_version_bump:transforms
- gecko_taskgraph.transforms.task:transforms - gecko_taskgraph.transforms.task:transforms
job-defaults: job-defaults:
worker-type: tree worker-type: tree
worker: worker:
...@@ -19,15 +18,20 @@ job-defaults: ...@@ -19,15 +18,20 @@ job-defaults:
by-project: by-project:
mozilla-beta: false mozilla-beta: false
default: true default: true
ignore-closed-tree: false ignore-closed-tree:
by-project:
autoland: true
default: false
push: push:
by-project: by-project:
mozilla-(central|beta): true mozilla-(central|beta): true
autoland: true
default: false default: false
source-repo: source-repo:
by-release-type: by-release-type:
beta: https://hg.mozilla.org/releases/mozilla-beta beta: https://hg.mozilla.org/releases/mozilla-beta
default: https://hg.mozilla.org/mozilla-central nightly: https://hg.mozilla.org/mozilla-central
default: https://hg.mozilla.org/integration/autoland
l10n-bump-info: l10n-bump-info:
by-release-type: by-release-type:
# XXX whenever the `beta` config changes, make sure to make # XXX whenever the `beta` config changes, make sure to make
...@@ -52,23 +56,27 @@ job-defaults: ...@@ -52,23 +56,27 @@ job-defaults:
- win64-devedition - win64-devedition
- win64-aarch64 - win64-aarch64
- win64-aarch64-devedition - win64-aarch64-devedition
platform-configs: [{ platform-configs:
"platforms": [ [
"linux", {
"linux-devedition", "platforms":
"linux64", [
"linux64-devedition", "linux",
"macosx64", "linux-devedition",
"macosx64-devedition", "linux64",
"win32", "linux64-devedition",
"win32-devedition", "macosx64",
"win64", "macosx64-devedition",
"win64-devedition", "win32",
"win64-aarch64", "win32-devedition",
"win64-aarch64-devedition", "win64",
], "win64-devedition",
"path": "browser/locales/shipped-locales", "win64-aarch64",
}] "win64-aarch64-devedition",
],
"path": "browser/locales/shipped-locales",
},
]
default: default:
name: Firefox l10n changesets name: Firefox l10n changesets
path: browser/locales/l10n-changesets.json path: browser/locales/l10n-changesets.json
...@@ -89,23 +97,27 @@ job-defaults: ...@@ -89,23 +97,27 @@ job-defaults:
- win64-devedition - win64-devedition
- win64-aarch64 - win64-aarch64
- win64-aarch64-devedition - win64-aarch64-devedition
platform-configs: [{ platform-configs:
"platforms": [ [
"linux", {
"linux-devedition", "platforms":
"linux64", [
"linux64-devedition", "linux",
"macosx64", "linux-devedition",
"macosx64-devedition", "linux64",
"win32", "linux64-devedition",
"win32-devedition", "macosx64",
"win64", "macosx64-devedition",
"win64-devedition", "win32",
"win64-aarch64", "win32-devedition",
"win64-aarch64-devedition", "win64",
], "win64-devedition",
"path": "browser/locales/all-locales", "win64-aarch64",
}] "win64-aarch64-devedition",
],
"path": "browser/locales/all-locales",
},
]
jobs: jobs:
l10n-bumper: l10n-bumper:
......
...@@ -21,7 +21,7 @@ def handle_keyed_by(config, tasks): ...@@ -21,7 +21,7 @@ def handle_keyed_by(config, tasks):
] ]
for task in tasks: for task in tasks:
fields = default_fields[:] fields = default_fields[:]
for additional_field in ("l10n-bump-info", "source-repo", "dontbuild"): for additional_field in ("l10n-bump-info", "source-repo", "dontbuild", "ignore-closed-tree"):
if additional_field in task["worker"]: if additional_field in task["worker"]:
fields.append(f"worker.{additional_field}") fields.append(f"worker.{additional_field}")
for field in fields: for field in fields:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment