Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(152)

Issue 15020043: Wait for the GUI to be ready and started.

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 7 months ago by frankban
Modified:
10 years, 7 months ago
Reviewers:
mp+191801, gary.poster
Visibility:
Public.

Description

Wait for the GUI to be ready and started. Watch unit changes, open the browser at the end of the process. Tests: run `make check`. QA assuming you have an ec2 Juju env named 'ec2': - run `.venv/bin/python juju-quickstart -e ec2`. The environment is bootstrapped, the GUI deployed, relevant events on the GUI unit notified. Your default browser shows the GUI when done. https://code.launchpad.net/~frankban/juju-quickstart/quickstart-watch/+merge/191801 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 6

Patch Set 2 : Wait for the GUI to be ready and started. #

Patch Set 3 : Wait for the GUI to be ready and started. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+300 lines, -8 lines) Patch
[revision details] View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
quickstart/__init__.py View 1 chunk +1 line, -1 line 0 comments Download
quickstart/app.py View 1 2 chunks +55 lines, -1 line 0 comments Download
quickstart/manage.py View 1 2 2 chunks +10 lines, -1 line 0 comments Download
quickstart/tests/test_app.py View 1 3 chunks +169 lines, -3 lines 0 comments Download
quickstart/tests/test_utils.py View 1 chunk +48 lines, -0 lines 0 comments Download
quickstart/utils.py View 2 chunks +15 lines, -2 lines 0 comments Download

Messages

Total messages: 8
frankban
Please take a look.
10 years, 7 months ago (2013-10-18 12:50:20 UTC) #1
gary.poster
code LGTM with small comment about comment. Trying qa now. https://codereview.appspot.com/15020043/diff/1/quickstart/app.py File quickstart/app.py (right): https://codereview.appspot.com/15020043/diff/1/quickstart/app.py#newcode127 ...
10 years, 7 months ago (2013-10-18 13:11:40 UTC) #2
gary.poster
https://codereview.appspot.com/15020043/diff/1/quickstart/app.py File quickstart/app.py (right): https://codereview.appspot.com/15020043/diff/1/quickstart/app.py#newcode119 quickstart/app.py:119: charm_url = 'cs:precise/juju-gui-77' Switch to 78? :-) This should ...
10 years, 7 months ago (2013-10-18 13:27:58 UTC) #3
gary.poster
make check: good. The obsessive compulsive in me wants to see coverage for the run ...
10 years, 7 months ago (2013-10-18 13:45:07 UTC) #4
frankban
Please take a look. https://codereview.appspot.com/15020043/diff/1/quickstart/app.py File quickstart/app.py (right): https://codereview.appspot.com/15020043/diff/1/quickstart/app.py#newcode119 quickstart/app.py:119: charm_url = 'cs:precise/juju-gui-77' On 2013/10/18 ...
10 years, 7 months ago (2013-10-18 14:07:57 UTC) #5
gary.poster
qa good. Very cool. Thank you!
10 years, 7 months ago (2013-10-18 14:33:29 UTC) #6
frankban
On 2013/10/18 13:45:07, gary.poster wrote: > make check: good. The obsessive compulsive in me wants ...
10 years, 7 months ago (2013-10-18 14:40:39 UTC) #7
frankban
10 years, 7 months ago (2013-10-18 14:41:56 UTC) #8
*** Submitted:

Wait for the GUI to be ready and started.

Watch unit changes, open the browser at the
end of the process.

Tests: run `make check`.

QA assuming you have an ec2 Juju env named 'ec2':
- run `.venv/bin/python juju-quickstart -e ec2`.
The environment is bootstrapped, the GUI deployed,
relevant events on the GUI unit notified.
Your default browser shows the GUI when done.

R=gary.poster
CC=
https://codereview.appspot.com/15020043
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b