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

Side by Side Diff: masters/master.chromium.fyi/master.cfg

Issue 2452943005: Try converting chromium.fyi remote_run to tools/build (Closed)
Patch Set: Created 4 years, 1 month 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 # vim: ft=python: 1 # vim: ft=python:
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 from buildbot.changes.filter import ChangeFilter 6 from buildbot.changes.filter import ChangeFilter
7 from buildbot.process.properties import WithProperties 7 from buildbot.process.properties import WithProperties
8 from buildbot.scheduler import Dependent 8 from buildbot.scheduler import Dependent
9 from buildbot.scheduler import Nightly 9 from buildbot.scheduler import Nightly
10 from buildbot.scheduler import Periodic 10 from buildbot.scheduler import Periodic
(...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after
385 recipe=recipe, 385 recipe=recipe,
386 factory_properties={'path_config': 'kitchen'}, 386 factory_properties={'path_config': 'kitchen'},
387 **kwargs) 387 **kwargs)
388 388
389 revision_getter = master_utils.ConditionalProperty( 389 revision_getter = master_utils.ConditionalProperty(
390 lambda build: build.getProperty('revision'), 390 lambda build: build.getProperty('revision'),
391 WithProperties('%(revision)s'), 391 WithProperties('%(revision)s'),
392 'origin/master') 392 'origin/master')
393 393
394 def m_remote_run_chromium_src(recipe, **kwargs): 394 def m_remote_run_chromium_src(recipe, **kwargs):
395 kwargs.setdefault(
396 'repository', 'https://chromium.googlesource.com/chromium/src.git')
395 kwargs.setdefault('revision', revision_getter) 397 kwargs.setdefault('revision', revision_getter)
396 return remote_run_factory.RemoteRunFactory( 398 return remote_run_factory.RemoteRunFactory(
397 active_master=ActiveMaster, 399 active_master=ActiveMaster,
398 repository='https://chromium.googlesource.com/chromium/src.git',
399 recipe=recipe, 400 recipe=recipe,
400 factory_properties={'path_config': 'kitchen'}, 401 factory_properties={'path_config': 'kitchen'},
401 use_gitiles=True, 402 use_gitiles=True,
402 **kwargs) 403 **kwargs)
403 404
404 f_chromium_mac_1010 = m_remote_run_chromium_src('chromium') 405 f_chromium_mac_1010 = m_remote_run_chromium_src('chromium')
405 406
406 f_chromium_mac_1010_mac_views = m_remote_run_chromium_src('chromium') 407 f_chromium_mac_1010_mac_views = m_remote_run_chromium_src('chromium')
407 408
408 f_chromium_mac_1011 = m_remote_run_chromium_src('chromium') 409 f_chromium_mac_1011 = m_remote_run_chromium_src('chromium')
(...skipping 1059 matching lines...) Expand 10 before | Expand all | Expand 10 after
1468 b_linux_deterministic_dbg_build, 1469 b_linux_deterministic_dbg_build,
1469 b_mac_deterministic_dbg_build, 1470 b_mac_deterministic_dbg_build,
1470 1471
1471 # Chromium DevTools 1472 # Chromium DevTools
1472 b_chromium_devtools_linux, 1473 b_chromium_devtools_linux,
1473 ] 1474 ]
1474 1475
1475 c['builders'].extend([ 1476 c['builders'].extend([
1476 { 1477 {
1477 'name': 'Linux remote_run Builder', 1478 'name': 'Linux remote_run Builder',
1478 'factory': m_remote_run_chromium_src( 1479 'factory': m_remote_run_chromium_src(
estaab 2016/10/27 01:12:00 I think switching back to m_remote_run() already d
martiniss 2016/10/27 19:34:47 Done.
1479 'chromium', timeout=2400, max_time=10800), 1480 'chromium', timeout=2400, max_time=10800, repository=
1481 'https://chromium.googlesource.com/chromium/tools/build.git'),
1480 'category': 'remote_run', 1482 'category': 'remote_run',
1481 'auto_reboot': True, 1483 'auto_reboot': True,
1482 }, 1484 },
1483 { 1485 {
1484 'name': 'Linux remote_run Tester', 1486 'name': 'Linux remote_run Tester',
1485 'factory': m_remote_run_chromium_src('chromium'), 1487 'factory': m_remote_run_chromium_src(
1488 'chromium', revision=None, repository=
1489 'https://chromium.googlesource.com/chromium/tools/build.git'),
1486 'category': 'remote_run', 1490 'category': 'remote_run',
1487 'auto_reboot': True, 1491 'auto_reboot': True,
1488 }, 1492 },
1489 ]) 1493 ])
1490 1494
1491 # Associate the slaves to the manual builders. The configuration is in 1495 # Associate the slaves to the manual builders. The configuration is in
1492 # slaves.cfg. 1496 # slaves.cfg.
1493 slaves = slaves_list.SlavesList('slaves.cfg', 'ChromiumFYI') 1497 slaves = slaves_list.SlavesList('slaves.cfg', 'ChromiumFYI')
1494 for builder in c['builders']: 1498 for builder in c['builders']:
1495 builder['slavenames'] = slaves.GetSlavesName(builder=builder['name']) 1499 builder['slavenames'] = slaves.GetSlavesName(builder=builder['name'])
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
1555 ])) 1559 ]))
1556 1560
1557 c['status'].append(MailNotifier( 1561 c['status'].append(MailNotifier(
1558 fromaddr=ActiveMaster.from_address, # Reply-To address 1562 fromaddr=ActiveMaster.from_address, # Reply-To address
1559 mode='failing', 1563 mode='failing',
1560 relayhost=config.Master.smtp, 1564 relayhost=config.Master.smtp,
1561 subject='Build failure on %(builder)s', 1565 subject='Build failure on %(builder)s',
1562 extraRecipients=['sbc@chromium.org'], 1566 extraRecipients=['sbc@chromium.org'],
1563 sendToInterestedUsers=False, 1567 sendToInterestedUsers=False,
1564 builders=['Linux ARM'])) 1568 builders=['Linux ARM']))
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