Skip to content

Commit fb31352

Browse files
author
AWS
committed
AWS CodePipeline Update: AWS CodePipeline V2 type pipelines now support automatically retrying failed stages and skipping stage for failed entry conditions.
1 parent b8207b4 commit fb31352

File tree

2 files changed

+58
-2
lines changed

2 files changed

+58
-2
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "AWS CodePipeline",
4+
"contributor": "",
5+
"description": "AWS CodePipeline V2 type pipelines now support automatically retrying failed stages and skipping stage for failed entry conditions."
6+
}

services/codepipeline/src/main/resources/codegen-resources/service-2.json

Lines changed: 52 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2301,6 +2301,10 @@
23012301
"shape":"Result",
23022302
"documentation":"<p>The specified result for when the failure conditions are met, such as rolling back the stage.</p>"
23032303
},
2304+
"retryConfiguration":{
2305+
"shape":"RetryConfiguration",
2306+
"documentation":"<p>The retry configuration specifies automatic retry for a failed stage, along with the configured retry mode.</p>"
2307+
},
23042308
"conditions":{
23052309
"shape":"ConditionList",
23062310
"documentation":"<p>The conditions that are configured as failure conditions.</p>"
@@ -4192,9 +4196,25 @@
41924196
"type":"string",
41934197
"enum":[
41944198
"ROLLBACK",
4195-
"FAIL"
4199+
"FAIL",
4200+
"RETRY",
4201+
"SKIP"
41964202
]
41974203
},
4204+
"RetryAttempt":{
4205+
"type":"integer",
4206+
"min":1
4207+
},
4208+
"RetryConfiguration":{
4209+
"type":"structure",
4210+
"members":{
4211+
"retryMode":{
4212+
"shape":"StageRetryMode",
4213+
"documentation":"<p>The method that you want to configure for automatic stage retry on stage failure. You can specify to retry only failed action in the stage or all actions in the stage.</p>"
4214+
}
4215+
},
4216+
"documentation":"<p>The retry configuration specifies automatic retry for a failed stage, along with the configured retry mode.</p>"
4217+
},
41984218
"RetryStageExecutionInput":{
41994219
"type":"structure",
42004220
"required":[
@@ -4233,6 +4253,31 @@
42334253
},
42344254
"documentation":"<p>Represents the output of a <code>RetryStageExecution</code> action.</p>"
42354255
},
4256+
"RetryStageMetadata":{
4257+
"type":"structure",
4258+
"members":{
4259+
"autoStageRetryAttempt":{
4260+
"shape":"RetryAttempt",
4261+
"documentation":"<p>The number of attempts for a specific stage with automatic retry on stage failure. One attempt is allowed for automatic stage retry on failure.</p>"
4262+
},
4263+
"manualStageRetryAttempt":{
4264+
"shape":"RetryAttempt",
4265+
"documentation":"<p>The number of attempts for a specific stage where manual retries have been made upon stage failure.</p>"
4266+
},
4267+
"latestRetryTrigger":{
4268+
"shape":"RetryTrigger",
4269+
"documentation":"<p>The latest trigger for a specific stage where manual or automatic retries have been made upon stage failure.</p>"
4270+
}
4271+
},
4272+
"documentation":"<p>The details of a specific automatic retry on stage failure, including the attempt number and trigger.</p>"
4273+
},
4274+
"RetryTrigger":{
4275+
"type":"string",
4276+
"enum":[
4277+
"AutomatedStageRetry",
4278+
"ManualStageRetry"
4279+
]
4280+
},
42364281
"Revision":{
42374282
"type":"string",
42384283
"max":1500,
@@ -4972,7 +5017,8 @@
49725017
"Failed",
49735018
"Stopped",
49745019
"Stopping",
4975-
"Succeeded"
5020+
"Succeeded",
5021+
"Skipped"
49765022
]
49775023
},
49785024
"StageName":{
@@ -5037,6 +5083,10 @@
50375083
"onFailureConditionState":{
50385084
"shape":"StageConditionState",
50395085
"documentation":"<p>The state of the failure conditions for a stage.</p>"
5086+
},
5087+
"retryStageMetadata":{
5088+
"shape":"RetryStageMetadata",
5089+
"documentation":"<p>he details of a specific automatic retry on stage failure, including the attempt number and trigger.</p>"
50405090
}
50415091
},
50425092
"documentation":"<p>Represents information about the state of the stage.</p>"

0 commit comments

Comments
 (0)