[Scummvm-cvs-logs] SF.net SVN: scummvm:[56002] buildbot/config/master.cfg
fingolfin at users.sourceforge.net
fingolfin at users.sourceforge.net
Tue May 3 15:23:51 CEST 2011
Revision: 56002
http://scummvm.svn.sourceforge.net/scummvm/?rev=56002&view=rev
Author: fingolfin
Date: 2011-05-03 13:23:51 +0000 (Tue, 03 May 2011)
Log Message:
-----------
BUILDBOT: Re-enable web auth
Modified Paths:
--------------
buildbot/config/master.cfg
Modified: buildbot/config/master.cfg
===================================================================
--- buildbot/config/master.cfg 2011-05-03 12:53:15 UTC (rev 56001)
+++ buildbot/config/master.cfg 2011-05-03 13:23:51 UTC (rev 56002)
@@ -889,22 +889,27 @@
c["status"] = []
from buildbot.status.html import WebStatus
+from buildbot.status.web.authz import Authz
from buildbot.status.web.auth import HTPasswdAuth
htfile = '/opt/buildbot/master/scumm_htpasswd'
-web_auth = None
-web_force = False
+web_authz = None
-if False: #os.path.exists(htfile):
- web_auth = HTPasswdAuth(htfile)
- web_force = True
+if os.path.exists(htfile):
+ web_authz = Authz(auth=HTPasswdAuth(htfile),
+ forceBuild='auth', # only authenticated users
+ forceAllBuilds='auth', # only authenticated users
+ pingBuilder=True, # anyone can do this
+ stopBuild='auth', # only authenticated users
+ stopAllBuilds='auth', # only authenticated users
+ cancelPendingBuild='auth', # only authenticated users
+ )
c["status"].append(
WebStatus(http_port = "tcp:8010:interface=127.0.0.1",
change_hook_dialects = { 'github' : True },
order_console_by_time = True,
- allowForce = web_force,
- auth = web_auth
+ authz = web_authz
)
)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list