Bug 1429998 - Exclude toolchain and package tasks from the target task set. r=dustin

Back in bug 1360609, we added `run-on-projects` to a list so that the
toolchain tasks wouldn't run on every push on release branches.

Fast forward to now, and they're depended upon by other tasks, meaning
they are triggered when appropriate, without resorting to that trick. In
fact, the commit message for bug 1360609 said we could switch to an
empty list once the jobs have dependencies.

The same is true from package tasks, which, in fact, I suspect would
happen on every push on release branches.

The only exception is for a few toolchains that are depended upon by
nothing, and that are produced for developer consumption with e.g. mach
artifact toolchain.

--HG--
extra : rebase_source : bb8624fed7490b85f4bd72b7ceb2db7a72b4c2ab
This commit is contained in:
Mike Hommey 2018-01-17 14:30:57 +09:00
parent 41463bcaf0
commit d82350c48a
6 changed files with 19 additions and 2 deletions

View File

@ -17,6 +17,7 @@ job-defaults:
worker-type: aws-provisioner-v1/gecko-{level}-b-linux
worker:
max-run-time: 1800
run-on-projects: []
jobs:
deb7-python:

View File

@ -10,6 +10,9 @@ transforms:
- taskgraph.transforms.job:transforms
- taskgraph.transforms.task:transforms
job-defaults:
run-on-projects: []
jobs-from:
- linux.yml
- macosx.yml

View File

@ -113,6 +113,9 @@ linux64-clang-tidy:
- 'build/build-clang/clang-tidy-linux64.json'
- 'taskcluster/scripts/misc/tooltool-download.sh'
toolchain-artifact: public/build/clang-tidy.tar.xz
run-on-projects:
- trunk
- try
toolchains:
- linux64-gcc-4.9
@ -465,6 +468,9 @@ linux64-gn:
- 'taskcluster/scripts/misc/tooltool-download.sh'
- 'taskcluster/scripts/misc/build-gn-common.sh'
toolchain-artifact: public/build/gn.tar.xz
run-on-projects:
- trunk
- try
toolchains:
- linux64-gcc-4.9

View File

@ -5,6 +5,9 @@
job-defaults:
worker:
docker-image: {in-tree: toolchain-build}
run-on-projects:
- trunk
- try
macosx64-clang:
description: "Clang toolchain build"

View File

@ -68,6 +68,9 @@ win32-clang-tidy:
- 'build/build-clang/clang-tidy-win32.json'
- 'taskcluster/scripts/misc/build-clang-windows-helper32.sh'
toolchain-artifact: public/build/clang-tidy.tar.bz2
run-on-projects:
- trunk
- try
win64-clang-tidy:
description: "Clang-tidy toolchain build"
@ -232,3 +235,6 @@ win32-gn:
- 'taskcluster/scripts/misc/tooltool-download.sh'
- 'taskcluster/scripts/misc/build-gn-common.sh'
toolchain-artifact: public/build/gn.tar.bz2
run-on-projects:
- trunk
- try

View File

@ -116,7 +116,6 @@ toolchain_defaults = {
schema=toolchain_run_schema, defaults=toolchain_defaults)
def docker_worker_toolchain(config, job, taskdesc):
run = job['run']
taskdesc['run-on-projects'] = ['trunk', 'try']
worker = taskdesc['worker']
worker['chain-of-trust'] = True
@ -188,7 +187,6 @@ def docker_worker_toolchain(config, job, taskdesc):
schema=toolchain_run_schema, defaults=toolchain_defaults)
def windows_toolchain(config, job, taskdesc):
run = job['run']
taskdesc['run-on-projects'] = ['trunk', 'try']
worker = taskdesc['worker']