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

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

Issue 141233003: CQ: do not force HEAD revision for chromium_trybot builders (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 | commit-queue/verification/trigger_experimental_try_job.py » ('j') | 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 builder_name=triggered, 452 builder_name=triggered,
453 trigger_name=builder, 453 trigger_name=builder,
454 prereq_builder=prereq_builder, 454 prereq_builder=prereq_builder,
455 prereq_tests=prereq_tests, 455 prereq_tests=prereq_tests,
456 steps=builder_swarm_enabled_tests, 456 steps=builder_swarm_enabled_tests,
457 trigger_bot_steps=regular_tests, 457 trigger_bot_steps=regular_tests,
458 use_triggered_bot=False)) 458 use_triggered_bot=False))
459 459
460 # Experimental recipe-based Chromium trybots. To avoid possible capacity 460 # Experimental recipe-based Chromium trybots. To avoid possible capacity
461 # problems, only enable for a small percentage of try runs. 461 # problems, only enable for a small percentage of try runs.
462 # Disable as emergency measure - crbug.com/334681 462 #
463 # Note how we pass revision=None . In presence of safesync_url
464 # this makes a difference: no revision uses safesync_url,
465 # while HEAD ignores it and always fetches latest revision.
463 verifiers.append( 466 verifiers.append(
464 trigger_experimental_try_job.TriggerExperimentalTryJobVerifier( 467 trigger_experimental_try_job.TriggerExperimentalTryJobVerifier(
465 context_obj, 468 context_obj,
466 percentage=0.25, 469 percentage=0.25,
470 revision=None,
467 try_job_description={ 471 try_job_description={
468 'linux_chromium_rel': ['defaulttests'], 472 'linux_chromium_rel': ['defaulttests'],
469 'mac_chromium_rel': ['defaulttests'], 473 'mac_chromium_rel': ['defaulttests'],
470 })) 474 }))
471 475
472 verifiers.append(try_job_on_rietveld.TryRunnerRietveld( 476 verifiers.append(try_job_on_rietveld.TryRunnerRietveld(
473 context_obj, 477 context_obj,
474 'http://build.chromium.org/p/tryserver.chromium/', 478 'http://build.chromium.org/p/tryserver.chromium/',
475 user, 479 user,
476 step_verifiers, 480 step_verifiers,
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
763 """List the projects that can be managed by the commit queue.""" 767 """List the projects that can be managed by the commit queue."""
764 return sorted( 768 return sorted(
765 x[5:] for x in dir(sys.modules[__name__]) if x.startswith('_gen_')) 769 x[5:] for x in dir(sys.modules[__name__]) if x.startswith('_gen_'))
766 770
767 771
768 def load_project(project, user, root_dir, rietveld_obj, no_try): 772 def load_project(project, user, root_dir, rietveld_obj, no_try):
769 """Loads the specified project.""" 773 """Loads the specified project."""
770 assert os.path.isabs(root_dir) 774 assert os.path.isabs(root_dir)
771 return getattr(sys.modules[__name__], '_gen_' + project)( 775 return getattr(sys.modules[__name__], '_gen_' + project)(
772 user, root_dir, rietveld_obj, no_try) 776 user, root_dir, rietveld_obj, no_try)
OLDNEW
« no previous file with comments | « no previous file | commit-queue/verification/trigger_experimental_try_job.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698