Created by Francesco Banconi on 2013-10-16 and last modified on 2013-10-16
Get this branch:
bzr branch lp:~frankban/juju-gui/quickstart-deploy
Only Francesco Banconi can upload to this branch. If you are Francesco Banconi please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Francesco Banconi

Recent revisions

5. By Francesco Banconi on 2013-10-16

Add the juju Environment object.

4. By Francesco Banconi on 2013-10-16

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

3. By Francesco Banconi on 2013-10-16

Parse and validate the environment file/options.

Check if the given environment name exists,
ensure it does not use the local provider,
ensure it includes an admin-secret,
retrieve the admin-secret.

Tests: make check

R=gary.poster, matthew.scott

2. By Francesco Banconi on 2013-10-15

Juju Quickstart plugin base structure.

Base project structure including command
entry point, distribution files, test runner
and a way to create the development environment.

The diff is long, but it there are header files,
the license information and other boiler plate
code that can be ignored.

Tests: make check.

R=matthew.scott, gary.poster

1. By Francesco Banconi on 2013-10-14

Initial commit.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
This branch contains Public information 
Everyone can see this information.