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

Issue 7102044: Juju GUI source as env var + Charm test branch

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 3 months ago by frankban
Modified:
11 years, 3 months ago
Reviewers:
mp+142948
Visibility:
Public.

Description

Juju GUI source as env var + Charm test branch This branch introduces the possibility to provide the Juju GUI source (used in tests) by setting an environment variable. This way the charm tests can be run as part of the release qa process, e.g.: $ JUJU_GUI_SOURCE=lp:mybranch jitsu test juju-gui ... or, to test a new trunk release: $ JUJU_GUI_SOURCE=trunk jitsu test juju-gui ... Also updated the test exercising the process of making a release from a branch, i.e. when the juju-gui-source option points to a Bazaar branch. Now the branch used is a customized one, present in `lp:~frankban/juju-gui/charm-tests-branch` (please feel free to suggest another, more sane, location, and please take a look at that as part of your reviews). This is a test branch containing only a minimal Makefile and a release tarball. There, `make distfile` is almost a no-op, and for this reason the charm test speed is slightly increased (~4 minutes on ec2). Source: http://bazaar.launchpad.net/~frankban/juju-gui/charm-tests-branch/files https://code.launchpad.net/~frankban/charms/precise/juju-gui/source-as-env-var/+merge/142948 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 5

Patch Set 2 : Juju GUI source as env var + Charm test branch #

Patch Set 3 : Juju GUI source as env var + Charm test branch #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -18 lines) Patch
M HACKING.md View 1 2 chunks +16 lines, -1 line 0 comments Download
A [revision details] View 1 1 chunk +2 lines, -0 lines 0 comments Download
M hooks/utils.py View 1 chunk +1 line, -1 line 0 comments Download
M revision View 1 1 chunk +1 line, -1 line 0 comments Download
M tests/deploy.test View 1 8 chunks +28 lines, -15 lines 0 comments Download

Messages

Total messages: 7
frankban
Please take a look.
11 years, 3 months ago (2013-01-11 16:48:18 UTC) #1
gary.poster
Thanks frankban! Land with changes. Good stuff. Gary https://codereview.appspot.com/7102044/diff/1/HACKING.md File HACKING.md (right): https://codereview.appspot.com/7102044/diff/1/HACKING.md#newcode104 HACKING.md:104: Maybe ...
11 years, 3 months ago (2013-01-11 17:21:56 UTC) #2
teknico
Land as is (after taking Gary's comments into account). https://codereview.appspot.com/7102044/diff/1/revision File revision (right): https://codereview.appspot.com/7102044/diff/1/revision#newcode1 revision:1: ...
11 years, 3 months ago (2013-01-11 17:41:06 UTC) #3
frankban
Thanks for the review Gary. https://codereview.appspot.com/7102044/diff/1/HACKING.md File HACKING.md (right): https://codereview.appspot.com/7102044/diff/1/HACKING.md#newcode104 HACKING.md:104: On 2013/01/11 17:21:56, gary.poster ...
11 years, 3 months ago (2013-01-11 17:41:49 UTC) #4
frankban
On 2013/01/11 17:41:06, teknico wrote: > Land as is (after taking Gary's comments into account). ...
11 years, 3 months ago (2013-01-11 17:42:23 UTC) #5
frankban
Please take a look.
11 years, 3 months ago (2013-01-11 18:00:58 UTC) #6
frankban
11 years, 3 months ago (2013-01-11 18:02:54 UTC) #7
*** Submitted:

Juju GUI source as env var + Charm test branch

This branch introduces the possibility to provide
the Juju GUI source (used in tests) by setting an
environment variable. This way the charm tests can
be run as part of the release qa process, e.g.:

$ JUJU_GUI_SOURCE=lp:mybranch jitsu test juju-gui ...

or, to test a new trunk release:

$ JUJU_GUI_SOURCE=trunk jitsu test juju-gui ...

Also updated the test exercising the process of 
making a release from a branch, i.e. when the
juju-gui-source option points to a Bazaar branch.

Now the branch used is a customized one, present in
`lp:~frankban/juju-gui/charm-tests-branch` (please 
feel free to suggest another, more sane, location, 
and please take a look at that as part of your reviews).
This is a test branch containing only a minimal
Makefile and a release tarball. There, `make distfile`
is almost a no-op, and for this reason the charm test
speed is slightly increased (~4 minutes on ec2).
Source: http://bazaar.launchpad.net/~frankban/juju-gui/charm-tests-branch/files

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

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