[users at bb.net] Buildslave limit help

Pierre Tardy tardyp at gmail.com
Fri May 24 13:47:51 UTC 2019


Hi,

There are multiple tools to limit the number of builds at the same
time in the same machines.
Let say you want to have max 4 builds at the same time

- You can setup 4 latent workers per machine, and configure
maxbuilds=1 on each machine.
- You can use two counting MasterLocks, each of them with an initial
counter of 4.

Regards
Pierre

Le ven. 24 mai 2019 à 15:25, Andrej Breza <jabbadabba at pobox.sk> a écrit :
>
> Hello,
>
>
>
> I'm  trying to figure out how to limit the number of simultaneously running workers (or builders) on my setup.
>
>
>
> The setup: Two bare metal servers, both running a docker daemon. Multiple DockerLatentWorkers instances configured, each of them "mirrored" so that it has an identical copy for the other server, except the worker name (e.g. "server-A-llvm-6-worker" and "server-B-llvm-6-worker") . Then a bunch of Builders, with each Builder setup to run on either server, e.g.
>
>
>
> c['builders'].append(....  workernames=[ "server-A-llvm-6-worker","server-B-llvm-6-worker"] ... )
>
>
>
> What i'm trying to figure out, is how do i limit the number of workers (or builders) running per server. Is this possible ? I'm currently using buildbot 2.0 but i can upgrade if required.
>
>
>
> Thanks
>
>
> _______________________________________________
> users mailing list
> users at buildbot.net
> https://lists.buildbot.net/mailman/listinfo/users


More information about the users mailing list