nix/coordinator: enable reporting to Gerrit

Signed-off-by: Raito Bezarius <raito@lix.systems>
This commit is contained in:
raito 2024-03-03 02:32:05 +01:00
parent 2bcc0ee4e9
commit 9a67a1f2cc

View file

@ -724,15 +724,17 @@ class GerritNixConfigurator(ConfiguratorBase):
config["change_source"] = self.gerrit_change_source config["change_source"] = self.gerrit_change_source
config["workers"].append(worker.LocalWorker(SKIPPED_BUILDER_NAME)) config["workers"].append(worker.LocalWorker(SKIPPED_BUILDER_NAME))
# config["services"].append( config["services"].append(
# reporters.GerritStatusPush(self.gerrit_server, self.gerrit_user, reporters.GerritStatusPush(self.gerrit_server, self.gerrit_user,
# reviewCB=gerritReviewCB, port=2022,
# reviewArg=self.url, identity_file='/var/lib/buildbot/master/id_gerrit',
# startCB=gerritStartCB, reviewCB=gerritReviewCB,
# startArg=self.url, reviewArg=self.url,
# summaryCB=gerritSummaryCB, startCB=gerritStartCB,
# summaryArg=self.url) startArg=self.url,
# ) summaryCB=gerritSummaryCB,
summaryArg=self.url)
)
systemd_secrets = secrets.SecretInAFile( systemd_secrets = secrets.SecretInAFile(
dirname=os.environ["CREDENTIALS_DIRECTORY"], dirname=os.environ["CREDENTIALS_DIRECTORY"],