mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-04-02 18:20:52 +02:00
Cleaned buildbot config
This commit is contained in:
parent
7c7339490f
commit
c722cd5a6e
1 changed files with 0 additions and 9 deletions
|
@ -114,7 +114,6 @@ def build_config() -> dict[str, Any]:
|
||||||
c["workers"] = []
|
c["workers"] = []
|
||||||
worker_names = []
|
worker_names = []
|
||||||
for item in worker_config:
|
for item in worker_config:
|
||||||
print(f"WORKER : {item}")
|
|
||||||
cores = item.get("cores", 0)
|
cores = item.get("cores", 0)
|
||||||
for i in range(cores):
|
for i in range(cores):
|
||||||
worker_name = f"{item['name']}-{i}"
|
worker_name = f"{item['name']}-{i}"
|
||||||
|
@ -138,14 +137,6 @@ def build_config() -> dict[str, Any]:
|
||||||
|
|
||||||
github_admins = os.environ.get("GITHUB_ADMINS", "").split(",")
|
github_admins = os.environ.get("GITHUB_ADMINS", "").split(",")
|
||||||
|
|
||||||
print(github_admins)
|
|
||||||
|
|
||||||
print(os.environ.get("GITHUB_OAUTH_ID"))
|
|
||||||
print(read_secret_file("github-oauth-secret"))
|
|
||||||
print("lol")
|
|
||||||
print(read_secret_file("github-webhook-secret"))
|
|
||||||
print(github_api_token)
|
|
||||||
|
|
||||||
c["www"] = {
|
c["www"] = {
|
||||||
"avatar_methods": [util.AvatarGitHub()],
|
"avatar_methods": [util.AvatarGitHub()],
|
||||||
"port": int(os.environ.get("PORT", "1810")),
|
"port": int(os.environ.get("PORT", "1810")),
|
||||||
|
|
Loading…
Add table
Reference in a new issue