Skip to content

Deployment succeeds when migration fails #477

@aagjalpankaj

Description

@aagjalpankaj

Steps To Reproduce

  1. Set AUTORUN_ENABLED="true".
  2. Write a Laravel migration that can fail.
  3. Deploy the application. The migration will fail, but the deployment will succeed.

In such case, code changes will be deployed, but schema changes will not, which may break the application state.

Outcome

What did you expect?

Deployment should be rollbacked or should not succeed when migration fails

What happened instead?

Code changes deployed / Deployment succeeded

Affected Docker Images

I guess most of the images if people are using it for Laravel application with AUTORUN_ENABLED="true" option.

Anything else?

No response

Metadata

Metadata

Assignees

Labels

🧐 Bug: Needs ConfirmationSomething isn't working, but needs to be confirmed by a team member.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions