Author: Armin Rigo <[email protected]>
Branch:
Changeset: r1012:52e9a601c0ec
Date: 2016-07-30 12:16 +0200
http://bitbucket.org/pypy/buildbot/changeset/52e9a601c0ec/
Log: Pass "pingBuilder=False" (it seems that pinging builders may
sometimes cause the buildmaster to stop sending jobs to the builders
afterwards). This requires a change in the way we pass options,
which hopefully I did correctly.
diff --git a/bot2/pypybuildbot/master.py b/bot2/pypybuildbot/master.py
--- a/bot2/pypybuildbot/master.py
+++ b/bot2/pypybuildbot/master.py
@@ -5,6 +5,7 @@
from buildbot.schedulers.forcesched import ValidationError
from buildbot.buildslave import BuildSlave
from buildbot.status.html import WebStatus
+from buildbot.status.web import authz
#from buildbot import manhole
from pypybuildbot.pypylist import PyPyList, NumpyStatusList
from pypybuildbot.ircbot import IRC # side effects
@@ -23,7 +24,9 @@
else:
channel = '#pypy'
-status = WebStatus(httpPortNumber, allowForce=True)
+authz_cfg = authz.Authz(pingBuilder=False, forceBuild=True,
forceAllBuilds=True,
+ stopBuild=True, stopAllBuilds=True,
cancelPendingBuild=True)
+status = WebStatus(httpPortNumber, authz=authz_cfg)
ircbot = IRC(host="irc.freenode.org",
nick="bbot2",
channels=[channel],
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit