Skip to content

Check for already successful pipeline in AutoMergeService

Reuben Pereira requested to merge rp/gitaly-check-success-pipeline into master

What does this MR do and why?

Describe in detail what your merge request does and why.

Content

  • Check for already successful pipeline in AutoMergeService

If a pipeline has already completed successfully in the last 8 hours, the MR can be merged.

This should take care of Gitaly MRs that don't get set to MWPS due to an ongoing pipeline. Since the components:update_gitaly scheduled job runs every hour, MWPS should be set once the CI pipeline passes.

gitaly#6143

Author Check-list

  • Has documentation been updated?

Merge request reports