Skip to content
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

cmd: exit 1 if cdk, cloudformation or terraform fail #64

Merged
merged 1 commit into from
May 8, 2024

Conversation

dschofie
Copy link
Member

@dschofie dschofie commented May 8, 2024

If the diff or deploy fail then we want to ensure that telophase exits with a non-zero status code.

This makes it easier to use in a script with set -e to show up as red when telophasecli is used in CI

@dschofie dschofie force-pushed the dschofie/exit_1 branch from e57f40b to 8e133b3 Compare May 8, 2024 18:58
If the diff or deploy fail then we want to ensure that telophase exits
with a non-zero status code.

This makes it easier to use in a script with set -e to show up as red
when telophasecli is used in CI
@dschofie dschofie force-pushed the dschofie/exit_1 branch from 8e133b3 to 27302f8 Compare May 8, 2024 19:17
@dschofie dschofie merged commit 87bc331 into main May 8, 2024
2 checks passed
@dschofie dschofie deleted the dschofie/exit_1 branch May 8, 2024 19:24
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.

1 participant