~frankban/juju-quickstart/trunk

  • Committer: Francesco Banconi
  • Date: 2013-10-16 16:06:14 UTC
  • mfrom: (2.2.8 quickstart-real-bootstrap)
  • Revision ID: francesco.banconi@canonical.com-20131016160614-hfgtmbmkhpa8vsop
Bootstrap 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.

R=bac, gary.poster
CC=
https://codereview.appspot.com/14441074
Filename Latest Rev Last Changed Committer Comment Size
..
quickstart 1.1.1 10 years ago Francesco Banconi Base structure for the application. Diff
.bzrignore 1.1.9 10 years ago Francesco Banconi Checkpoint. 74 bytes Diff Download File
.lbox 1.1.4 10 years ago Francesco Banconi Add the lbox files. 45 bytes Diff Download File
File .lbox.check 1.1.4 10 years ago Francesco Banconi Add the lbox files. 22 bytes Diff Download File
COPYING 1.1.1 10 years ago Francesco Banconi Base structure for the application. 33.7 KB Diff Download File
HACKING.rst 1.1.6 10 years ago Francesco Banconi Remove tornado. 2.1 KB Diff Download File
File juju-quickstart 2.1.2 10 years ago Francesco Banconi Checkpoint. 1 KB Diff Download File
Makefile 2.1.7 10 years ago Francesco Banconi Changes as per review. 2.6 KB Diff Download File
README.rst 1.1.6 10 years ago Francesco Banconi Remove tornado. 369 bytes Diff Download File
setup.py 1.1.8 10 years ago Francesco Banconi Use setuptools. 2.3 KB Diff Download File
test-requirements.pip 1.1.6 10 years ago Francesco Banconi Remove tornado. 932 bytes Diff Download File