From 93fed0a625315b4ba4a19baf55cb62bacc7bb25e Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Mon, 7 Nov 2016 23:04:03 +0100 Subject: buildbot: getting rid of old 'auth' --- buildbot/master-lonelyslave.cfg | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) (limited to 'buildbot/master-lonelyslave.cfg') diff --git a/buildbot/master-lonelyslave.cfg b/buildbot/master-lonelyslave.cfg index bc40d5f..3235153 100644 --- 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" -- cgit v1.2.3