feat: Fargate, ECS, ALB,Codebuild, CodePipeline
This commit is contained in:
@@ -109,8 +109,8 @@ For `computePlatform: ECS`, `CreateDeployment` performs a full blue/green traffi
|
||||
3. Runs lifecycle hook Lambdas in order: `BeforeInstall` → (install) → `AfterInstall` → `BeforeAllowTraffic` → (traffic shift) → `AfterAllowTraffic`
|
||||
4. **Traffic shift** — atomically updates the ELB v2 listener's default forward rule:
|
||||
- `ECSAllAtOnce`: immediately shifts 100% of traffic to the green target group
|
||||
- `ECSCanary*`: shifts the canary percentage first, waits a short interval (capped at 5 s in emulator), then shifts to 100%
|
||||
- `ECSLinear*`: shifts traffic in equal increments (capped at 2 s per step in emulator)
|
||||
- `ECSCanary*`: shifts the canary percentage first, waits the configured interval, then shifts to 100%
|
||||
- `ECSLinear*`: shifts traffic in equal increments at the configured interval
|
||||
5. Promotes the green task set to **PRIMARY** on the ECS service and deletes the original blue task set
|
||||
6. Marks the deployment `Succeeded`; if any lifecycle hook reports `Failed`, the deployment is marked `Failed`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user