updating opts
This commit is contained in:
parent
20338484cc
commit
48ff711f39
2 changed files with 17 additions and 17 deletions
|
|
@ -33,7 +33,7 @@ in
|
|||
|
||||
reserveTimeoutSeconds = lib.mkOption {
|
||||
type = lib.types.int;
|
||||
default = 1200;
|
||||
default = 600;
|
||||
description = "Seconds CapacityGateStep waits for a ready reservation.";
|
||||
};
|
||||
|
||||
|
|
@ -133,22 +133,20 @@ in
|
|||
}
|
||||
];
|
||||
|
||||
services.buildbot-master.pythonPackages =
|
||||
ps:
|
||||
[
|
||||
(
|
||||
if cfg.extensionPackage != null then
|
||||
ps.toPythonModule cfg.extensionPackage
|
||||
else if builtins.hasAttr "buildbot-autoscale-ext" ps then
|
||||
ps."buildbot-autoscale-ext"
|
||||
else
|
||||
throw ''
|
||||
services.buildbot-nix.nix-build-autoscaler requires buildbot-autoscale-ext in
|
||||
services.buildbot-master.pythonPackages set. Add a pythonPackagesExtensions overlay
|
||||
providing buildbot-autoscale-ext, or set extensionPackage explicitly.
|
||||
''
|
||||
)
|
||||
];
|
||||
services.buildbot-master.pythonPackages = ps: [
|
||||
(
|
||||
if cfg.extensionPackage != null then
|
||||
ps.toPythonModule cfg.extensionPackage
|
||||
else if builtins.hasAttr "buildbot-autoscale-ext" ps then
|
||||
ps."buildbot-autoscale-ext"
|
||||
else
|
||||
throw ''
|
||||
services.buildbot-nix.nix-build-autoscaler requires buildbot-autoscale-ext in
|
||||
services.buildbot-master.pythonPackages set. Add a pythonPackagesExtensions overlay
|
||||
providing buildbot-autoscale-ext, or set extensionPackage explicitly.
|
||||
''
|
||||
)
|
||||
];
|
||||
|
||||
services.buildbot-master.extraImports = ''
|
||||
from buildbot_autoscale_ext.configurator import AutoscaleConfigurator
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue