Skip to content

[BUG] ecs-compose-x does not exit with error status on UPDATE_ROLLBACK_FAILED statusΒ #790

@rmoesbergen

Description

@rmoesbergen

Describe the bug
When a deployment fails because the stack is in status UPDATE_ROLLBACK_FAILED or UPDATE_ROLLBACK_IN_PROGRESS, the cli does not return an error code. In a CI job this means the job will succeed, but the actual deployment failed.

To Reproduce
Steps to reproduce the behavior:

  1. Deploy an app with a failing health-check using the CLI tool

Expected behavior
I expect the cli to exit with an error status code when the deployment fails.

Logs
2025-02-26 08:53:14 [ INFO] iam.yaml uploaded successfully to https://s3.amazonaws.com/ecs-composex-...
2025-02-26 08:53:22 [ INFO] UPDATE_ROLLBACK_FAILED

^- here the process exists with status 0

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions