Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(163)

Side by Side Diff: commit-queue/projects.py

Issue 143963007: Increase the percentage of jobs sent to the experimental recipe builders to 25% (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 """Define the supported projects.""" 4 """Define the supported projects."""
5 5
6 import json 6 import json
7 import logging 7 import logging
8 import os 8 import os
9 import re 9 import re
10 import sys 10 import sys
(...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after
452 steps=builder_swarm_enabled_tests, 452 steps=builder_swarm_enabled_tests,
453 trigger_bot_steps=regular_tests, 453 trigger_bot_steps=regular_tests,
454 use_triggered_bot=False)) 454 use_triggered_bot=False))
455 455
456 # Experimental recipe-based Chromium trybots. To avoid possible capacity 456 # Experimental recipe-based Chromium trybots. To avoid possible capacity
457 # problems, only enable for a small percentage of try runs. 457 # problems, only enable for a small percentage of try runs.
458 # Disable as emergency measure - crbug.com/334681 458 # Disable as emergency measure - crbug.com/334681
459 verifiers.append( 459 verifiers.append(
460 trigger_experimental_try_job.TriggerExperimentalTryJobVerifier( 460 trigger_experimental_try_job.TriggerExperimentalTryJobVerifier(
461 context_obj, 461 context_obj,
462 percentage=0, 462 percentage=0.25,
463 try_job_description={ 463 try_job_description={
464 'linux_chromium_dbg': ['defaulttests'], 464 'linux_chromium_dbg': ['defaulttests'],
465 'linux_chromium_rel': ['defaulttests'], 465 'linux_chromium_rel': ['defaulttests'],
466 'mac_chromium_dbg': ['defaulttests'], 466 'mac_chromium_dbg': ['defaulttests'],
467 'mac_chromium_rel': ['defaulttests'], 467 'mac_chromium_rel': ['defaulttests'],
468 })) 468 }))
469 469
470 verifiers.append(try_job_on_rietveld.TryRunnerRietveld( 470 verifiers.append(try_job_on_rietveld.TryRunnerRietveld(
471 context_obj, 471 context_obj,
472 'http://build.chromium.org/p/tryserver.chromium/', 472 'http://build.chromium.org/p/tryserver.chromium/',
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
761 """List the projects that can be managed by the commit queue.""" 761 """List the projects that can be managed by the commit queue."""
762 return sorted( 762 return sorted(
763 x[5:] for x in dir(sys.modules[__name__]) if x.startswith('_gen_')) 763 x[5:] for x in dir(sys.modules[__name__]) if x.startswith('_gen_'))
764 764
765 765
766 def load_project(project, user, root_dir, rietveld_obj, no_try): 766 def load_project(project, user, root_dir, rietveld_obj, no_try):
767 """Loads the specified project.""" 767 """Loads the specified project."""
768 assert os.path.isabs(root_dir) 768 assert os.path.isabs(root_dir)
769 return getattr(sys.modules[__name__], '_gen_' + project)( 769 return getattr(sys.modules[__name__], '_gen_' + project)(
770 user, root_dir, rietveld_obj, no_try) 770 user, root_dir, rietveld_obj, no_try)
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698