[81625] contrib/buildbot/master.cfg
wsiegrist at apple.com
wsiegrist at apple.com
Tue Aug 2 21:36:42 PDT 2011
Revision: 81625
http://trac.macports.org/changeset/81625
Author: wsiegrist at apple.com
Date: 2011-08-02 21:36:41 -0700 (Tue, 02 Aug 2011)
Log Message:
-----------
Require credentials for all operations
Modified Paths:
--------------
contrib/buildbot/master.cfg
Modified: contrib/buildbot/master.cfg
===================================================================
--- 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110802/85e124d0/attachment.html>
More information about the macports-changes
mailing list