From 81bd57ffac3cefc6a0f5cbe9cd527bacb0b26769 Mon Sep 17 00:00:00 2001 From: Raito Bezarius Date: Sat, 2 Mar 2024 18:43:14 +0100 Subject: [PATCH] nix/coordinator: instantiate the GerritNixConfigurator Signed-off-by: Raito Bezarius --- nix/coordinator.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/nix/coordinator.nix b/nix/coordinator.nix index cc4577e..6f380ba 100644 --- a/nix/coordinator.nix +++ b/nix/coordinator.nix @@ -102,17 +102,17 @@ in home = "/var/lib/buildbot"; extraImports = '' from datetime import timedelta - from buildbot_nix import NixConfigurator, CachixConfig + from buildbot_nix import GerritNixConfigurator, CachixConfig ''; configurators = [ '' util.JanitorConfigurator(logHorizon=timedelta(weeks=4), hour=12, dayOfWeek=6) '' '' - NixConfigurator( - gerrit=GerritConfig( - ... - ), + GerritNixConfigurator( + "gerrit.lix.systems", + "buildbot", + 2022, url=${builtins.toJSON config.services.buildbot-master.buildbotUrl}, nix_eval_max_memory_size=${builtins.toJSON cfg.evalMaxMemorySize}, nix_eval_worker_count=${if cfg.evalWorkerCount == null then "None" else builtins.toString cfg.evalWorkerCount},