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

Side by Side Diff: scripts/slave/recipe_modules/chromite/config.py

Issue 1344673003: CrOS: Switch tryserver over to recipes, Gitiles. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Clean up comments. Created 5 years, 3 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 os 5 import os
6 import types 6 import types
7 7
8 from common import cros_chromite 8 from common import cros_chromite
9 from recipe_engine.config import config_item_context, ConfigGroup 9 from recipe_engine.config import config_item_context, ConfigGroup
10 from recipe_engine.config import Dict, Single, Set 10 from recipe_engine.config import Dict, Single, Set
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 c.non_shared_root_branches.update(( 91 c.non_shared_root_branches.update((
92 'factory-2305.B', 92 'factory-2305.B',
93 )) 93 ))
94 c.chrome_svn_branches.update(( 94 c.chrome_svn_branches.update((
95 'factory-4455.B', 95 'factory-4455.B',
96 'factory-zako-5220.B', 96 'factory-zako-5220.B',
97 'factory-rambi-5517.B', 97 'factory-rambi-5517.B',
98 'factory-nyan-5772.B', 98 'factory-nyan-5772.B',
99 )) 99 ))
100 100
101
101 # If running on a testing slave, enable "--debug" so Chromite doesn't cause 102 # If running on a testing slave, enable "--debug" so Chromite doesn't cause
102 # actual production effects. 103 # actual production effects.
103 if 'TESTING_MASTER_HOST' in os.environ: # pragma: no cover 104 if 'TESTING_MASTER_HOST' in os.environ: # pragma: no cover
104 c.cbb.debug = True 105 c.cbb.debug = True
105 106
106 107
107 @config_ctx(includes=['base']) 108 @config_ctx(includes=['base'])
108 def external(c): 109 def external(c):
109 c.repositories['tryjob'].append( 110 c.repositories['tryjob'].extend([
110 'https://chromium.googlesource.com/chromiumos/tryjobs') 111 'https://chromium.googlesource.com/chromiumos/tryjobs',
112 'https://chrome-internal.googlesource.com/chromeos/tryjobs',
113 ])
111 c.repositories['chromium'].append( 114 c.repositories['chromium'].append(
112 'https://chromium.googlesource.com/chromium/src') 115 'https://chromium.googlesource.com/chromium/src')
113 c.repositories['cros_manifest'].append( 116 c.repositories['cros_manifest'].append(
114 'https://chromium.googlesource.com/chromiumos/manifest-versions') 117 'https://chromium.googlesource.com/chromiumos/manifest-versions')
115 118
116 119
117 @config_ctx(group='master', includes=['external']) 120 @config_ctx(group='master', includes=['external'])
118 def master_chromiumos_chromium(c): 121 def master_chromiumos_chromium(c):
119 c.use_chrome_version = True 122 c.use_chrome_version = True
120 c.cbb.builddir = 'shared_external' 123 c.cbb.builddir = 'shared_external'
121 124
122 125
123 @config_ctx(group='master', includes=['external']) 126 @config_ctx(group='master', includes=['external'])
124 def master_chromiumos(c): 127 def master_chromiumos(c):
125 c.cbb.builddir = 'external_master' 128 c.cbb.builddir = 'external_master'
126 129
127 @config_ctx() 130 @config_ctx()
128 def chromiumos_paladin(c): 131 def chromiumos_paladin(c):
129 c.read_cros_manifest = True 132 c.read_cros_manifest = True
130 133
131 @config_ctx() 134 @config_ctx(group='master', includes=['external'])
132 def chromeos_tryserver_etc(c): 135 def chromiumos_tryserver(c):
133 c.cbb.clobber = True 136 c.cbb.disable_bootstrap = True
134 137
135 @config_ctx() 138 @config_ctx()
136 def chromiumos_coverage_test(c): 139 def chromiumos_coverage_test(c):
137 c.use_chrome_version = True 140 c.use_chrome_version = True
138 c.read_cros_manifest = True 141 c.read_cros_manifest = True
139 c.cbb.chrome_rev = 'stable' 142 c.cbb.chrome_rev = 'stable'
140 c.cbb.disable_bootstrap = True
OLDNEW
« no previous file with comments | « scripts/slave/recipe_modules/chromite/api.py ('k') | scripts/slave/recipes/cros/cbuildbot.expected/chromiumos_coverage.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698