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

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

Issue 247063005: Turn bot_update on for slave[256:300] (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: s/299/300/ Created 6 years, 8 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 | « scripts/slave/bot_update.py ('k') | 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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 5
6 """Recipe module to ensure a checkout is consistant on a bot.""" 6 """Recipe module to ensure a checkout is consistant on a bot."""
7 7
8 8
9 from slave import recipe_api 9 from slave import recipe_api
10 10
(...skipping 10 matching lines...) Expand all
21 'Android Builder (dbg)', 21 'Android Builder (dbg)',
22 'Android Builder', 22 'Android Builder',
23 'Android Clang Builder (dbg)', 23 'Android Clang Builder (dbg)',
24 'Android Webview AOSP Builder', 24 'Android Webview AOSP Builder',
25 'Linux Builder (dbg)', 25 'Linux Builder (dbg)',
26 'Linux Builder (dbg)(32)', 26 'Linux Builder (dbg)(32)',
27 'Linux Builder', 27 'Linux Builder',
28 ] 28 ]
29 } 29 }
30 ENABLED_SLAVES = { 30 ENABLED_SLAVES = {
31 'tryserver.chromium': ['slave%d-c4' % i for i in range(250, 256)] 31 'tryserver.chromium': ['slave%d-c4' % i for i in range(250, 300)]
32 } 32 }
33 33
34 34
35 # This is just for testing, to indicate if a master is using a Git scheduler 35 # This is just for testing, to indicate if a master is using a Git scheduler
36 # or not. 36 # or not.
37 GIT_MASTERS = ['chromium.git'] 37 GIT_MASTERS = ['chromium.git']
38 38
39 39
40 def jsonish_to_python(spec, is_top=False): 40 def jsonish_to_python(spec, is_top=False):
41 """Turn a json spec into a python parsable object. 41 """Turn a json spec into a python parsable object.
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 # Set the "checkout" path for the main solution. 173 # Set the "checkout" path for the main solution.
174 # This is used by the Chromium module to figure out where to look for 174 # This is used by the Chromium module to figure out where to look for
175 # the checkout. 175 # the checkout.
176 bot_update_step = self.m.step_history.last_step() 176 bot_update_step = self.m.step_history.last_step()
177 # bot_update actually just sets root to be either the passed in "root" 177 # bot_update actually just sets root to be either the passed in "root"
178 # property, or the folder name of the first solution. 178 # property, or the folder name of the first solution.
179 if bot_update_step.json.output['did_run']: 179 if bot_update_step.json.output['did_run']:
180 co_root = bot_update_step.json.output['root'] 180 co_root = bot_update_step.json.output['root']
181 cwd = kwargs.get('cwd', self.m.path['slave_build']) 181 cwd = kwargs.get('cwd', self.m.path['slave_build'])
182 self.m.path['checkout'] = cwd.join(*co_root.split(self.m.path.sep)) 182 self.m.path['checkout'] = cwd.join(*co_root.split(self.m.path.sep))
OLDNEW
« no previous file with comments | « scripts/slave/bot_update.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698