lp:~frankban/juju-quickstart/distro-only-flag
- Get this branch:
- bzr branch lp:~frankban/juju-quickstart/distro-only-flag
Branch merges
- Juju GUI Hackers: Pending requested
-
Diff: 172 lines (+66/-12)4 files modifiedquickstart/__init__.py (+1/-1)
quickstart/app.py (+13/-7)
quickstart/manage.py (+5/-1)
quickstart/tests/test_app.py (+47/-3)
Branch information
Recent revisions
- 60. By Brad Crittenden
-
Update README with support notes.
Included discussion of supported Ubuntu releases and installation
instructions.R=frankban
CC=
https://codereview. appspot. com/78830044 - 59. By Francesco Banconi
-
Improve bundle URLs support.
Add support for promulgated bundle short names.
Add support for jujucharms bundle URLs.
Improve help messages.Tests: `make check`.
QA:
Run `.venv/bin/python juju-quickstart -h`
and please check the spelling of the whole
help message. Also ensure it is nicely
printed on a small terminal (e.g. 80x24).Now let's check bundle errors: all the commands
below should return a pertinent error message:.venv/bin/python juju-quickstart bundle:
.venv/bin/python juju-quickstart https://jujucharms. com/bundle/ mediawiki/ single/ wtf
.venv/bin/python juju-quickstart https://jujucharms. com/bundle/ mediawiki/ double
.venv/bin/python juju-quickstart https://jujucharms. com/charms/ mediawiki/ single
.venv/bin/python juju-quickstart bundle:mediawiki/ 42/single
.venv/bin/python juju-quickstart bundle:~frankban/ mediawiki/ single Deploy bundles, destroy the environment after each command.
Deploy the promulgated mediawiki single bundle:
.venv/bin/python juju-quickstart bundle:~charmers/ mediawiki/ 6/single Deploy the mediawiki scalable bundle:
.venv/bin/python juju-quickstart bundle:mediawiki/ scalable Deploy a bundle using its jujucharms URLs:
.venv/bin/python juju-quickstart https://jujucharms. com/bundle/ ~bac/charmworld -demo/charmworl d-minimal/ Deploy a bundle using direct HTTPS:
.venv/bin/python juju-quickstart https://raw.github. com/castrojo/ mongodb- bundle/ master/ bundles. yaml R=rharding, bac
CC=
https://codereview. appspot. com/75830045 - 57. By Francesco Banconi
-
Update requirements.
Make quickstart use the newer python-jujuclient
included in trusty.R=rharding
CC=
https://codereview. appspot. com/74610043 - 56. By Francesco Banconi
-
Improve version handling.
Modify the app.ensure_
dependencies function
so that it returns the Juju version tuple.
This way we allow for reusing the version
through the app and we can avoid calling
"juju version" multiple times.Support local environments by installing
the juju-local meta-package in place of
specific packages (e.g. lxc, mongo).
This way we don't have to update quickstart
if core devs introduce new local env
dependencies.Fix the destroy-environment message displayed
at the end of the process. The -e flag is
included when an old Juju is used.Tests: `make check`.
QA: no strictly required.
Use .venv/bin/python juju-quickstart, check everything
works well, check the destroy-environment message
at the end of the process.R=rharding, matthew.scott
CC=
https://codereview. appspot. com/74010044 - 55. By Francesco Banconi
-
SSH code reorganization.
This branch introduces a new ssh module
containing SSH handling related code.The SSH functions previously in app are now
library functions in the ssh module.ensure_ssh_keys is now the only app entry point
for the whole SSH keys management logic.For the reasons above this branch mostly includes
code movements + some docstring/comments changes +
some exception handling changes.R=jeff.pihach, bac
CC=
https://codereview. appspot. com/72520044 - 54. By Francesco Banconi
-
Minor changes in preparation for release.
Bump version up to 1.1.0.
Re-organize the "requires sudo" code.
Restore 100% unit test coverage (compulsive mode on).
Update license headers of modified files.Tests: `make check`
QA: use quickstart as usual, bootstrapping
both ec2 and local environments.R=rharding
CC=
https://codereview. appspot. com/65970043
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:juju-quickstart