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

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

Issue 138713003: 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 439 matching lines...) Expand 10 before | Expand all | Expand 10 after
450 prereq_tests=prereq_tests, 450 prereq_tests=prereq_tests,
451 steps=builder_swarm_enabled_tests, 451 steps=builder_swarm_enabled_tests,
452 trigger_bot_steps=regular_tests, 452 trigger_bot_steps=regular_tests,
453 use_triggered_bot=False)) 453 use_triggered_bot=False))
454 454
455 # Experimental recipe-based Chromium trybots. To avoid possible capacity 455 # Experimental recipe-based Chromium trybots. To avoid possible capacity
456 # problems, only enable for a small percentage of try runs. 456 # problems, only enable for a small percentage of try runs.
457 verifiers.append( 457 verifiers.append(
458 trigger_experimental_try_job.TriggerExperimentalTryJobVerifier( 458 trigger_experimental_try_job.TriggerExperimentalTryJobVerifier(
459 context_obj, 459 context_obj,
460 percentage=0.1, 460 percentage=0.25,
461 try_job_description={ 461 try_job_description={
462 'linux_chromium_dbg': ['defaulttests'], 462 'linux_chromium_dbg': ['defaulttests'],
463 'linux_chromium_rel': ['defaulttests'], 463 'linux_chromium_rel': ['defaulttests'],
464 'mac_chromium_dbg': ['defaulttests'], 464 'mac_chromium_dbg': ['defaulttests'],
465 'mac_chromium_rel': ['defaulttests'], 465 'mac_chromium_rel': ['defaulttests'],
466 })) 466 }))
467 467
468 verifiers.append(try_job_on_rietveld.TryRunnerRietveld( 468 verifiers.append(try_job_on_rietveld.TryRunnerRietveld(
469 context_obj, 469 context_obj,
470 'http://build.chromium.org/p/tryserver.chromium/', 470 'http://build.chromium.org/p/tryserver.chromium/',
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
759 """List the projects that can be managed by the commit queue.""" 759 """List the projects that can be managed by the commit queue."""
760 return sorted( 760 return sorted(
761 x[5:] for x in dir(sys.modules[__name__]) if x.startswith('_gen_')) 761 x[5:] for x in dir(sys.modules[__name__]) if x.startswith('_gen_'))
762 762
763 763
764 def load_project(project, user, root_dir, rietveld_obj, no_try): 764 def load_project(project, user, root_dir, rietveld_obj, no_try):
765 """Loads the specified project.""" 765 """Loads the specified project."""
766 assert os.path.isabs(root_dir) 766 assert os.path.isabs(root_dir)
767 return getattr(sys.modules[__name__], '_gen_' + project)( 767 return getattr(sys.modules[__name__], '_gen_' + project)(
768 user, root_dir, rietveld_obj, no_try) 768 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