feat: support Gerrit in Buildbot #1
|
@ -19,10 +19,10 @@ in
|
|||
defaultText = "pkgs.buildbot-worker";
|
||||
description = "The buildbot-worker package to use.";
|
||||
};
|
||||
masterUrl = lib.mkOption {
|
||||
coordinatorUrl = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
default = "tcp:host=localhost:port=9989";
|
||||
description = "The buildbot master url.";
|
||||
description = "The buildbot coordinator url.";
|
||||
};
|
||||
workerPasswordFile = lib.mkOption {
|
||||
type = lib.types.path;
|
||||
|
@ -61,7 +61,7 @@ in
|
|||
pkgs.nix-eval-jobs
|
||||
];
|
||||
environment.PYTHONPATH = "${python.withPackages (_: [cfg.package])}/${python.sitePackages}";
|
||||
environment.MASTER_URL = cfg.masterUrl;
|
||||
environment.MASTER_URL = cfg.coordinatorUrl;
|
||||
environment.BUILDBOT_DIR = buildbotDir;
|
||||
|
||||
serviceConfig = {
|
||||
|
|
Loading…
Reference in a new issue