nix/coordinator: enable reporting to Gerrit
Signed-off-by: Raito Bezarius <raito@lix.systems>
This commit is contained in:
parent
2bcc0ee4e9
commit
9a67a1f2cc
|
@ -724,15 +724,17 @@ class GerritNixConfigurator(ConfiguratorBase):
|
|||
|
||||
config["change_source"] = self.gerrit_change_source
|
||||
config["workers"].append(worker.LocalWorker(SKIPPED_BUILDER_NAME))
|
||||
# config["services"].append(
|
||||
# reporters.GerritStatusPush(self.gerrit_server, self.gerrit_user,
|
||||
# reviewCB=gerritReviewCB,
|
||||
# reviewArg=self.url,
|
||||
# startCB=gerritStartCB,
|
||||
# startArg=self.url,
|
||||
# summaryCB=gerritSummaryCB,
|
||||
# summaryArg=self.url)
|
||||
# )
|
||||
config["services"].append(
|
||||
reporters.GerritStatusPush(self.gerrit_server, self.gerrit_user,
|
||||
port=2022,
|
||||
identity_file='/var/lib/buildbot/master/id_gerrit',
|
||||
reviewCB=gerritReviewCB,
|
||||
reviewArg=self.url,
|
||||
startCB=gerritStartCB,
|
||||
startArg=self.url,
|
||||
summaryCB=gerritSummaryCB,
|
||||
summaryArg=self.url)
|
||||
)
|
||||
|
||||
systemd_secrets = secrets.SecretInAFile(
|
||||
dirname=os.environ["CREDENTIALS_DIRECTORY"],
|
||||
|
|
Loading…
Reference in a new issue