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)