Bug 1381520 - Stop making duplicated builds on beta for win{32,64} + mac r=Callek

MozReview-Commit-ID: sHT3VHav1s

--HG--
extra : rebase_source : 86a022d0c5246a40f1b025a62e493867f0797750
This commit is contained in:
Johan Lorenzo 2017-08-03 15:03:37 +02:00
parent 080eae8651
commit 5d3697a9b0

View File

@ -260,13 +260,23 @@ def target_tasks_mozilla_beta(full_task_graph, parameters):
if not standard_filter(task, parameters):
return False
platform = task.attributes.get('build_platform')
if platform in ('linux64-pgo', 'linux-pgo', 'android-api-15-nightly',
'android-x86-nightly'):
if platform in (
# On beta, Nightly builds are already PGOs
'linux-pgo', 'linux64-pgo',
'win32-pgo', 'win64-pgo',
'android-api-15-nightly', 'android-x86-nightly'
):
return False
if platform in ('linux64', 'linux'):
if platform in (
'linux', 'linux64',
'macosx64',
'win32', 'win64',
):
if task.attributes['build_type'] == 'opt' and \
task.attributes.get('unittest_suite') != 'talos':
return False
# skip l10n, beetmover, balrog
if task.kind in [
'balrog',