gpt4 book ai didi

GitLab:在线 rebase 后如何跳过或允许管道步骤

转载 作者:行者123 更新时间:2023-12-05 02:50:26 31 4
gpt4 key购买 nike

在 gitlab.com 上审查 merge 请求时,有时我必须在完成 merge 之前进行 rebase。

enter image description here

在 gitlab 上按“Rebase”后,我有一个特定的管道步骤失败,因为它无法验证用户的 gpg: 签名。

在线 rebase 更改时如何跳过(或允许)此步骤?此在线流程是否有 GiLab 用户 ID?

最佳答案

From Gitlab UI you can not.

实际上,来自GitLab 15.3 (2022 年 8 月),您可以:

Rebase a merge request from the UI without triggering a pipeline

In large and busy monorepos with semi-linear branching, you might need to rebase your merge requests frequently. To save resources, you might not want to run a pipeline each time you rebase. You could skip the pipeline while rebasing with the API, or by using Git push options or [ci skip] in a commit message, but not when rebasing from the UI in a merge request.

Now we have an option to skip the pipeline when rebasing from the UI, so you have better control over when a pipeline runs for your merge requests. Thanks to Kev for the contribution!

See Documentation and Issue.

要在不触发 CI/CD 管道的情况下对 merge 请求的分支进行 rebase ,请从 merge 请求报告部分选择Rebase without pipeline
当无法进行快进 merge 但可以进行无冲突 rebase 时,此选项可用。

Rebasing without a CI/CD pipeline saves resources in projects with a semi-linear workflow that requires frequent rebase

关于GitLab:在线 rebase 后如何跳过或允许管道步骤,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63683216/

31 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com