even though it has been discussed here and on github, I am still not able to answer a simple question: Is it possible to add more workers to process multiple builds at once in parallel?
I have deployed Drone 0.8.5 on Kubernetes using this helm chart and I was thinking that all I have to do is scale number of agents, but it doesn’t seem to be the case. Thanks for any help.
Is it possible to add more workers to process multiple builds at once in parallel?
Yes.
Every agent you install is able to process a build. If you have 4 agents installed and connected with the Drone server your system, by default, will be able to process 4 builds in parallel.
You can also configure a single agent to process multiple builds in parallel by setting the agent’s DRONE_MAX_PROCS variable. For example if you set DRONE_MAX_PROCS=2, the agent will be able to process 2 concurrent builds.
You can combine these strategies. You can setup 4 agents on 4 different servers, each with DRONE_MAX_PROCS=2, which would allow your system to process 8 builds in parallel.