Modified: contrib/buildbot/master.cfg (81624 => 81625)
--- contrib/buildbot/master.cfg 2011-08-03 03:45:44 UTC (rev 81624)
+++ contrib/buildbot/master.cfg 2011-08-03 04:36:41 UTC (rev 81625)
@@ -242,16 +242,17 @@
from buildbot.status import html
from buildbot.status.web import auth, authz
+from buildbot.status.web.auth import HTPasswdAuth
+htauth = HTPasswdAuth('htpasswd')
authz_cfg=authz.Authz(
- # change any of these to True to enable; see the manual for more
- # options
- gracefulShutdown = False,
- forceBuild = True, # use this to test your slave once it is set up
- forceAllBuilds = False,
- pingBuilder = False,
- stopBuild = True,
- stopAllBuilds = False,
- cancelPendingBuild = False,
+ auth=htauth,
+ gracefulShutdown = 'auth',
+ forceBuild = 'auth',
+ forceAllBuilds = 'auth',
+ pingBuilder = 'auth',
+ stopBuild = 'auth',
+ stopAllBuilds = 'auth',
+ cancelPendingBuild = 'auth',
)
####### PROJECT IDENTITY