We are going to implement this soon. To track progress subscribe to https://github.com/OctopusDeploy/Issues/issues/4159
The Workers (https://github.com/OctopusDeploy/Issues/issues/4158) feature is related and covers some of the use cases described in the comments.
An error occurred while saving the commentWenzel, Toni commented
1.- 200+ Octopus projects
2.- Each of those projects has a update DB step configured to run on "database-updater" target role.
3.- Production environment has 5 targets with the "database-updater" role.
1.- For each project, the updated DB step needs to run once on one target only.
2.- When many projects are deploying at the same time, I want the work to be distributed among the 5 targets (so if I deploy 100 projects at the same time, each "database-updater" target would run 20 projects' update DB step).
At the moment this is only possibly by creating multiple roles "database-updater1" etc and assign those roles fix to the projects.
Please provide an option to define either a target or a role act like a queue.