Merge lp:~vishalbhoj/linaro-android-build-tools/update-image-url-for-lava-job into lp:linaro-android-build-tools

Proposed by vishal
Status: Merged
Merged at revision: 547
Proposed branch: lp:~vishalbhoj/linaro-android-build-tools/update-image-url-for-lava-job
Merge into: lp:linaro-android-build-tools
Diff against target: 80 lines (+16/-35)
1 file modified
build-scripts/post-build-lava.py (+16/-35)
To merge this branch: bzr merge lp:~vishalbhoj/linaro-android-build-tools/update-image-url-for-lava-job
Reviewer Review Type Date Requested Status
Milo Casagrande (community) Approve
Review via email: mp+141784@code.launchpad.net

Description of the change

The change is needed due to the recent changes in the location where the images are published.

To post a comment you must log in.
Revision history for this message
Milo Casagrande (milo) wrote :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'build-scripts/post-build-lava.py'
--- build-scripts/post-build-lava.py 2012-11-15 09:26:12 +0000
+++ build-scripts/post-build-lava.py 2013-01-03 16:47:23 +0000
@@ -12,45 +12,29 @@
12# Map a TARGET_PRODUCT to LAVA parameters.12# Map a TARGET_PRODUCT to LAVA parameters.
13PRODUCT_MAP = {13PRODUCT_MAP = {
14 "pandaboard": {14 "pandaboard": {
15 "test_device_type": "panda",15 "test_device_type": "panda"
16 "image_path": "%s%s" % (16 },
17 "target/product/",
18 "pandaboard")},
19 "full_panda": {17 "full_panda": {
20 "test_device_type": "panda",18 "test_device_type": "panda"
21 "image_path": "%s%s" % (19 },
22 "target/product/",
23 "panda")},
24 "beagleboard": {20 "beagleboard": {
25 "test_device_type": "beaglexm",21 "test_device_type": "beaglexm"
26 "image_path": "%s%s" % (22 },
27 "target/product/",
28 "beagleboard")},
29 "snowball": {23 "snowball": {
30 "test_device_type": "snowball_sd",24 "test_device_type": "snowball_sd"
31 "image_path": "%s%s" % (25 },
32 "target/product/",
33 "snowball")},
34 "iMX53": {26 "iMX53": {
35 "test_device_type": "mx53loco",27 "test_device_type": "mx53loco"
36 "image_path": "%s%s" % (28 },
37 "target/product/",
38 "iMX53")},
39 "origen": {29 "origen": {
40 "test_device_type": "origen",30 "test_device_type": "origen",
41 "image_path": "%s%s" % (31 },
42 "target/product/",
43 "origen")},
44 "vexpress": {32 "vexpress": {
45 "test_device_type": "vexpress-a9",33 "test_device_type": "vexpress-a9",
46 "image_path": "%s%s" % (34 },
47 "target/product/",
48 "vexpress")},
49 "vexpress_rtsm": {35 "vexpress_rtsm": {
50 "test_device_type": "rtsm_ve-a15x4-a7x4",36 "test_device_type": "rtsm_ve-a15x4-a7x4",
51 "image_path": "%s%s" % (37 },
52 "target/product/",
53 "vexpress_rtsm")},
54}38}
5539
56OPTION_SUFFIX = "_OPTION"40OPTION_SUFFIX = "_OPTION"
@@ -283,14 +267,11 @@
283 "command": "deploy_linaro_android_image",267 "command": "deploy_linaro_android_image",
284 "parameters":268 "parameters":
285 {269 {
286 "boot": "%s%s%s" % (download_url,270 "boot": "%s%s" % (download_url,
287 PRODUCT_MAP[target_product]["image_path"],
288 "/boot.tar.bz2"),271 "/boot.tar.bz2"),
289 "system":"%s%s%s" % (download_url,272 "system":"%s%s" % (download_url,
290 PRODUCT_MAP[target_product]["image_path"],
291 "/system.tar.bz2"),273 "/system.tar.bz2"),
292 "data":"%s%s%s" % (download_url,274 "data":"%s%s" % (download_url,
293 PRODUCT_MAP[target_product]["image_path"],
294 "/userdata.tar.bz2")275 "/userdata.tar.bz2")
295 },276 },
296 "metadata":277 "metadata":

Subscribers

People subscribed via source and target branches