customize

This commit is contained in:
AF 2023-08-04 21:06:35 +00:00
parent d3608bddfb
commit 945580d7cf

View File

@ -13,6 +13,7 @@ from buildbot.plugins import *
c = BuildmasterConfig = {}
GITEA_SECRET = os.environ.get("GITEA_SECRET")
GITEA_TOKEN = os.environ.get("GITEA_TOKEN")
####### WORKERS
@ -163,9 +164,10 @@ if GITEA_SECRET:
"secret": GITEA_SECRET,
"onlyIncludePushCommit": True,
}
if GITEA_TOKEN:
c["services"].append(
reporters.GiteaStatusPush(
"https://gitea.parrrate.ru", GITEA_SECRET, verbose=True
"https://gitea.parrrate.ru", token=GITEA_TOKEN, verbose=True
),
)