-
Notifications
You must be signed in to change notification settings - Fork 98
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 setting to throw exception in non-interactive mode if some params are missing #64
base: master
Are you sure you want to change the base?
Conversation
@stof any chance that this PR would be reviewed? |
9122b11
to
d662982
Compare
* exception-if-missing: add setting to throw exception in non-interactive mode if some params are missing
+1 for such a functionality |
@ZeeCoder since @stof didn't give any feedback to this PR i use exception-if-missing branch in my fork of the official repository without any issues for almost a year.. :) |
+1 , but:
Manage fine without this making sure params have sensible defaults. |
+1 Merging this PR would solve a lot of issues we have with our continuous integration. |
👍 |
@stof Can we help you reviewing this PR? It'd be indeed really helpful. Thanks. |
debbb26
to
d662982
Compare
This PR covers #63 and provides new
exception-if-missing
configuration option.By default the behavior of script handler is the same as current. But when
exception-if-missing
option is set totrue
ParameterHandler will throw an exception when some parameters are missing. This is very useful during build/deploy process (executed for example on build/ci servers) when it is needed only to validateparameters.yml
file before installing the application and abort the process when something went wrong, but not to change it's original content in any way.This behavior affects only non-interactive mode.