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