DescriptionBootstrap the Juju environment.
Wait until the API server is ready.
Retrieve the API address.
Also added --debug support (logging).
Tests: `make check`.
QA: assuming you have a local provider env
named 'local' and an ec2 one named 'ec2'
- run `.venv/bin/python juju-quickstart -e local`
-> error: the local provider is not currently supported;
- run `.venv/bin/python juju-quickstart -e no-such-env`
-> error: environment no-such-env not found in ...;
- run `juju switch ec2`;
- run `.venv/bin/python juju-quickstart --debug`
-> the debug messages are shown, the env is bootstrapped,
the API URL is printed at the end of the process.
- run `.venv/bin/python juju-quickstart`
-? like above but this time no debug messages are shown.
https://code.launchpad.net/~frankban/juju-gui/quickstart-real-bootstrap/+merge/191410
(do not edit description out of merge proposal)
Patch Set 1 #
Total comments: 2
Patch Set 2 : Bootstrap the Juju environment. #
Total comments: 4
Patch Set 3 : Bootstrap the Juju environment. #
MessagesTotal messages: 7
|