summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcello Stanisci <marcello.stanisci@inria.fr>2016-11-07 23:04:03 +0100
committerMarcello Stanisci <marcello.stanisci@inria.fr>2016-11-07 23:04:03 +0100
commit93fed0a625315b4ba4a19baf55cb62bacc7bb25e (patch)
tree2e092f398469d24d1bc6f2dd9adb059a270e1dbd
parent9f42cceacbaa4e20a78ce879b215e1b9d5385885 (diff)
downloaddeployment-93fed0a625315b4ba4a19baf55cb62bacc7bb25e.tar.gz
deployment-93fed0a625315b4ba4a19baf55cb62bacc7bb25e.tar.bz2
deployment-93fed0a625315b4ba4a19baf55cb62bacc7bb25e.zip
buildbot: getting rid of old 'auth'
-rw-r--r--buildbot/master-lonelyslave.cfg19
1 files changed, 4 insertions, 15 deletions
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"