What's new at AWS 📢
🔰 #AWSCodePipeline V2 type pipelines supports to automatically retry a stage if there is a failure in the stage.
🔰 To leverage automatic retry, set “Retry” as the result for the on failure lifecycle event of a stage
🔰 Optionally you can also configure the flag to retry the stage from the first action or from the failed actions.
🔰 When a pipeline execution fails any action in the stage, then the pipeline execution will be retried in the stage once.
⭕ Three core constructs of CodePipeline:
1️⃣ Pipelines: –
✔️ It is a workflow that constructs how application/service changes go through a release process
✔️ Each pipeline is a series of stages.
2️⃣ Stages: –
✔️ It is a logical unit, used to isolate and to limit the number of concurrent changes in that environment.
✔️ Each stage contains actions
3️⃣ Actions: –
✔️ It is a set of operations performed on application code
✔️ It is configured, that the actions run in the pipeline at a specified point.
⭕ Important key note:
✔️ Retrying a failed stage retries all actions in the stage from the first action in the stage
✔️ Retrying failed actions, only retries all failed actions in the stage.
⭕ Key benefits:
✔️ Useful at stage with actions that can experience transient errors.
✔️ It helps to retry at failed stage, instead of pipeline execution failed.
📌 Explore more about automatically retrying a stage:
https://docs.aws.amazon.com/codepipeline/latest/userguide/stage-retry.html#stage-retry-auto
Top comments (0)