feat: support Gerrit in Buildbot #1

Merged
qyriad merged 46 commits from gerrit into main 2024-04-30 19:42:02 +00:00
Showing only changes of commit 3895b90493 - Show all commits

View file

@ -737,15 +737,15 @@ 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,
# reviewCB=gerritReviewCB,
# reviewArg=self.url,
# startCB=gerritStartCB,
# startArg=self.url,
# summaryCB=gerritSummaryCB,
# summaryArg=self.url)
# )
systemd_secrets = secrets.SecretInAFile(
dirname=os.environ["CREDENTIALS_DIRECTORY"],