Rev 88: Finish upgrade to buildbot-0.7.11. in file:///home/vila/buildbot/bzr/
Vincent Ladeuil
v.ladeuil+lp at free.fr
Fri Dec 4 14:04:45 GMT 2009
At file:///home/vila/buildbot/bzr/
------------------------------------------------------------
revno: 88
revision-id: v.ladeuil+lp at free.fr-20091204140445-fgd56s875fvoaicx
parent: v.ladeuil+lp at free.fr-20091127111248-s549b3e1ck12m3t8
committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
branch nick: bzr
timestamp: Fri 2009-12-04 15:04:45 +0100
message:
Finish upgrade to buildbot-0.7.11.
* slaves/jaunty/buildbot.tac:
(usepty): Reset to zero as it seems to be the cause of connection
loss.
* slaves/hardy/buildbot.tac:
(usepty): Reset to zero as it seems to be the cause of connection
loss.
* master/master.cfg.sample:
Upgraded for buildbot-0.7.11.
-------------- next part --------------
=== modified file 'master/master.cfg.sample'
--- a/master/master.cfg.sample 2009-06-08 09:36:19 +0000
+++ b/master/master.cfg.sample 2009-12-04 14:04:45 +0000
@@ -17,8 +17,8 @@
####### BUILDSLAVES
# the 'slaves' list defines the set of allowable buildslaves. Each element is
-# a tuple of bot-name and bot-password. These correspond to values given to
-# the buildslave's mktap invocation.
+# a BuildSlave object, which is created with bot-name, bot-password. These
+# correspond to values given to the buildslave's mktap invocation.
from buildbot.buildslave import BuildSlave
c['slaves'] = [BuildSlave("bot1name", "bot1passwd")]
@@ -60,6 +60,17 @@
#from buildbot.changes.pb import PBChangeSource
#c['change_source'] = PBChangeSource()
+# If you wat to use SVNPoller, it might look something like
+# # Where to get source code changes
+# from buildbot.changes.svnpoller import SVNPoller
+# source_code_svn_url='https://svn.myproject.org/bluejay/trunk'
+# svn_poller = SVNPoller(
+# svnurl=source_code_svn_url,
+# pollinterval=60*60, # seconds
+# histmax=10,
+# svnbin='/usr/bin/svn',
+## )
+# c['sources'] = [ svn_poller ]
####### SCHEDULERS
@@ -76,8 +87,8 @@
# the 'builders' list defines the Builders. Each one is configured with a
# dictionary, using the following keys:
-# name (required): the name used to describe this bilder
-# slavename (required): which slave to use, must appear in c['bots']
+# name (required): the name used to describe this builder
+# slavename (required): which slave to use (must appear in c['bots'])
# builddir (required): which subdirectory to run the builder in
# factory (required): a BuildFactory to define how the build is run
# periodicBuildTime (optional): if set, force a build every N seconds
@@ -102,7 +113,7 @@
f1 = factory.BuildFactory()
f1.addStep(CVS(cvsroot=cvsroot, cvsmodule=cvsmodule, login="", mode="copy"))
f1.addStep(Compile(command=["python", "./setup.py", "build"]))
-f1.addStep(Trial(testpath="."))
+f1.addStep(Trial(testChanges=True, testpath="."))
b1 = {'name': "buildbot-full",
'slavename': "bot1name",
@@ -120,6 +131,11 @@
c['status'] = []
+# Use allowForce=True (boolean, not a string. ie: not 'True') to allow
+# Forcing Builds in the Web User Interface. The default is False.
+# from buildbot.status import html
+# c['status'].append(html.WebStatus(http_port=8010,allowForce=True))
+
from buildbot.status import html
c['status'].append(html.WebStatus(http_port=8010))
@@ -141,7 +157,7 @@
# if you set 'debugPassword', then you can connect to the buildmaster with
# the diagnostic tool in contrib/debugclient.py . From this tool, you can
# manually force builds and inject changes, which may be useful for testing
-# your buildmaster without actually commiting changes to your repository (or
+# your buildmaster without actually committing changes to your repository (or
# before you have a functioning 'sources' set up). The debug tool uses the
# same port number as the slaves do: 'slavePortnum'.
=== modified file 'slaves/hardy/buildbot.tac'
--- a/slaves/hardy/buildbot.tac 2009-07-14 13:05:58 +0000
+++ b/slaves/hardy/buildbot.tac 2009-12-04 14:04:45 +0000
@@ -8,7 +8,7 @@
slavename = 'hardy'
passwd = 'heron'
keepalive = 600
-usepty = 1
+usepty = 0
umask = None
application = service.Application('buildslave')
=== modified file 'slaves/jaunty/buildbot.tac'
--- a/slaves/jaunty/buildbot.tac 2009-11-05 13:50:12 +0000
+++ b/slaves/jaunty/buildbot.tac 2009-12-04 14:04:45 +0000
@@ -8,7 +8,7 @@
slavename = 'jaunty'
passwd = 'jackalope'
keepalive = 600
-usepty = 1
+usepty = 0
umask = None
application = service.Application('buildslave')
More information about the bazaar-commits
mailing list