Working with manual approvals for multiple builds in AWS CodePipeline

前端 未结 5 1812
借酒劲吻你
借酒劲吻你 2021-02-14 23:35

We have a CodePipeline set up to do a build, deploy to a QA ECS environment, then a manual approval step to deploy to Prod.

What gets confusing though, is when there are

5条回答
  •  夕颜
    夕颜 (楼主)
    2021-02-15 00:04

    One option if you don't want to have multiple pipelines is to by default disable stage transitions into your environments that required controlled releases.

    When you are ready to deploy into an environment, you enable the stage transition to allow the most recent release from the previous stage to be processed and then disable the transitions again.

    It's still a bit clunky, but reasonably effective once you get used to it. Having to reject each change that comes through becomes very slow and cumbersome to manage, so by disabling transitions you choose when to promote a release.

    IMO, CodePipeline should have an option to automatically supersede executions if they are paused at the manual approval stage.

提交回复
热议问题