-
Notifications
You must be signed in to change notification settings - Fork 239
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
Add nonzero exit behavior to hook documentation #2817
Conversation
Thanks very much for your contribution @thejcannon ! My apologies for taking a while to look into this. Just some feedback before merging this in... |
Just to clarify @thejcannon , does:
? Also, from the way this table will be presented (below), I'm not sure why some hooks only have a check mark and the others an 'X' mark? (For instance, why does the Many thanks... |
Sorry @thejcannon for misunderstanding the way the information was presented. I've got this now. |
Hello again @thejcannon , I'm pushed up some clarifications. Please let me know if this is what you intended... and towards the end of the table: |
Also, could you please confirm that it is just the |
Ah I like your edits! I can do the test, or you can |
And I think you have it inverted. The message (from buildkite support staff) indicates the post- steps don't fail job |
Actually, I think documenting the negative has made me misunderstand what was intended, and now the latest version of what I've done (including the info callout at the end of the table) is now incorrect. If |
Hi again @thejcannon , Sorry for taking a while to get back to you on this. I asked about this PR within our support team and they did a little more investigation into this topic and some testing too. Essentially, they mentioned this (paraphrased):
I hope this better explains the behaviour of these job lifecycle hooks, and if OK with yourself, I'll convey this information as part of this PR. If, however, you have any other ideas on how better to convey the information you were intending, then I suggest raising these in another PR. Thanks for your interest in contributing to our docs! |
That sounds great. Take the wheel! 😃 |
Thanks @thejcannon ! I've created the following PR (#2883), which supersedes this one. Therefore, I'll close this PR and add you as a reviewer to the other one. Edit: Hmm, it looks like I'm unable to add you as a reviewer to #2883, but if you're able to, feel free to provide your feedback on it. |
From support Slack channel:
So thought I'd PR putting this in the docs.
I don't like documenting the negative (E.g. check mark implies job fails) so happy to hear alternative ways of succinctly documenting this.