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

Side by Side Diff: site_config/config_default.py

Issue 14383021: Break config_default into master_site_configs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 7 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 | Annotate | Revision Log
OLDNEW
1 # Copyright 2012 The Chromium Authors. All rights reserved. 1 # Copyright 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 4
5 """Seeds a number of variables defined in chromium_config.py. 5 """Seeds a number of variables defined in chromium_config.py.
6 6
7 The recommended way is to fork this file and use a custom DEPS forked from 7 The recommended way is to fork this file and use a custom DEPS forked from
8 config/XXX/DEPS with the right configuration data.""" 8 config/XXX/DEPS with the right configuration data."""
9 9
10 import socket
11
10 12
11 class Master(object): 13 class Master(object):
12 # Repository URLs used by the SVNPoller and 'gclient config'. 14 # Repository URLs used by the SVNPoller and 'gclient config'.
13 server_url = 'http://src.chromium.org' 15 server_url = 'http://src.chromium.org'
14 git_server_url = 'http://src.chromium.org/git'
15 repo_root = '/svn' 16 repo_root = '/svn'
17 git_server_url = 'https://chromium.googlesource.com'
16 18
17 # External repos. 19 # External repos.
18 googlecode_url = 'http://%s.googlecode.com/svn' 20 googlecode_url = 'http://%s.googlecode.com/svn'
19 sourceforge_url = 'https://%(repo)s.svn.sourceforge.net/svnroot/%(repo)s' 21 sourceforge_url = 'https://%(repo)s.svn.sourceforge.net/svnroot/%(repo)s'
20 googlecode_revlinktmpl = 'https://code.google.com/p/%s/source/browse?r=%s' 22 googlecode_revlinktmpl = 'https://code.google.com/p/%s/source/browse?r=%s'
21 23
22 # Directly fetches from anonymous Blink svn server. 24 # Directly fetches from anonymous Blink svn server.
23 webkit_root_url = 'http://src.chromium.org/blink' 25 webkit_root_url = 'http://src.chromium.org/blink'
24 nacl_trunk_url = 'http://src.chromium.org/native_client/trunk' 26 nacl_trunk_url = 'http://src.chromium.org/native_client/trunk'
25 27
26 llvm_url = 'http://llvm.org/svn/llvm-project' 28 llvm_url = 'http://llvm.org/svn/llvm-project'
27 29
28 # Other non-redistributable repositories.
29 repo_root_internal = None
30 trunk_internal_url = None
31 trunk_internal_url_src = None
32 gears_url_internal = None
33 o3d_url_internal = None
34 nacl_trunk_url_internal = None
35 nacl_url_internal = None
36 slave_internal_url = None
37
38 syzygy_internal_url = None
39 webrtc_internal_url = None
40
41 swarm_server_internal_url = 'http://fake.swarm.url.server.com'
42 swarm_server_dev_internal_url = 'http://fake.swarm.dev.url.server.com'
43 swarm_hashtable_server_internal = 'http://fake.swarm.hashtable.server.com'
44 swarm_hashtable_server_dev_internal = 'http://fake.swarm.hashtable.server.com'
45
46 # Perf Dashboard upload URL. 30 # Perf Dashboard upload URL.
47 dashboard_upload_url = 'https://chromeperf.appspot.com' 31 dashboard_upload_url = 'https://chromeperf.appspot.com'
48 32
49 # Actually for Chromium OS slaves. 33 # Actually for Chromium OS slaves.
50 chromeos_url = git_server_url + '/chromiumos.git' 34 chromeos_url = git_server_url + '/chromiumos.git'
51 chromeos_internal_url = None
52 35
53 # Please change this accordingly. 36 # Default domain for emails to come from and
37 # domains to which emails can be sent.
54 master_domain = 'example.com' 38 master_domain = 'example.com'
55 permitted_domains = ('example.com',) 39 permitted_domains = ('example.com',)
56 40
57 # Your smtp server to enable mail notifications. 41 # Your smtp server to enable mail notifications.
58 smtp = 'smtp' 42 smtp = 'smtp'
59 43
60 # By default, bot_password will be filled in by config.GetBotPassword(); 44 # By default, bot_password will be filled in by config.GetBotPassword().
61 # if the private config wants to override this, it can do so.
62 bot_password = None 45 bot_password = None
63 46
64 class _Base(object): 47 # Fake urls to make various factories happy.
48 swarm_server_internal_url = 'http://fake.swarm.url.server.com'
49 swarm_server_dev_internal_url = 'http://fake.swarm.dev.url.server.com'
50 swarm_hashtable_server_internal = 'http://fake.swarm.hashtable.server.com'
51 swarm_hashtable_server_dev_internal = 'http://fake.swarm.hashtable.server.com'
52 trunk_internal_url = None
53 trunk_internal_url_src = None
54 slave_internal_url = None
55 git_internal_server_url = None
56 syzygy_internal_url = None
57 webrtc_internal_url = None
58
59
60 class Base(object):
61 """Master base template. Contains stubs for variables that all masters
62 must define."""
65 # If set to True, the master will do nasty stuff like closing the tree, 63 # If set to True, the master will do nasty stuff like closing the tree,
66 # sending emails or other similar behaviors. Don't change this value unless 64 # sending emails or other similar behaviors. Don't change this value unless
67 # you modified the other settings extensively. 65 # you modified the other settings extensively.
68 is_production_host = False 66 is_production_host = False
69 # Master address. You should probably copy this file in another svn repo 67 # Master address. You should probably copy this file in another svn repo
70 # so you can override this value on both the slaves and the master. 68 # so you can override this value on both the slaves and the master.
71 master_host = 'localhost' 69 master_host = 'localhost'
72 # Additional email addresses to send gatekeeper (automatic tree closage) 70 # Additional email addresses to send gatekeeper (automatic tree closage)
73 # notifications. Unnecessary for experimental masters and try servers. 71 # notifications. Unnecessary for experimental masters and try servers.
74 tree_closing_notification_recipients = [] 72 tree_closing_notification_recipients = []
(...skipping 12 matching lines...) Expand all
87 85
88 # Used for the waterfall URL and the waterfall's WebStatus object. 86 # Used for the waterfall URL and the waterfall's WebStatus object.
89 master_port = 0 87 master_port = 0
90 # Which port slaves use to connect to the master. 88 # Which port slaves use to connect to the master.
91 slave_port = 0 89 slave_port = 0
92 # The alternate read-only page. Optional. 90 # The alternate read-only page. Optional.
93 master_port_alt = 0 91 master_port_alt = 0
94 # HTTP port for try jobs. 92 # HTTP port for try jobs.
95 try_job_port = 0 93 try_job_port = 0
96 94
97 ## Chrome related 95 ## Per-master configs.
98 96
99 class _ChromiumBase(_Base): 97 class Master1(Base):
100 # Tree status urls. You should fork the code from tools/chromium-status/ and 98 """Chromium master."""
101 # setup your own AppEngine instance (or use directly Django to create a 99 master_host = 'master1.golo.chromium.org'
102 # local instance). 100 is_production_host = socket.getfqdn() == master_host
103 # Defaulting urls that are used to POST data to 'localhost' so a local dev 101 from_address = 'buildbot@chromium.org'
104 # server can be used for testing and to make sure nobody updates the tree 102 base_app_url = 'https://chromium-status.appspot.com'
105 # status by error!
106 #
107 # This url is used for HttpStatusPush:
108 base_app_url = 'http://localhost:8080'
109 # HTTP url that should return 0 or 1, depending if the tree is open or
110 # closed. It is also used as POST to update the tree status.
111 tree_status_url = base_app_url + '/status' 103 tree_status_url = base_app_url + '/status'
112 # Used by LKGR to POST data.
113 store_revisions_url = base_app_url + '/revisions' 104 store_revisions_url = base_app_url + '/revisions'
114 # Used by the try server to sync to the last known good revision: 105 last_good_url = base_app_url + '/lkgr'
115 last_good_url = 'http://chromium-status.appspot.com/lkgr'
116 last_good_blink_url = 'http://blink-status.appspot.com/lkgr' 106 last_good_blink_url = 'http://blink-status.appspot.com/lkgr'
117 107
118 class Chromium(_ChromiumBase): 108 class Master2(Base):
119 # Used by the waterfall display. 109 """Chromeos master."""
120 project_name = 'Chromium' 110 master_host = 'master2.golo.chromium.org'
121 master_port = 9010 111 is_production_host = socket.getfqdn() == master_host
122 slave_port = 9112 112 tree_closing_notification_recipients = [
123 master_port_alt = 9014 113 'chromeos-build-failures@google.com']
114 from_address = 'buildbot@chromium.org'
124 115
125 class ChromiumFYI(_ChromiumBase): 116 class Master3(Base):
126 project_name = 'Chromium FYI' 117 """Client master."""
127 master_port = 9016 118 master_host = 'master3.golo.chromium.org'
128 slave_port = 9117 119 is_production_host = socket.getfqdn() == master_host
129 master_port_alt = 9019 120 tree_closing_notification_recipients = []
121 from_address = 'buildbot@chromium.org'
130 122
131 class ChromiumMemory(_ChromiumBase): 123 class Master4(Base):
132 project_name = 'Chromium Memory' 124 """Try server master."""
133 master_port = 9014 125 master_host = 'master4.golo.chromium.org'
134 slave_port = 9119 126 is_production_host = socket.getfqdn() == master_host
135 master_port_alt = 9047 127 tree_closing_notification_recipients = []
128 from_address = 'tryserver@chromium.org'
129 code_review_site = 'https://chromiumcodereview.appspot.com'
136 130
137 class ChromiumPerf(_ChromiumBase): 131 ## Native Client related
138 project_name = 'Chromium Perf'
139 master_port = 9050
140 slave_port = 9151
141 master_port_alt = 9052
142 132
143 class ChromiumWebkit(_ChromiumBase): 133 class NaClBase(Master3):
144 project_name = 'Chromium Webkit' 134 """Base class for Native Client masters"""
145 master_port = 9053 135 tree_closing_notification_recipients = ['bradnelson@chromium.org']
146 slave_port = 9154 136 base_app_url = 'https://nativeclient-status.appspot.com'
147 master_port_alt = 9055
148 base_app_url = 'https://blink-status.appspot.com'
149 tree_status_url = base_app_url + '/status' 137 tree_status_url = base_app_url + '/status'
150 138 store_revisions_url = base_app_url + '/revisions'
151 class ChromiumChrome(_ChromiumBase): 139 last_good_url = base_app_url + '/lkgr'
152 project_name = 'Chromium Chrome' 140 perf_base_url = 'http://build.chromium.org/f/client/perf'
153 master_port = 9056
154 slave_port = 9157
155 master_port_alt = 9058
156
157 class ChromiumPyauto(_ChromiumBase):
158 project_name = 'Chromium PyAuto'
159 master_port = 9016
160 slave_port = 9116
161 master_port_alt = 9216
162
163 class ChromiumEndure(_ChromiumBase):
164 project_name = 'Chromium Endure'
165 master_port = 9021
166 slave_port = 9121
167 master_port_alt = 9221
168
169 class ChromiumGPU(_ChromiumBase):
170 project_name = 'Chromium GPU'
171 master_port = 9076
172 slave_port = 9189
173 master_port_alt = 9077
174
175 class ChromiumGPUFYI(_ChromiumBase):
176 project_name = 'Chromium GPU FYI'
177 master_port = 9059
178 slave_port = 9160
179 master_port_alt = 9061
180
181 class ChromiumLKGR(_ChromiumBase):
182 project_name = 'Chromium LKGR'
183 master_port = 9018
184 slave_port = 9118
185 master_port_alt = 9218
186
187 class ChromiumGIT(_ChromiumBase):
188 project_name = 'Chromium Git'
189 master_port = 9062
190 slave_port = 9163
191 master_port_alt = 9064
192
193 class ChromiumFlaky(_ChromiumBase):
194 project_name = 'Chromium Flaky'
195 master_port = 9065
196 slave_port = 9166
197 master_port_alt = 9067
198
199 class ChromiumSwarm(_ChromiumBase):
200 project_name = 'Chromium Swarm'
201 master_port = 9068
202 slave_port = 9169
203 master_port_alt = 9070
204
205 class ChromiumMemoryFYI(_ChromiumBase):
206 project_name = 'Chromium Memory FYI'
207 master_port = 9071
208 slave_port = 9172
209 master_port_alt = 9073
210
211 class ChromiumChromebot(_ChromiumBase):
212 project_name = 'Chromium Chromebot'
213 master_port = 9090
214 slave_port = 9190
215 master_port_alt = 9290
216
217 class TryServer(_ChromiumBase):
218 project_name = 'Chromium Try Server'
219 master_port = 9011
220 slave_port = 9113
221 master_port_alt = 9015
222 try_job_port = 9018
223 # The svn repository to poll to grab try patches. For chrome, we use a
224 # separate repo to put all the diff files to be tried.
225 svn_url = None
226
227 class Gatekeeper(_ChromiumBase):
228 project_name = 'Chromium Gatekeeper'
229 master_port = 9511
230 slave_port = 9611
231 master_port_alt = 9711
232
233 class MyChromeFork(_Base):
234 # Place your continuous build fork settings here.
235 project_name = 'My Forked Chrome'
236 master_port = 9010
237 slave_port = 9111
238 from_address = 'nobody@example.com'
239 141
240 ## ChromiumOS related 142 ## ChromiumOS related
241 143
242 class ChromiumChromiumOS(_ChromiumBase): 144 class ChromiumOSBase(Master2):
243 project_name = 'Chromium ChromiumOS' 145 base_app_url = 'https://chromiumos-status.appspot.com'
244 master_port = 9035
245 slave_port = 9127
246 master_port_alt = 9037
247
248 class ChromiumOS(_Base):
249 project_name = 'ChromiumOS'
250 master_port = 9030
251 slave_port = 9127
252 master_port_alt = 9043
253 base_app_url = 'http://localhost:8080'
254 tree_status_url = base_app_url + '/status' 146 tree_status_url = base_app_url + '/status'
255 store_revisions_url = base_app_url + '/revisions' 147 store_revisions_url = base_app_url + '/revisions'
256 last_good_url = 'https://chromiumos-status.appspot.com/lkgr' 148 last_good_url = base_app_url + '/lkgr'
257 149
258 class ChromiumOSTryServer(_Base): 150 class ChromiumOSTryServer(Master2):
259 project_name = 'ChromiumOS Try Server' 151 project_name = 'ChromiumOS Try Server'
260 master_port = 9051 152 master_port = 9051
261 slave_port = 9153 153 slave_port = 9153
262 master_port_alt = 9063 154 master_port_alt = 9063
263 repo_url_ext = 'https://git.chromium.org/chromiumos/tryjobs.git' 155 repo_url_ext = 'https://git.chromium.org/chromiumos/tryjobs.git'
264 repo_url_int = None 156 repo_url_int = None
265 # The reply-to address to set for emails sent from the server. 157 # The reply-to address to set for emails sent from the server.
266 reply_to = 'nobody@example.com' 158 reply_to = 'nobody@example.com'
267 159
268 ## V8
269 160
270 class V8(_Base): 161 # Stubs of Archive and Distributed classes. Only truly defined in
271 project_name = 'V8' 162 # build_internal/.
272 master_host = 'localhost' 163 # TODO(agable): Move these somewhere more appropriate, like master_util.
273 master_port = 9030
274 slave_port = 9131
275 master_port_alt = 9043
276 server_url = 'http://v8.googlecode.com'
277 project_url = 'http://v8.googlecode.com'
278 perf_base_url = 'http://build.chromium.org/f/client/perf'
279
280 ## Dart
281
282 class Dart(_Base):
283 http_status_push_url = None
284 project_name = 'Dart'
285 master_port = 8040
286 slave_port = 8140
287 # Enable when there's a public waterfall.
288 master_port_alt = 8240
289
290 class DartFYI(_Base):
291 http_status_push_url = None
292 project_name = 'Dart FYI'
293 master_port = 8051
294 slave_port = 8151
295 # Enable when there's a public waterfall.
296 master_port_alt = 8251
297
298
299 ## Native Client related
300
301 class _NaClBase(_Base):
302 base_app_url = 'http://localhost:8080'
303 tree_status_url = base_app_url + '/status'
304 store_revisions_url = base_app_url + '/revisions'
305 last_good_url = 'http://nativeclient-status.appspot.com/lkgr'
306 perf_base_url = 'http://build.chromium.org/f/client/perf'
307
308 class NativeClient(_NaClBase):
309 project_name = 'NativeClient'
310 master_port = 9080
311 slave_port = 9180
312 master_port_alt = 9280
313
314 class NativeClientToolchain(_NaClBase):
315 project_name = 'NativeClientToolchain'
316 master_port = 9081
317 slave_port = 9181
318 master_port_alt = 9281
319
320 class NativeClientChrome(_NaClBase):
321 project_name = 'NativeClientChrome'
322 master_port = 9082
323 slave_port = 9182
324 master_port_alt = 9282
325
326 class NativeClientRagel(_NaClBase):
327 project_name = 'NativeClientRagel'
328 master_port = 9083
329 slave_port = 9183
330 master_port_alt = 9283
331
332 class NativeClientSDK(_NaClBase):
333 project_name = 'NativeClientSDK'
334 master_port = 9084
335 slave_port = 9184
336 master_port_alt = 9284
337
338 class NativeClientPorts(_NaClBase):
339 project_name = 'NativeClientPorts'
340 master_port = 9085
341 slave_port = 9185
342 master_port_alt = 9285
343
344 class NativeClientTryServer(_Base):
345 project_name = 'NativeClient-Try'
346 master_port = 9086
347 slave_port = 9186
348 master_port_alt = 9286
349 try_job_port = 9386
350 svn_url = None
351
352 class NativeClientLLVM(_NaClBase):
353 project_name = 'NativeClientLLVM'
354 master_port = 9087
355 slave_port = 9187
356 master_port_alt = 9287
357
358 class NativeClientSDKMono(_NaClBase):
359 project_name = 'NativeClientSDKMono'
360 master_port = 9088
361 slave_port = 9188
362 master_port_alt = 9288
363
364 class NativeClientSDKAddIn(_NaClBase):
365 project_name = 'NativeClientSDKAddIn'
366 master_port = 9089
367 slave_port = 9191
368 master_port_alt = 9289
369
370 ## Others
371
372 class O3D(_Base):
373 project_name = 'O3D'
374 master_port = 9028
375 slave_port = 9129
376 master_port_alt = 9042
377 base_app_url = 'http://localhost:8080'
378 tree_status_url = base_app_url + '/status'
379 store_revisions_url = base_app_url + '/revisions'
380 last_good_url = 'http://o3d-status.appspot.com/lkgr'
381
382 class PageSpeed(_Base):
383 project_name = 'PageSpeed'
384 master_port = 9038
385 slave_port = 9138
386 master_port_alt = 9238
387 tree_closing_notification_recipients = []
388 # Select tree status urls and codereview location.
389 base_app_url = 'https://page-speed-status.appspot.com'
390 tree_status_url = base_app_url + '/status'
391 store_revisions_url = base_app_url + '/revisions'
392 last_good_url = base_app_url + '/lkgr'
393
394 class Skia(_Base):
395 project_name = 'Skia'
396 master_host = 'localhost'
397 master_port = 9068
398 slave_port = 9169
399 master_port_alt = 9070
400 server_url = 'http://skia.googlecode.com'
401 project_url = 'http://skia.googlecode.com'
402 is_production_host = False
403
404 class Omaha(_Base):
405 project_name = 'Omaha'
406 master_port = 9044
407 slave_port = 9144
408 master_port_alt = 9244
409
410 # Used for testing on a local machine
411 class Experimental(Chromium):
412 project_name = 'Chromium Experimental'
413 master_host = 'localhost'
414 master_port = 9010
415 slave_port = 9111
416 master_port_alt = 9012
417
418 # Used for perf testing
419 # TODO: Remove this when performance testing with clang is done, but no
420 # later than EOQ2 2011.
421 class ChromiumPerfClang(_ChromiumBase):
422 project_name = 'Chromium Perf Clang'
423 master_port = 9040
424 slave_port = 9141
425 master_port_alt = 9042
426
427 class Sfntly(_Base):
428 project_name = 'Sfntly'
429 project_url = 'http://code.google.com/p/sfntly/'
430 master_port = 9048
431 slave_port = 9148
432 master_port_alt = 9248
433
434 class ChromiumPerfAv(_ChromiumBase):
435 project_name = 'Chromium Perf Av'
436 master_port = 9075
437 slave_port = 9175
438 master_port_alt = 9275
439 # Need @google name to enable post to google groups.
440 from_address = 'perf_av@google.com'
441
442 class DevTools(Chromium):
443 project_name = 'Chromium DevTools'
444 master_host = 'localhost'
445 master_port = 9010
446 slave_port = 9111
447 master_port_alt = 9012
448
449 class DrMemory(_Base):
450 project_name = 'DrMemory'
451 master_host = 'localhost'
452 master_port = 9092
453 slave_port = 9192
454 master_port_alt = 9292
455
456 class DynamoRIO(_Base):
457 project_name = 'DynamoRIO'
458 master_host = 'localhost'
459 master_port = 9093
460 slave_port = 9193
461 master_port_alt = 9293
462
463 class WebRTC(_Base):
464 project_name = 'WebRTC'
465 master_port = 9094
466 slave_port = 9194
467 master_port_alt = 9294
468 server_url = 'http://webrtc.googlecode.com'
469 project_url = 'http://webrtc.googlecode.com'
470 from_address = 'webrtc-cb-watchlist@google.com'
471
472 class ChromiumWebRTC(WebRTC):
473 project_name = 'Chromium WebRTC'
474 master_port = 9095
475 slave_port = 9195
476 master_port_alt = 9295
477
478 class Libyuv(_Base):
479 project_name = 'Libyuv'
480 master_port = 9096
481 slave_port = 9196
482 master_port_alt = 9296
483 server_url = 'http://libyuv.googlecode.com'
484 project_url = 'http://libyuv.googlecode.com'
485 from_address = 'libyuv-cb-watchlist@google.com'
486
487 class Libjingle(_Base):
488 project_name = 'Libjingle'
489 master_port = 9097
490 slave_port = 9197
491 master_port_alt = 9297
492 server_url = 'http://libjingle.googlecode.com'
493 project_url = 'http://libjingle.googlecode.com'
494 from_address = 'libjingle-cb-watchlist@google.com'
495
496 class ChromiumWebRTCFYI(WebRTC):
497 project_name = 'Chromium WebRTC FYI'
498 master_port = 9098
499 slave_port = 9198
500 master_port_alt = 9298
501
502 class WebRTCTryServer(WebRTC):
503 project_name = 'WebRTC Try Server'
504 master_port = 9099
505 slave_port = 9199
506 master_port_alt = 9299
507 try_job_port = 9399
508 svn_url = None
509 last_good_url = 'http://webrtc-dashboard.appspot.com/lkgr'
510 code_review_site = 'http://review.webrtc.org'
511
512 class LibyuvTryServer(WebRTC):
513 project_name = 'Libyuv Try Server'
514 master_port = 9100
515 slave_port = 9200
516 master_port_alt = 9300
517 try_job_port = 9400
518 from_address = 'libyuv-cb-watchlist@google.com'
519
520
521 class Archive(object): 164 class Archive(object):
522 archive_host = 'localhost' 165 archive_host = 'localhost'
523 # Skip any filenames (exes, symbols, etc.) starting with these strings 166 # Skip any filenames (exes, symbols, etc.) starting with these strings
524 # entirely, typically because they're not built for this distribution. 167 # entirely, typically because they're not built for this distribution.
525 exes_to_skip_entirely = [] 168 exes_to_skip_entirely = []
526 # Web server base path. 169 # Web server base path.
527 www_dir_base = "\\\\" + archive_host + "\\www\\" 170 www_dir_base = "\\\\" + archive_host + "\\www\\"
528 171
529 @staticmethod 172 @staticmethod
530 def Internal(): 173 def Internal():
531 pass 174 pass
532 175
533 176
534 class Distributed(object): 177 class Distributed(object):
535 """Not much to describe.""" 178 """Not much to describe."""
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698