Working with manual approvals for multiple builds in AWS CodePipeline

前端 未结 5 1089
灰色年华
灰色年华 2021-02-14 23:18

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:15

    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.

提交回复
热议问题