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

Side by Side Diff: scripts/slave/recipe_modules/v8/api.py

Issue 1111413005: Some changes to allow recipes and modules to live noncentrally (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Little bitty cleanup Created 5 years, 7 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
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 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 4
5 import collections 5 import collections
6 import datetime 6 import datetime
7 import math 7 import math
8 import re 8 import re
9 9
10 from infra.libs.infra_types import freeze 10 from infra.libs.infra_types import freeze
11 from slave import recipe_api 11 from slave import recipe_api
12 from slave.recipe_modules.v8 import builders 12 from . import builders
13 13
14 14
15 # Regular expressions for v8 branch names. 15 # Regular expressions for v8 branch names.
16 RELEASE_BRANCH_RE = re.compile(r'^\d+\.\d+$') 16 RELEASE_BRANCH_RE = re.compile(r'^\d+\.\d+$')
17 ROLL_BRANCH_RE = re.compile(r'^\d+\.\d+\.\d+$') 17 ROLL_BRANCH_RE = re.compile(r'^\d+\.\d+\.\d+$')
18 18
19 # With more than 23 letters, labels are to big for buildbot's popup boxes. 19 # With more than 23 letters, labels are to big for buildbot's popup boxes.
20 MAX_LABEL_SIZE = 23 20 MAX_LABEL_SIZE = 23
21 21
22 # Make sure that a step is not flooded with log lines. 22 # Make sure that a step is not flooded with log lines.
(...skipping 856 matching lines...) Expand 10 before | Expand all | Expand 10 after
879 triggers = self.bot_config.get('triggers') 879 triggers = self.bot_config.get('triggers')
880 if triggers: 880 if triggers:
881 self.m.trigger(*[{ 881 self.m.trigger(*[{
882 'builder_name': builder_name, 882 'builder_name': builder_name,
883 'properties': { 883 'properties': {
884 'revision': self.revision, 884 'revision': self.revision,
885 'parent_got_revision': self.revision, 885 'parent_got_revision': self.revision,
886 'parent_got_revision_cp': self.revision_cp, 886 'parent_got_revision_cp': self.revision_cp,
887 }, 887 },
888 } for builder_name in triggers]) 888 } for builder_name in triggers])
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698