Skip to content

Stop the cli when CD task fails during deployment #701

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Sep 27, 2024
Merged

Conversation

edwardrf
Copy link
Contributor

Fixes https://github.com/DefangLabs/defang-mvp/issues/747

Could not setup event bridge rule as cd task is running in a per account shared cluster. Ref #698
Fixes nil pointer issue during tail in #692

Sample Error message when CD task fails:

2024-09-26T13:56:36.040000-07:00 cd pulumi  ** error: the stack is currently locked by 1 lock(s). Either wait for the other process(es) to end or delete the lock file with `pulumi cancel`.
 - Tail failed with EssentialContainerExited: Essential container in task exited with code 255
Error: EssentialContainerExited: Essential container in task exited with code 255

2024-09-26T13:50:54.249000-07:00 cd pulumi     pulumi:pulumi:Stack dayifunet-beta running error: update canceled
2024-09-26T13:52:34.262000-07:00 cd pulumi Timeout waiting for children to exit, exiting
 - Tail failed with UserInitiated: Task stopped by user
Error: UserInitiated: Task stopped by user

@edwardrf edwardrf requested a review from lionello September 26, 2024 21:20
@lionello lionello merged commit c6ce5a1 into main Sep 27, 2024
11 checks passed
@lionello lionello deleted the edw-byoc-cd-fail branch September 27, 2024 00:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants