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

Set postsync and cleanup error #2009

Merged
merged 1 commit into from
Jan 10, 2022
Merged

Conversation

libsamek
Copy link
Contributor

@libsamek libsamek commented Nov 25, 2021

This fixes #1272.

Our use-case for this is: If postsync or cleanup script fails, this means that a deploy should be marked as failed. Without this fix, this is impossible to detect unless you go and review logs.

Please review and comment on this behaviour change.

@libsamek libsamek marked this pull request as ready for review November 26, 2021 19:02
Copy link
Collaborator

@mumoshu mumoshu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I consider this as a bug fix, not a breaking change, as without this you have no way(or it's unnecessarily hard) to detect if a cleanup or a postsync has failed or not.

LGTM. Thanks for your contribution @libsamek ☺️

@mumoshu mumoshu merged commit 16f1961 into roboll:master Jan 10, 2022
w33dw0r7d pushed a commit to w33dw0r7d/helmfile that referenced this pull request Mar 8, 2022
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.

postsync/cleanup hooks errors are ignored
2 participants