lp:~frankban/juju-gui/quickstart-deploy

Created by Francesco Banconi and last modified
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

Owner:
Francesco Banconi
Project:
juju-gui
Status:
Development

Recent revisions

5. By Francesco Banconi

Add the juju Environment object.

4. By Francesco Banconi

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

3. By Francesco Banconi

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
CC=
https://codereview.appspot.com/14669047

2. By Francesco Banconi

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
CC=
https://codereview.appspot.com/14670043

1. By Francesco Banconi

Initial commit.

Branch metadata

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