Skip to content

Commit

Permalink
Merge remote branch 'djmitche/master'
Browse files Browse the repository at this point in the history
Conflicts:
	buildbot/scripts/startup.py
	buildbot/status/web/templates/change.html
  • Loading branch information
marcus-sonestedt committed Mar 31, 2010
2 parents b466c5d + cc7c044 commit 730fff1
Show file tree
Hide file tree
Showing 64 changed files with 3,013 additions and 269 deletions.
18 changes: 18 additions & 0 deletions NEWS
@@ -1,6 +1,13 @@
Major User visible changes in Buildbot. -*- outline -*-
(see ChangeLog for a detailed list of changes)

* master

** Builders can setup properties

There is a new parameter to the builders to setup properties on a
builder basis.

* Release 0.8.0beta1

** New Steps
Expand All @@ -17,6 +24,17 @@ buildmaster, replacing the use of category for this purpose. Matching can be
done using regular expressions, so it's even possible to support nested
projects!

** ShellCommands expand environment variables

If you pass to a shell command an environment variable like this:

ShellCommand(..., env={"FOO": "${BAR}"})

then, on the slave side the variable FOO will have the same value as
the alread existing BAR variable on the slave. This is mostly used to
expand variable like this: "PATH": "/my/directory:${PATH}" where PATH
will have "/my/directory" prepended to it.

** Scheduler requires keyword arguments

If you are creating your Scheduler like this:
Expand Down
2 changes: 2 additions & 0 deletions buildbot/broken_test/__init__.py
@@ -0,0 +1,2 @@
from buildbot.test.util import monkeypatches
monkeypatches.add_debugging_monkeypatches()
2 changes: 2 additions & 0 deletions buildbot/broken_test/runs/test_properties.py
Expand Up @@ -24,6 +24,8 @@ class FakeBuilder:
statusbag = None
name = "fakebuilder"
botmaster = FakeBotMaster()
def setupProperties(self, props):
props.setProperty('buildername', self.name, 'Builder')
class FakeSlave:
slavename = "bot12"
properties = Properties(slavename="bot12")
Expand Down
2 changes: 2 additions & 0 deletions buildbot/broken_test/runs/test_slaves.py
Expand Up @@ -588,6 +588,8 @@ def _testServiceStop_2(self, res):
# bot 1 is NOT substantiated.
self.assertIdentical(self.bot1.slave, None)
self.failIf(self.bot1.substantiated)
# but we need to re-start the service or tearDown will get confused
self.bot1.startService()

def testPing(self):
# While a latent slave pings normally when it is substantiated, (as
Expand Down
1 change: 1 addition & 0 deletions buildbot/broken_test/runs/test_status.py
Expand Up @@ -587,6 +587,7 @@ def testMail(self):
d.addCallback(self.stall, 0.1)
return d

Mail.skip = "mail tests broken now that email is uuencoded"
if not mail:
Mail.skip = "the Twisted Mail package is not installed"

Expand Down

0 comments on commit 730fff1

Please sign in to comment.