commit 93fed0a625315b4ba4a19baf55cb62bacc7bb25e
parent 9f42cceacbaa4e20a78ce879b215e1b9d5385885
Author: Marcello Stanisci <marcello.stanisci@inria.fr>
Date: Mon, 7 Nov 2016 23:04:03 +0100
buildbot: getting rid of old 'auth'
Diffstat:
1 file changed, 4 insertions(+), 15 deletions(-)
diff --git a/buildbot/master-lonelyslave.cfg b/buildbot/master-lonelyslave.cfg
@@ -142,23 +142,12 @@ c['builders'].append(
####### STATUS TARGETS
c['status'] = []
-from buildbot.status.web import authz, auth
-
-authz_cfg=authz.Authz(
- # change any of these to True to enable; see the manual for more
- # options
- auth=auth.BasicAuth([("marcello","taler")]),
- gracefulShutdown = False,
- forceBuild = 'auth', # use this to test your slave once it is set up
- forceAllBuilds = False,
- pingBuilder = False,
- stopBuild = False,
- stopAllBuilds = False,
- cancelPendingBuild = False,
-)
+from buildbot.www.auth import UserPasswordAuth
+
c['www'] = dict(port=8010,
plugins=dict(waterfall_view={},
- console_view={}))
+ console_view={}),
+ auth=util.UserPasswordAuth({"marcello": "taler"}))
####### PROJECT IDENTITY
c['title'] = "Taler"