I'm using the atlassian/aws-ecs-deploy:1.15.0 pipe in Bitbucket Pipelines to deploy to an ECS service that has the deployment circuit breaker enabled with automatic rollback. I've hit a silent-failure mode and want to confirm whether there's a supported way to make the pipe fail the build when it happens.
Repro:
atlassian/aws-ecs-deploy:1.15.0 with FORCE_NEW_DEPLOYMENT: 'true' and WAIT: 'true'.FAILED and automatically rolls the service back to the previous task definition. The previous tasks come back up healthy.PRIMARY deployment, the wait that the pipe performs returns success.Questions:
aws-ecs-deploy that causes the pipe to fail the step when the new deployment's rolloutState ends in FAILED, or when the circuit breaker rolls back? I don't see one in the current docs.rolloutState at all, or does it rely solely on a services-stable wait plus a running-count check? If the latter, is there a roadmap item to make it circuit-breaker-aware?rolloutState until it reaches COMPLETED or FAILED?rolloutState poll, or is there an Atlassian-maintained alternative I should use instead?