This adds build prioritisation to the controller.
It is enabled with a feature flag, and has some basic configuration to restrict the number of running builds.
Additional changes to both standard build functionality, and build prioritisation is that all pending builds started before the latest build will be cancelled.
This is to replicate the same functionality that Openshift Builds had, instead of building all pending builds.
This adds build prioritisation to the controller. It is enabled with a feature flag, and has some basic configuration to restrict the number of running builds.
Additional changes to both standard build functionality, and build prioritisation is that all pending builds started before the latest build will be cancelled. This is to replicate the same functionality that Openshift
Builds
had, instead of building all pending builds.