DescriptionHandle Juju GUI server port.
The Juju GUI charm can be configured to listen
to customized ports (juju set juju-gui port=n).
This branch adds to quickstart the ability to
detect the port used by the GUI server, and
therefore connect to the right WebSocket and
Web URLs. Additionally handle the cases in which
the GUI is run in non secure mode.
Also add an option to deploy the GUI on a
customized port directly using quickstart.
Also add an hidden options (--gui-source)
intended for development use only. This allows
for building a specific GUI github branch
(e.g. frankban/my-feature-branch or juju/develop)
when installing the Juju GUI, and can be useful
while coding/QAing GUI branches.
Tests: `make check`.
QA:
- use the GUI as usual, to check for regressions:
`devenv/bin/juju-quickstart`;
- change the juju-gui port and secure mode:
`juju set juju-gui port=4242 secure=false`
- wait for the changes to take effect;
- use quickstart again to check that insecure mode
and customized ports are detected:
`devenv/bin/juju-quickstart`;
- destroy the environment;
- use quickstart again to server the GUI develop
branch on a customized port:
`devenv/bin/juju-quickstart --gui-port 8000 --gui-source juju/develop`;
- check that everything works correctly;
- destroy the environment;
- done, thank you!
https://code.launchpad.net/~frankban/juju-quickstart/handle-gui-ports/+merge/260032
(do not edit description out of merge proposal)
Patch Set 1 #
Total comments: 1
Patch Set 2 : Handle Juju GUI server port. #Patch Set 3 : Handle Juju GUI server port. #
MessagesTotal messages: 4
|