ros-infrastructure / ros_buildfarm

ROS buildfarm based on Docker
Apache License 2.0
81 stars 96 forks source link

Add in the capability for a sync package percent. #896

Closed clalancette closed 2 years ago

clalancette commented 3 years ago

That is, a sync will only happen if the percentage of binary packages in a release is over a certain threshold.

If both 'package_percent' and 'package_count' are specified for a given release, the 'package_count' is ignored and the 'package_percent' is used instead.

Signed-off-by: Chris Lalancette clalancette@openrobotics.org

Note that I haven't actually tested this on any buildfarm yet. If we want to go forward with this, I can try to give it a whirl on the test buildfarm.

clalancette commented 2 years ago

I've now rebased and implemented what we agreed to in https://github.com/ros-infrastructure/ros_buildfarm/pull/896#discussion_r699479287 . In the interest of full disclosure, I did not actually deploy or test this on the test buildfarm; I'm running out of time to do that today, so that will have to wait for another day.