uselagoon / remote-controller

A group of controllers for handling Lagoon builds and tasks in Kubernetes or Openshift
5 stars 1 forks source link

Add build prioritisation #64

Closed shreddedbacon closed 3 years ago

shreddedbacon commented 3 years ago

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.