lp://staging/~frankban/charms/trusty/juju-gui/new-deployer-auth
- Get this branch:
- bzr branch lp://staging/~frankban/charms/trusty/juju-gui/new-deployer-auth
Branch merges
- Juju GUI Hackers: Pending requested
-
Diff: 327 lines (+59/-35)10 files modifiedMakefile (+1/-1)
config.yaml (+6/-0)
config/config.js.template (+3/-1)
hooks/backend.py (+3/-2)
hooks/utils.py (+2/-1)
server-requirements.pip (+5/-1)
server/guiserver/bundles/base.py (+4/-2)
server/guiserver/tests/bundles/test_base.py (+4/-4)
tests/test_backends.py (+4/-3)
tests/test_utils.py (+27/-20)
Branch information
- Owner:
- Francesco Banconi
- Status:
- Development
Recent revisions
- 223. By Francesco Banconi
-
Add the Juju version to the GUI config file.
The version can be specified using a charm option.
If not specified, the Juju version is retrieved
dynamically by calling jujud --version.Initial implementation by Huw.
Tests: `make unittest`.
QA:
- bootstrap an environment;
- run `make deploy`;
- wait for the unit to be ready;
- run `juju ssh juju-gui/0 cat /var/lib/juju-gui/ juju-gui/ build-prod/ juju-ui/ assets/ config. js`
and check the Juju version is included in the config file;
- run `juju set juju-gui juju-core-version= 42.47`;
- check the version is changed to the one specified;
- run `juju unset juju-gui juju-core-version`;
- check the correct version is back in the config file;
- destroy the environment.Done, thank you!
R=rharding
CC=
https://codereview. appspot. com/188890043
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp://staging/charms/juju-gui