from buildbot.process.builder import Builder real_compareToSetup = Builder.compareToSetup Builder.compareToSetup = lambda self, setup: real_compareToSetup(self,setup)+ ['forced update'] BuildmasterConfig = bbot.master( title = 'BoostPro FOSSbot', titleURL = 'http://github.com/boostpro/fossbot', buildbotURL = 'http://bbot.boostpro.com', slaves = [ Slave( 'boostpro-ubu11.04x64-2', max_builds=1, features=dict(os='linux', cc=['gcc'], emacs='23.3', modbot='x', architecture='x64')), Slave( 'boostpro-win08x64-2', max_builds=1, features=dict( os='win64', cc=['vc7.1', 'vc8', 'vc9', 'vc10'], emacs='23.3', ) ), ], projects = 'fossbot.projects', status = [GitHubWebStatus(http_port='tcp:8010:interface=127.0.0.1')()], ) # For debugging import buildbot.manhole BuildmasterConfig['manhole'] = buildbot.manhole.AuthorizedKeysManhole(41999, "manhole-authorized_keys")
from bbot.project import Project from bbot.slave import Slave from bbot.procedures import BuildProcedure BuildmasterConfig = bbot.master( title = 'bbot-test-site', buildbotURL = 'http://buildbot.net', slaves = [ Slave('slave1', 'password1', features=dict(os='OS1', cc=['g++', 'vc8'])), Slave('slave2', 'password2', features=dict(os='OS2', cc=['intel', 'clang'])) ], projects = [ Project('project1', repositories=[GitHub('boostpro/bbot')], include_features = ['cc'], build_procedures=[ BuildProcedure('build') ] ), Project('project2', repositories=[GitHub('boostpro/bbot')], include_features = ['os', 'cc'], build_procedures=[ BuildProcedure('build'), BuildProcedure('test')] ), ] ) assert len(BuildmasterConfig['builders']) == 12