-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
nomad run
should return non-zero exit code in case of any errors
#11082
Comments
I'm new to nomad but have experience with Go and k8s. Can I work on this? |
Hey @goku321, please feel free to take this one. We would love to see a community PR for this! Because this changes the external interface for the command, I think we might wait to implement this until a major release, but I think this is a good idea. Good luck! |
Thank you, @mikenomitch |
Fixed in #11550 and will ship in the next planned patch release. |
I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues. |
Proposal
Return non-zero exit code in case of any errors during deploying an app.
Use-cases
We switched to
nomad run
fromlevant deploy
in our CI scripts, but we noticed, thatnomad run
can return code 0 even when a deployment is failed:Attempted Solutions
Return non-zero code in case of any failures :)
The text was updated successfully, but these errors were encountered: