зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1797891 - Make some tasks really only run on m-c or autoland. r=jcristau
As of bug 1791454 m-c and autoland both also imply the toolchains branch, which doesn't work for every kind of task, some of which are really meant to only run on those branches. Differential Revision: https://phabricator.services.mozilla.com/D164149
This commit is contained in:
Родитель
a9d4cdbd5f
Коммит
1861703e51
|
@ -18,7 +18,7 @@ android-geckoview-docs/opt:
|
|||
kind: build
|
||||
tier: 2
|
||||
symbol: A(gv-docs)
|
||||
run-on-projects: [mozilla-central]
|
||||
run-on-projects: [mozilla-central-only]
|
||||
worker-type: b-linux-gcp
|
||||
worker:
|
||||
docker-image: {in-tree: android-build}
|
||||
|
|
|
@ -16,7 +16,7 @@ transforms:
|
|||
job-defaults:
|
||||
attributes:
|
||||
retrigger: true
|
||||
run-on-projects: ['mozilla-central']
|
||||
run-on-projects: ['mozilla-central-only']
|
||||
worker-type: b-linux-gcp
|
||||
treeherder:
|
||||
platform: other/opt
|
||||
|
|
|
@ -42,7 +42,7 @@ upload:
|
|||
symbol: doc(upload)
|
||||
kind: test
|
||||
tier: 2
|
||||
run-on-projects: [mozilla-central]
|
||||
run-on-projects: [mozilla-central-only]
|
||||
worker-type: t-linux-xlarge-source
|
||||
worker:
|
||||
docker-image: {in-tree: "lint"}
|
||||
|
|
|
@ -17,7 +17,7 @@ job-defaults:
|
|||
treeherder:
|
||||
kind: other
|
||||
tier: 3
|
||||
run-on-projects: ['autoland']
|
||||
run-on-projects: ['autoland-only']
|
||||
run:
|
||||
using: mach
|
||||
mach: taskgraph optimized -v --json -p task-id=$DECISION_TASK_ID --output-file /builds/worker/optimized-tasks.json
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
|
||||
import re
|
||||
|
||||
|
||||
INTEGRATION_PROJECTS = {
|
||||
"autoland",
|
||||
}
|
||||
|
@ -53,7 +52,9 @@ RUN_ON_PROJECT_ALIASES = {
|
|||
"release": lambda project: (project in RELEASE_PROJECTS or project == "toolchains"),
|
||||
"trunk": lambda project: (project in TRUNK_PROJECTS or project == "toolchains"),
|
||||
"autoland": lambda project: project in ("autoland", "toolchains"),
|
||||
"autoland-only": lambda project: project == "autoland",
|
||||
"mozilla-central": lambda project: project in ("mozilla-central", "toolchains"),
|
||||
"mozilla-central-only": lambda project: project == "mozilla-central",
|
||||
}
|
||||
|
||||
_COPYABLE_ATTRIBUTES = (
|
||||
|
|
Загрузка…
Ссылка в новой задаче