nix/coordinator(reporting): re-enable reviewCB, disable summaryCB, skip evaluations

Signed-off-by: Raito Bezarius <raito@lix.systems>
This commit is contained in:
raito 2024-03-04 20:50:12 +01:00
parent 322944f8d1
commit 18d537e5d4

View file

@ -605,6 +605,9 @@ def gerritReviewCB(builderName, build, result, master, arg):
if result == util.RETRY:
return dict()
if builderName != 'lix/nix-eval':
return dict()
message = "Buildbot finished compiling your patchset\n"
message += "on configuration: %s\n" % builderName
message += "The result is: %s\n" % util.Results[result].upper()
@ -728,14 +731,16 @@ class GerritNixConfigurator(ConfiguratorBase):
reporters.GerritStatusPush(self.gerrit_server, self.gerrit_user,
port=2022,
identity_file='/var/lib/buildbot/master/id_gerrit',
reviewCB=None,
summaryCB=None,
startCB=None,
# reviewCB=gerritReviewCB,
# reviewArg=self.url,
wantSteps=True,
reviewCB=gerritReviewCB,
reviewArg=self.url)
# startCB=gerritStartCB,
# startArg=self.url,
summaryCB=gerritSummaryCB,
summaryArg=self.url)
# summaryCB=gerritSummaryCB,
# summaryArg=self.url)
)
systemd_secrets = secrets.SecretInAFile(