在通过CDK定义代码EPIPELINE时,如何自动防止其第一次运行?
我在 CDK 项目中定义了一些 CodePipelines,但遇到了一个恼人的问题:每当第一次创建管道时,它都会自动开始执行。即使我禁用源的triggerOnPush,此行为仍然存在。
有人知道如何禁用这种行为吗?
我知道有一些解决方法,例如添加“手动批准”步骤或其他步骤,但这不是我想要的。我只想创建管道并将其置于“从未运行”状态。
I am defining some CodePipelines in my CDK project, but am running into an annoying issue: Whenever the pipeline is created for the 1st time, it automatically starts to execute. This behavior persists even if I disable triggerOnPush for the source.
Anyone know how to disable this behavior?
I know there are some workarounds like adding a "manual approve" step or something, but this is not what I want. I just want to create the pipeline and leave it in a "never ran" state.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论