taler-deployment

Deployment scripts and configuration files
Log | Files | Refs | README

commit bb56b424df5bffe75e88186c7563dbbe18dfaf16
parent d586daa65072453b7a47344be93e9a380345830b
Author: Christian Grothoff <christian@grothoff.org>
Date:   Wed,  3 Jun 2020 11:58:42 +0200

remove webui

Diffstat:
Mbuildbot/master.cfg | 94+++++++++++++++++++++++++++++++++++++++++--------------------------------------
1 file changed, 49 insertions(+), 45 deletions(-)

diff --git a/buildbot/master.cfg b/buildbot/master.cfg @@ -957,7 +957,6 @@ c["titleURL"] = "https://taler.net" # We use nginx to expose the BB under this URL. c["buildbotURL"] = "https://buildbot.taler.net/" -exec(compile(open('../taler_bb_userpass_db/taler_bb_userpass_db/db.py').read(), filename='db.py', mode='exec')) BUILDER_LIST = [ "buildmaster-builder", @@ -977,52 +976,57 @@ BUILDER_LIST = [ "taler-test-healthcheck-builder", ] -authz = util.Authz( - allowRules=[ - util.ForceBuildEndpointMatcher(role="admins", - builder=b) - for b in BUILDER_LIST - ] + [ - util.StopBuildEndpointMatcher(role="admins", - builder=b) - for b in BUILDER_LIST - ] + [ - util.RebuildBuildEndpointMatcher(role="admins", - builder=b) - for b in BUILDER_LIST - ] + [ - util.ForceBuildEndpointMatcher(role="norole", - builder=b) - for b in BUILDER_LIST - ] + [ - util.StopBuildEndpointMatcher(role="norole", - builder=b) - for b in BUILDER_LIST - ] + [ - util.RebuildBuildEndpointMatcher(role="norole", - builder=b) - for b in BUILDER_LIST - ], - roleMatchers=[ - util.RolesFromUsername( - roles=["admins"], - usernames=["marcello", "florian", "christian"] - ) - ] -) +# Authentication for Web UI. Not needed right now... +#exec(compile(open('../taler_bb_userpass_db/taler_bb_userpass_db/db.py').read(), filename='db.py', mode='exec')) + +#authz = util.Authz( +# allowRules=[ +# util.ForceBuildEndpointMatcher(role="admins", +# builder=b) +# for b in BUILDER_LIST +# ] + [ +# util.StopBuildEndpointMatcher(role="admins", +# builder=b) +# for b in BUILDER_LIST +# ] + [ +# util.RebuildBuildEndpointMatcher(role="admins", +# builder=b) +# for b in BUILDER_LIST +# ] + [ +# util.ForceBuildEndpointMatcher(role="norole", +# builder=b) +# for b in BUILDER_LIST +# ] + [ +# util.StopBuildEndpointMatcher(role="norole", +# builder=b) +# for b in BUILDER_LIST +# ] + [ +# util.RebuildBuildEndpointMatcher(role="norole", +# builder=b) +# for b in BUILDER_LIST +# ], +# roleMatchers=[ +# util.RolesFromUsername( +# roles=["admins"], +# usernames=["marcello", "florian", "christian"] +# ) +# ] +#) # minimalistic config to activate new web UI -c["www"] = { - "port": 8010, - "plugins": { - "waterfall_view": {}, - "console_view": {} - }, - "allowed_origins": ["https://*.taler.net"], - "avatar_methods": [], - "auth": util.UserPasswordAuth(USER_PASSWORD_DB), - "authz": authz -} +# -- commented out as not packaged properly in Debian and others, see +# https://bugzilla.redhat.com/show_bug.cgi?id=1557687 +#c["www"] = { +# "port": 8010, +# "plugins": { +# "waterfall_view": {}, +# "console_view": {} +# }, +# "allowed_origins": ["https://*.taler.net"], +# "avatar_methods": [], +# "auth": util.UserPasswordAuth(USER_PASSWORD_DB), +# "authz": authz +#} ####### DB URL