Secured buildbot change endpoint

This commit is contained in:
Luj 2023-01-22 00:06:29 +01:00
parent de54935de7
commit 55dc85d432
Signed by: luj
GPG key ID: 6FC74C847011FD83
2 changed files with 6 additions and 6 deletions

View file

@ -150,7 +150,7 @@ def build_config() -> dict[str, Any]:
util.AnyControlEndpointMatcher(role="admins"),
],
),
"plugins": dict(waterfall_view={}, console_view={}, grid_view={}, badges ={
"plugins": dict(console_view={}, badges ={
"left_pad" : 5,
"left_text": "Build Status", # text on the left part of the image
"left_color": "#555", # color of the left part of the image
@ -173,8 +173,8 @@ def build_config() -> dict[str, Any]:
}),
"change_hook_dialects": dict(
github={
"secret": "hello",
"strict": False,
"secret": str(read_secret_file("github-webhook-secret")).strip(),
"strict": True,
"token": github_api_token,
"github_property_whitelist": "*",
}