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

Issue 9207049: Find an appropriate machine image.

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 12 months ago by bac
Modified:
10 years, 12 months ago
Reviewers:
mp+164029, jeff.pihach, gary.poster
Visibility:
Public.

Description

Find an appropriate machine image. Use 'nova image-list' to find the latest released Ubuntu amd64 image. Assumes the list returned is ordered, though getting the latest isn't absolutely required. If a file $HOME/.juju/environments.yaml.template is found, populate it with the found machine id. If not found, do nothing. https://code.launchpad.net/~bac/juju-gui/ci-fix/+merge/164029 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 10

Patch Set 2 : Find an appropriate machine image. #

Total comments: 3

Patch Set 3 : Find an appropriate machine image. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+136 lines, -11 lines) Patch
A [revision details] View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
A bin/find-latest-image.sh View 1 1 chunk +3 lines, -0 lines 0 comments Download
M docs/continuous-integration.rst View 1 2 3 chunks +18 lines, -5 lines 0 comments Download
M lib/deploy_charm_for_testing.py View 1 2 2 chunks +50 lines, -3 lines 0 comments Download
M test/browser.py View 1 2 1 chunk +6 lines, -1 line 0 comments Download
M test/test_deploy_charm_for_testing.py View 1 4 chunks +57 lines, -2 lines 0 comments Download

Messages

Total messages: 6
bac
Please take a look.
10 years, 12 months ago (2013-05-15 20:46:37 UTC) #1
jeff.pihach
Thanks for doing this - it's a great improvement. Before landing I'd like to see ...
10 years, 12 months ago (2013-05-15 21:50:57 UTC) #2
bac
Please take a look. https://codereview.appspot.com/9207049/diff/1/bin/find-latest-image.sh File bin/find-latest-image.sh (right): https://codereview.appspot.com/9207049/diff/1/bin/find-latest-image.sh#newcode2 bin/find-latest-image.sh:2: nova --no-cache image-list |grep ubuntu-precise-12.04-amd64-server ...
10 years, 12 months ago (2013-05-16 12:51:11 UTC) #3
jeff.pihach
LGTM Thanks for those changes
10 years, 12 months ago (2013-05-16 14:15:44 UTC) #4
gary.poster
LGTM thank you! https://codereview.appspot.com/9207049/diff/5001/lib/deploy_charm_for_testing.py File lib/deploy_charm_for_testing.py (right): https://codereview.appspot.com/9207049/diff/5001/lib/deploy_charm_for_testing.py#newcode128 lib/deploy_charm_for_testing.py:128: # environments.yaml file. Maybe print a ...
10 years, 12 months ago (2013-05-16 14:17:49 UTC) #5
bac
10 years, 12 months ago (2013-05-16 15:52:37 UTC) #6
*** Submitted:

Find an appropriate machine image.

Use 'nova image-list' to find the latest released
Ubuntu amd64 image.  Assumes the list returned
is ordered, though getting the latest isn't
absolutely required.

If a file $HOME/.juju/environments.yaml.template is found,
populate it with the found machine id.  If not found, do nothing.

R=jeff.pihach, gary.poster
CC=
https://codereview.appspot.com/9207049

https://codereview.appspot.com/9207049/diff/5001/lib/deploy_charm_for_testing.py
File lib/deploy_charm_for_testing.py (right):

https://codereview.appspot.com/9207049/diff/5001/lib/deploy_charm_for_testing...
lib/deploy_charm_for_testing.py:128: # environments.yaml file.
On 2013/05/16 14:17:49, gary.poster wrote:
> Maybe print a statement saying what you are doing and why?

Done.
Sign in to reply to this message.

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