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

Side by Side Diff: projects.py

Issue 19894002: Revert "Switch CQ to use blink trybots." (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/commit-queue@master
Patch Set: Created 7 years, 5 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
« 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 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 # in order to pick up the default build targets. We don't use the 197 # in order to pick up the default build targets. We don't use the
198 # "compile" step because that will build all the chromium targets, not 198 # "compile" step because that will build all the chromium targets, not
199 # just the blink-specific ones. 199 # just the blink-specific ones.
200 compile_only = [ 'webkit_lint' ] 200 compile_only = [ 'webkit_lint' ]
201 201
202 builders_and_tests = { 202 builders_and_tests = {
203 'linux_layout': compile_only, 203 'linux_layout': compile_only,
204 'mac_layout': compile_only, 204 'mac_layout': compile_only,
205 'win_layout': compile_only, 205 'win_layout': compile_only,
206 206
207 'linux_blink_rel': blink_tests, 207 'linux_layout_rel': blink_tests,
208 'mac_blink_rel': blink_tests, 208 'mac_layout_rel': blink_tests,
209 'win_blink_rel': blink_tests, 209 'win_layout_rel': blink_tests,
210 } 210 }
211 211
212 step_verifiers += [ 212 step_verifiers += [
213 try_job_steps.TryJobSteps(builder_name=b, prereq_builder=prereq_builder, 213 try_job_steps.TryJobSteps(builder_name=b, prereq_builder=prereq_builder,
214 prereq_tests=prereq_tests, steps=s) 214 prereq_tests=prereq_tests, steps=s)
215 for b, s in builders_and_tests.iteritems() 215 for b, s in builders_and_tests.iteritems()
216 ] 216 ]
217 217
218 verifiers.append(try_job_on_rietveld.TryRunnerRietveld( 218 verifiers.append(try_job_on_rietveld.TryRunnerRietveld(
219 context_obj, 219 context_obj,
(...skipping 522 matching lines...) Expand 10 before | Expand all | Expand 10 after
742 """List the projects that can be managed by the commit queue.""" 742 """List the projects that can be managed by the commit queue."""
743 return sorted( 743 return sorted(
744 x[5:] for x in dir(sys.modules[__name__]) if x.startswith('_gen_')) 744 x[5:] for x in dir(sys.modules[__name__]) if x.startswith('_gen_'))
745 745
746 746
747 def load_project(project, user, root_dir, rietveld_obj, no_try): 747 def load_project(project, user, root_dir, rietveld_obj, no_try):
748 """Loads the specified project.""" 748 """Loads the specified project."""
749 assert os.path.isabs(root_dir) 749 assert os.path.isabs(root_dir)
750 return getattr(sys.modules[__name__], '_gen_' + project)( 750 return getattr(sys.modules[__name__], '_gen_' + project)(
751 user, root_dir, rietveld_obj, no_try) 751 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