canonical / juju-verify

https://launchpad.net/juju-verify
GNU General Public License v3.0
2 stars 7 forks source link

Juju verify is ignoring environment variables #145

Open err404r opened 2 years ago

err404r commented 2 years ago

On the production environments model and controller often set by environment variables. And from the tests it looks like JUJU_CONTROLLER and JUJU_MODEL environment variables are ignored.

rgildein commented 2 years ago

Hi, are you using CLI version or in custom script? You can use --model to configure which model you want to run verifiers on. I think it's good idea to use JUJU_MODEL environment variable if --model was not provided. Also adding --controller option along with JUJU_CONTROLLER env variable is good idea. Thanks for your feedback.

err404r commented 2 years ago

Hi, we are on the lates/stable channel so version is 1.1 and --controller option is not supported.