customize
This commit is contained in:
parent
d3608bddfb
commit
945580d7cf
@ -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
|
||||
),
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user