Working with manual approvals for multiple builds in AWS CodePipeline

前端 未结 5 1086
灰色年华
灰色年华 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:10

    You should place the deploy and approval action in the same stage. This lets you approve exactly what you tested. Why? Because exactly one pipeline execution can be in a pipeline stage at any given time.

    ...approve the latest build, in case the earlier builds had issues that were fixed by the later builds.

    If you want to let later builds catch up, reject the earlier build that is waiting for approval.

提交回复
热议问题