nix-community / buildbot-nix

A nixos module to make buildbot a proper Nix-CI [maintainer=@Mic92,@MagicRB]
MIT License
84 stars 23 forks source link

Add local worker support #198

Closed james-atkins closed 2 months ago

james-atkins commented 3 months ago

If pass does not exist, then create a local worker that runs in the same process as the master.

https://docs.buildbot.net/latest/manual/configuration/workers.html#local-workers

Mic92 commented 2 months ago

What was the issue with this approach? In general I find it nicer to have the two components distributed over two services. Because oom events happen in eval will only crash workers but the webui will still be able to report.

james-atkins commented 2 months ago

Pretty much for the reasons you said. That said, I think it would be nice if it additional "local" workers could be easily created on the local machine without having to manually configure their passwords.