How to make Drone run multiple builds at once

Is there a way for Drone to run multiple builds on the same machine in parallel?

I have tried by adding:
DRONE_WORKER_NODES=unix:///var/run/docker.sock,unix:///var/run/docker.sock
to Docker-Compose but it didn’t work

Drone version 0.7

1 Like

You can specify DRONE_MAX_PROCS environment variable on agent and set to number of builds you’d like to run in parallel. By default it is 1.

5 Likes

Thank you very much Jacob!

Do you know the difference if compare to set DRONE_MAX_PROCS to 2 in one drone agent and start with two drone agents? They both can run two builds at same time.