ros-infrastructure / ros_buildfarm

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

Add 'list_priorities.py' helper script #975

Closed cottsay closed 1 year ago

cottsay commented 2 years ago

This is a port of the 'list_priorities.py' helper script which has been living in the ros_buildfarm_config repository for some time now.

When combined with #974, this is the difference between the output of this script and the original list_priorities.py:

@@ -96,7 +96,6 @@
 77
   jenkins_source_job_priority::foxy/release-build.yaml
   jenkins_source_job_priority::foxy/release-focal-arm64-build.yaml
-  jenkins_source_job_priority::foxy/release-focal-armhf-build.yaml
 80
   jenkins_binary_job_priority::rolling/release-build.yaml
   jenkins_binary_job_priority::rolling/release-rhel-build.yaml
@@ -115,5 +114,3 @@
 89
   jenkins_job_priority::humble/doc-build.yaml
   jenkins_job_priority::rolling/doc-build.yaml
-97
-  jenkins_binary_job_priority::foxy/release-focal-armhf-build.yaml

The changes stem from the fact that foxy/release-focal-armhf-build.yaml still exists but is commented out in the index.yaml. Other than that, this script should perfectly reproduce the desired behavior of `list_priorities.py'.

cottsay commented 1 year ago

I think we've landed in a better place.

Totally agree.