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: if result == util.RETRY:
return dict() return dict()
if builderName != 'lix/nix-eval':
return dict()
message = "Buildbot finished compiling your patchset\n" message = "Buildbot finished compiling your patchset\n"
message += "on configuration: %s\n" % builderName message += "on configuration: %s\n" % builderName
message += "The result is: %s\n" % util.Results[result].upper() 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, reporters.GerritStatusPush(self.gerrit_server, self.gerrit_user,
port=2022, port=2022,
identity_file='/var/lib/buildbot/master/id_gerrit', identity_file='/var/lib/buildbot/master/id_gerrit',
reviewCB=None, summaryCB=None,
startCB=None, startCB=None,
# reviewCB=gerritReviewCB, wantSteps=True,
# reviewArg=self.url, reviewCB=gerritReviewCB,
reviewArg=self.url)
# startCB=gerritStartCB, # startCB=gerritStartCB,
# startArg=self.url, # startArg=self.url,
summaryCB=gerritSummaryCB, # summaryCB=gerritSummaryCB,
summaryArg=self.url) # summaryArg=self.url)
) )
systemd_secrets = secrets.SecretInAFile( systemd_secrets = secrets.SecretInAFile(