Bug 1600952 - Do not run the diff-reproducible-linux32 task on beta/release as intended in bug 1577212. r=tomprince

Differential Revision: https://phabricator.services.mozilla.com/D55766

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Mike Hommey 2019-12-04 05:29:45 +00:00
Родитель c811575ba6
Коммит 3f71b0be50
2 изменённых файлов: 7 добавлений и 0 удалений

Просмотреть файл

@ -67,6 +67,7 @@ jobs:
new: build-linux-reproduced/opt
original: build-linux-shippable/opt
fail-on-diff: true
run-on-projects: ['mozilla-central', 'try']
# Make a task for each diff we might want. The following are just examples,

Просмотреть файл

@ -9,6 +9,7 @@ defined in kind.yml
from __future__ import absolute_import, print_function, unicode_literals
from taskgraph.transforms.base import TransformSequence
from taskgraph.transforms.task import task_description_schema
from taskgraph.util.schema import (
Schema,
)
@ -55,6 +56,9 @@ diff_description_schema = Schema({
# Commands to run before performing the diff.
Optional('pre-diff-commands'): [basestring],
# Only run the task on a set of projects/branches.
Optional('run-on-projects'): task_description_schema['run-on-projects'],
})
transforms = TransformSequence()
@ -155,6 +159,8 @@ def fill_template(config, tasks):
},
'dependencies': deps,
}
if 'run-on-projects' in task:
taskdesc['run-on-projects'] = task['run-on-projects']
if artifact.endswith('.dmg'):
taskdesc.setdefault('fetches', {}).setdefault('toolchain', []).extend([