az *
a number of times I have been burnt with moving commands from locally executed to being run headlessly in octopus et al and finding that due to missing environment variables or missing substituted values the command is expecting/missing parameters and sits waiting for user input.
In octopus as this is a blocking event you don't get any detail that it is waiting as the stdout is not flushed - it just hangs. it isn't until you run in octopus or in another way do you realise it is missing a parameter.
"--no-prompt" helps - but not all commands support it and it gets added reactively i.e. after we have had an issue and lost time.
Describe the solution you'd like
If --no-prompt was global, and ideally set-able an an environment level we could set it one or just as a defacto extra command we use when running in pipelines.
This would enable immediate failure if parameters are missing rather than hanging.
Thanks
az *
a number of times I have been burnt with moving commands from locally executed to being run headlessly in octopus et al and finding that due to missing environment variables or missing substituted values the command is expecting/missing parameters and sits waiting for user input.
In octopus as this is a blocking event you don't get any detail that it is waiting as the stdout is not flushed - it just hangs. it isn't until you run in octopus or in another way do you realise it is missing a parameter.
"--no-prompt" helps - but not all commands support it and it gets added reactively i.e. after we have had an issue and lost time.
Describe the solution you'd like
If --no-prompt was global, and ideally set-able an an environment level we could set it one or just as a defacto extra command we use when running in pipelines.
This would enable immediate failure if parameters are missing rather than hanging.
Thanks