83
|
|
|
Brad Crittenden |
|
10 years ago
|
|
|
82
|
|
|
Francesco Banconi |
|
10 years ago
|
|
|
81
|
|
|
Brad Crittenden |
|
10 years ago
|
|
|
80
|
|
|
Brad Crittenden |
|
10 years ago
|
|
|
79
|
|
|
Brad Crittenden |
1.3.5 |
10 years ago
|
|
|
78
|
|
|
Brad Crittenden |
|
10 years ago
|
|
|
77
|
|
|
Brad Crittenden |
1.3.4 |
10 years ago
|
|
|
76
|
|
|
Brad Crittenden |
|
10 years ago
|
|
|
75
|
|
|
Brad Crittenden |
|
10 years ago
|
|
|
74
|
|
|
Francesco Banconi |
|
10 years ago
|
|
|
73
|
|
|
Francesco Banconi |
|
10 years ago
|
|
|
72
|
|
|
Brad Crittenden |
|
10 years ago
|
|
|
71
|
|
|
Brad Crittenden |
|
10 years ago
|
|
|
70
|
|
|
Brad Crittenden |
|
10 years ago
|
|
|
69
|
|
|
Francesco Banconi |
|
10 years ago
|
|
|
68
|
|
|
Brad Crittenden |
|
10 years ago
|
|
|
67
|
|
|
Francesco Banconi |
|
10 years ago
|
|
|
66
|
|
Support trusty environments.
Add the ability to deploy the trusty charm. Introduced the concept of multiple supported series for the Juju GUI charm.
Split the app.deploy_gui function in two separate function: - check_environment inspects the environment and returns the data required to deploy the GUI; - deploy_gui's only responsibility is to return when the GUI service is deployed/exposed and the unit created.
Include the default-series field in the auto-generated local environment. This is the environment that quickstart offers to automatically create when no other environments are found.
Also propose "trusty" as the default series when manually creating new environments.
Bump version up: while this branch incidentally fixes bug 1306537 [1], the ability to deploy the GUI on trusty can be considered a new feature.
My apologies for the long diff.
Tests: `make check`.
QA: Use quickstart like the following: `.venv/bin/python juju-quickstart [-i]`.
You should be able to deploy the trusty GUI charm.
If you are on trusty, the trusty charm should be deployed when the default-series field is missing. This must be tested also using the local provider, in which case Juju is currently not able to deploy precise charms when the bootstrap node is trusty (bug 1306537).
In general quickstart should deploy the charm series corresponding to the bootstrap node series: so on trusty environments the trusty charm should be installed, on precise environments the precise one.
This way, at least when the bootstrap node series is precise or trusty, quickstart is able to add the GUI unit to machine 0. You can test it using, e.g. an ec2 environment.
This is true also when providing a custom charm URL, e.g.: `.venv/bin/python juju-quickstart --gui-charm-url cs:~juju-gui/trusty/juju-gui-1`
In all the other cases, quickstart uses the trusty charm. You can test this by using quickstart with an ec2 environment having "default-series: saucy": a trusty GUI should be deployed on machine 1.
Two final checks: - try to create a new environment with quickstart: the default-series field should be pre-filled with "trusty"; - move temporarily your environments.yaml somewhere else, and let quickstart auto-generate a local environment for you: the deployment process should succeed and the environment should include the "trusty" default series.
Thanks a lot for all of this, and sorry for the long QA: this is going to be released in trusty, so your efforts are really appreciated!
[1] https://bugs.launchpad.net/juju-core/+bug/1306537
R= CC= https://codereview.appspot.com/90570044
|
Francesco Banconi |
|
10 years ago
|
|
|
65
|
|
|
Brad Crittenden |
|
10 years ago
|
|
|
64
|
|
Add support for the Joyent provider.
Tests: `make check`.
QA: QA is not straightforward for this branch, due to the fact this needs to be tested on a not yet released juju-core. Sorry about that. 1) Check out the 1.18 juju-core branch (lp:juju-core/1.18), and compile it. 2) Edit the quickstart/settings.py file included in this branch: set `JUJU_CMD` to point to the juju 1.18 path. 3) Sign up for a Joyent account from http://www.joyent.com/. 4) Run `.venv/bin/python juju-quickstart -i` and create a new joyent environment: DO NOT bootstrap it from quickstart, just create it and exit (^X). 5) Use juju 1.18 to bootstrap the joyent account, e.g. `juju bootstrap -e joyent --upload-tools`. This is required because quickstart does not support uploading tools. 6) After a minute, and while the environment is bootstrapping, open another terminal and re-run quickstart, select the joyent account you created and hit "use" (or just invoke quickstart with `-e joyent`). 7) Ensure everything proceeds as expected, and wait until the quickstart opens the GUI. Done, destroy the environment, thank you!
R=bac CC= https://codereview.appspot.com/83880044
|
Francesco Banconi |
|
10 years ago
|
|
|