Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support GitLab "merge trains" #5573

Open
rarkins opened this issue Feb 25, 2020 · 10 comments
Open

Support GitLab "merge trains" #5573

rarkins opened this issue Feb 25, 2020 · 10 comments
Labels
platform:gitlab GitLab Platform priority-4-low Low priority, unlikely to be done unless it becomes important to more people type:feature Feature (new functionality)

Comments

@rarkins
Copy link
Collaborator

rarkins commented Feb 25, 2020

What would you like Renovate to be able to do?

Support GitLab's "merge train" concept for dependencies, if it's feasible.

Describe the solution you'd like

Ideally Renovate MRs could be layered on top of each other to reduce the amount of rebasing required after each merge.

Describe alternatives you've considered

Today, rebasing can be an O(n) task.

Additional context

https://docs.gitlab.com/ee/ci/merge_request_pipelines/pipelines_for_merged_results/merge_trains/
https://about.gitlab.com/blog/2020/01/30/all-aboard-merge-trains/

@rarkins rarkins added type:feature Feature (new functionality) needs-requirements priority-4-low Low priority, unlikely to be done unless it becomes important to more people platform:gitlab GitLab Platform labels Feb 25, 2020
@rarkins
Copy link
Collaborator Author

rarkins commented Feb 25, 2020

@leipert do you have any experience using merge trains to judge if this is feasible or not?

@rarkins rarkins added the status:requirements Full requirements are not yet known, so implementation should not be started label Jan 12, 2021
@secustor
Copy link
Collaborator

secustor commented Apr 5, 2021

@secustor secustor added status:blocked Issue is blocked by another issue or external requirement and removed status:requirements Full requirements are not yet known, so implementation should not be started labels Oct 7, 2021
@jeengbe

This comment has been minimized.

@secustor
Copy link
Collaborator

secustor commented Mar 31, 2024

Looks like even while the issue above is still unresolved, there is now a new endpoint which allows to add merge requests to merge trains.
https://docs.gitlab.com/ee/api/merge_trains/#add-a-merge-request-to-a-merge-train

@secustor secustor removed the status:blocked Issue is blocked by another issue or external requirement label Mar 31, 2024
@mschoettle
Copy link
Contributor

It is now possible to add MRs to a merge train without rebasing first. We have been using this for a few months since it became available for fast forward merges.

Or is this issue about Renovate's auto merge feature?

@secustor
Copy link
Collaborator

secustor commented May 16, 2024

This feature is about using platformAutomerge with merge trains

@Preisschild

This comment was marked as off-topic.

@secustor

This comment was marked as off-topic.

@bb4L

This comment was marked as spam.

@secustor
Copy link
Collaborator

See the Code of Conduct, updates would have been shared here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform:gitlab GitLab Platform priority-4-low Low priority, unlikely to be done unless it becomes important to more people type:feature Feature (new functionality)
Projects
None yet
Development

No branches or pull requests

6 participants