lol

nixos/buildbot: make configurators configurable

authored by

Jörg Thalheim and committed by
zowoq
e2106a5d d9035278

+10
+10
nixos/modules/services/continuous-integration/buildbot/master.nix
··· 28 28 schedulers = [ ${concatStringsSep "," cfg.schedulers} ], 29 29 builders = [ ${concatStringsSep "," cfg.builders} ], 30 30 services = [ ${concatStringsSep "," cfg.reporters} ], 31 + configurators = [ ${concatStringsSep "," cfg.configurators} ], 31 32 ) 32 33 for step in [ ${concatStringsSep "," cfg.factorySteps} ]: 33 34 factory.addStep(step) ··· 76 77 default = []; 77 78 example = [ 78 79 "changes.GitPoller('https://github.com/buildbot/pyflakes.git', workdir='gitpoller-workdir', branch='master', pollinterval=300)" 80 + ]; 81 + }; 82 + 83 + configurators = mkOption { 84 + type = types.listOf types.str; 85 + description = lib.mdDoc "Configurator Steps, see https://docs.buildbot.net/latest/manual/configuration/configurators.html"; 86 + default = []; 87 + example = [ 88 + "util.JanitorConfigurator(logHorizon=timedelta(weeks=4), hour=12, dayOfWeek=6)" 79 89 ]; 80 90 }; 81 91