Refactor: move pipeline checking functions from Commits to PassingBuild
What does this MR do and why?
This is a refactoring MR in preparation for gitlab-com/gl-infra/delivery#775 (closed)
Our commit selection logic is quite complex, this merge requests decouple providing a list of commits with a limit SHA from the actual validation of the commit pipelines.
There are no functional changes in this merge request, only moving some of the Commits
functions to PassingBuild
Author Check-list
-
Has documentation been updated?
Edited by Alessio Caiazza (OOO until 2024-08-26)