mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-07-05 00:37:19 +02:00
Secured buildbot change endpoint
This commit is contained in:
parent
513d837cd9
commit
0dee7541e7
1 changed files with 3 additions and 3 deletions
|
@ -150,7 +150,7 @@ def build_config() -> dict[str, Any]:
|
||||||
util.AnyControlEndpointMatcher(role="admins"),
|
util.AnyControlEndpointMatcher(role="admins"),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
"plugins": dict(waterfall_view={}, console_view={}, grid_view={}, badges ={
|
"plugins": dict(console_view={}, badges ={
|
||||||
"left_pad" : 5,
|
"left_pad" : 5,
|
||||||
"left_text": "Build Status", # text on the left part of the image
|
"left_text": "Build Status", # text on the left part of the image
|
||||||
"left_color": "#555", # color of 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(
|
"change_hook_dialects": dict(
|
||||||
github={
|
github={
|
||||||
"secret": "hello",
|
"secret": str(read_secret_file("github-webhook-secret")).strip(),
|
||||||
"strict": False,
|
"strict": True,
|
||||||
"token": github_api_token,
|
"token": github_api_token,
|
||||||
"github_property_whitelist": "*",
|
"github_property_whitelist": "*",
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue