Skip to content
代码片段 群组 项目
未验证 提交 c1ad37e7 编辑于 作者: Yorick Peterse's avatar Yorick Peterse
浏览文件

Don't create pipelines when preparing RCs

In the days leading up to a monthly release, Release Tools will
automatically create a new release candidate every day. As part of this
process we merge the latest changes deployed to production into the
latest stable branch. Since we use merge requests for this (as our API
does not let you merge a branch directly), this will create a pipeline.
To deal with this we implemented some code to cancel pipelines before
merging these merge requests.

Sadly this proved unreliable, as sometimes pipelines are not yet
available after creating the merge request. If we then try to merge the
merge request this may fail if there are pending pipelines.

In this commit we change the CI config to not create a pipeline in the
first place for these merge requests. This is the easiest and most
reliable way of letting Release Tools merge its own merge requests,
without the need for any logic that waits for and cancels any running
pipelines.

This fixes https://gitlab.com/gitlab-org/release-tools/-/issues/423
上级 ee09ef37
No related branches found
No related tags found
加载中
加载中
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册