mirror of
https://github.com/QuasarApp/QuasarAppCI.git
synced 2025-05-04 09:19:38 +00:00
simple fixes
This commit is contained in:
parent
0df7218d5c
commit
dfb70bee63
@ -35,6 +35,13 @@ class BuildBotIdentity(BuildBotModule):
|
|||||||
console_view={},
|
console_view={},
|
||||||
grid_view={}))
|
grid_view={}))
|
||||||
|
|
||||||
|
scr = SecretManager(str(Path.home()) + "/buildBotSecret/secret.json")
|
||||||
|
|
||||||
|
self.masterConf['www']['auth'] = util.GitHubAuth(
|
||||||
|
scr.getValue("QuasarAppCIID"),
|
||||||
|
scr.getValue("QuasarAppCIToken"),
|
||||||
|
apiVersion=4, getTeamsMembership=True)
|
||||||
|
|
||||||
self.masterConf['www']['authz'] = util.Authz(
|
self.masterConf['www']['authz'] = util.Authz(
|
||||||
allowRules=[
|
allowRules=[
|
||||||
util.AnyEndpointMatcher(role="admins"),
|
util.AnyEndpointMatcher(role="admins"),
|
||||||
@ -51,10 +58,3 @@ class BuildBotIdentity(BuildBotModule):
|
|||||||
|
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
||||||
scr = SecretManager(str(Path.home()) + "/buildBotSecret/secret.json")
|
|
||||||
|
|
||||||
self.masterConf['www']['auth'] = util.GitHubAuth(
|
|
||||||
scr.getValue("QuasarAppCIID"),
|
|
||||||
scr.getValue("QuasarAppCIToken"),
|
|
||||||
apiVersion=4, getTeamsMembership=True)
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user