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
1=== modified file 'build-scripts/post-build-lava.py'
2--- build-scripts/post-build-lava.py 2012-11-15 09:26:12 +0000
3+++ build-scripts/post-build-lava.py 2013-01-03 16:47:23 +0000
4@@ -12,45 +12,29 @@
5 # Map a TARGET_PRODUCT to LAVA parameters.
6 PRODUCT_MAP = {
7 "pandaboard": {
8- "test_device_type": "panda",
9- "image_path": "%s%s" % (
10- "target/product/",
11- "pandaboard")},
12+ "test_device_type": "panda"
13+ },
14 "full_panda": {
15- "test_device_type": "panda",
16- "image_path": "%s%s" % (
17- "target/product/",
18- "panda")},
19+ "test_device_type": "panda"
20+ },
21 "beagleboard": {
22- "test_device_type": "beaglexm",
23- "image_path": "%s%s" % (
24- "target/product/",
25- "beagleboard")},
26+ "test_device_type": "beaglexm"
27+ },
28 "snowball": {
29- "test_device_type": "snowball_sd",
30- "image_path": "%s%s" % (
31- "target/product/",
32- "snowball")},
33+ "test_device_type": "snowball_sd"
34+ },
35 "iMX53": {
36- "test_device_type": "mx53loco",
37- "image_path": "%s%s" % (
38- "target/product/",
39- "iMX53")},
40+ "test_device_type": "mx53loco"
41+ },
42 "origen": {
43 "test_device_type": "origen",
44- "image_path": "%s%s" % (
45- "target/product/",
46- "origen")},
47+ },
48 "vexpress": {
49 "test_device_type": "vexpress-a9",
50- "image_path": "%s%s" % (
51- "target/product/",
52- "vexpress")},
53+ },
54 "vexpress_rtsm": {
55 "test_device_type": "rtsm_ve-a15x4-a7x4",
56- "image_path": "%s%s" % (
57- "target/product/",
58- "vexpress_rtsm")},
59+ },
60 }
61
62 OPTION_SUFFIX = "_OPTION"
63@@ -283,14 +267,11 @@
64 "command": "deploy_linaro_android_image",
65 "parameters":
66 {
67- "boot": "%s%s%s" % (download_url,
68- PRODUCT_MAP[target_product]["image_path"],
69+ "boot": "%s%s" % (download_url,
70 "/boot.tar.bz2"),
71- "system":"%s%s%s" % (download_url,
72- PRODUCT_MAP[target_product]["image_path"],
73+ "system":"%s%s" % (download_url,
74 "/system.tar.bz2"),
75- "data":"%s%s%s" % (download_url,
76- PRODUCT_MAP[target_product]["image_path"],
77+ "data":"%s%s" % (download_url,
78 "/userdata.tar.bz2")
79 },
80 "metadata":

Subscribers

People subscribed via source and target branches