Multiple Gitlab pipelines per commit #8759
Replies: 1 comment 6 replies
-
A possible solution would be to not use the commit status at all: the check is already done in the renovate runner, so if it is converted into a checkbox in the MR description (which can be positioned under the "automerge" imo) it would be very nice. That way, a developer can easily choose to skip the The state of the checkbox can then be used to determine whether or not the MR is automerge ready. I do believe this might be an excellent feature for every platform. |
Beta Was this translation helpful? Give feedback.
-
So, I'm basically experiencing what is described in #5743: I get two pipelines for every commit in Gitlab when using the
stabilityDays
functionality.This actually already caused an MR to be merged while the pipeline wasn't completed yet. Note that this happened after an automatic rebase to make the change directly mergable.
As, as you can see, the renovate pipeline was considered to be enough.
This means that even when my own pipeline fails, renovate will still be able to merge due to the simple stability check being green.
When looking at the API documentation of Gitlab and testing it myself on a test branch with MR and pipeline, it seems to work as you would expect: the status is added to the existing pipeline for the commit sha.
That leads me to think that this is just a simple race condition, and that just waiting a bit for the pipeline creation would already solve this. Any opinions?
Beta Was this translation helpful? Give feedback.
All reactions