gazebo-tooling / release-tools

8 stars 9 forks source link

Modify the nightly-labeler to re-use large-memory nodes for different distros #1115

Closed j-rivero closed 7 months ago

j-rivero commented 7 months ago

With the appearance of the Noble Ubuntu version, the assignments of the nightly labeler are collapsed since there are no more large-memory nodes available.

The code reuses existing nodes with nightly labels assigned. This goes against the efficiency in time to finish the nightly builds since different distributions can compete for a single node but it should not be a blocker with the current situation (we have enough time during the night) and we can modify the nightly launcher if a new PR if needed.

The PR changes the way of distributing nodes: instead of allocating one label per node as a maximum this PR allocates the label in the node with the minimum number of nightly labels assigned.