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

Side by Side Diff: projects.py

Issue 142043012: Update Skia's tryserver URL since we have split our masters. (Closed) Base URL: https://src.chromium.org/chrome/trunk/tools/commit-queue/
Patch Set: Created 6 years, 10 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 522 matching lines...) Expand 10 before | Expand all | Expand 10 after
533 ] 533 ]
534 verifiers = [ 534 verifiers = [
535 presubmit_check.PresubmitCheckVerifier(context_obj), 535 presubmit_check.PresubmitCheckVerifier(context_obj),
536 tree_status.TreeStatusVerifier( 536 tree_status.TreeStatusVerifier(
537 'https://skia-tree-status.appspot.com') 537 'https://skia-tree-status.appspot.com')
538 ] 538 ]
539 539
540 if not no_try: 540 if not no_try:
541 # TODO(skia-infrastructure-team): Use skia.org instead of the below when it 541 # TODO(skia-infrastructure-team): Use skia.org instead of the below when it
542 # is ready. 542 # is ready.
543 try_server_url = 'http://skiabot-master.pogerlabs.com:10117/' 543 try_server_url = 'http://108.170.219.164:10117/'
544 544
545 # Get the required build steps and builder names from the try server. 545 # Get the required build steps and builder names from the try server.
546 compile_required_build_steps = json.load( 546 compile_required_build_steps = json.load(
547 urllib2.urlopen( 547 urllib2.urlopen(
548 try_server_url + 'json/cq_required_steps'))['cq_required_steps'] 548 try_server_url + 'json/cq_required_steps'))['cq_required_steps']
549 builder_names = list( 549 builder_names = list(
550 json.load(urllib2.urlopen(try_server_url + 'json/cqtrybots'))) 550 json.load(urllib2.urlopen(try_server_url + 'json/cqtrybots')))
551 551
552 step_verifiers = [] 552 step_verifiers = []
553 for builder_name in builder_names: 553 for builder_name in builder_names:
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
767 """List the projects that can be managed by the commit queue.""" 767 """List the projects that can be managed by the commit queue."""
768 return sorted( 768 return sorted(
769 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_'))
770 770
771 771
772 def load_project(project, user, root_dir, rietveld_obj, no_try): 772 def load_project(project, user, root_dir, rietveld_obj, no_try):
773 """Loads the specified project.""" 773 """Loads the specified project."""
774 assert os.path.isabs(root_dir) 774 assert os.path.isabs(root_dir)
775 return getattr(sys.modules[__name__], '_gen_' + project)( 775 return getattr(sys.modules[__name__], '_gen_' + project)(
776 user, root_dir, rietveld_obj, no_try) 776 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