aboutsummaryrefslogtreecommitdiff
path: root/build-scripts/post-build-lava.py
diff options
context:
space:
mode:
authorVishal Bhoj <vishal.bhoj@linaro.org>2013-01-03 22:07:43 +0530
committerVishal Bhoj <vishal.bhoj@linaro.org>2013-01-03 22:07:43 +0530
commitd4519d7707f7c93a9950c9c97d01716bbe755dcb (patch)
treed755e31a175f1983a81ac3ed553d92759ffe6506 /build-scripts/post-build-lava.py
parentb6324c6bd2eb2a927b0cb7bbb1855cdab8d93774 (diff)
update image url created for lava job submission.
Diffstat (limited to 'build-scripts/post-build-lava.py')
-rwxr-xr-xbuild-scripts/post-build-lava.py51
1 files changed, 16 insertions, 35 deletions
diff --git a/build-scripts/post-build-lava.py b/build-scripts/post-build-lava.py
index 274c0fc..a52fc40 100755
--- a/build-scripts/post-build-lava.py
+++ b/build-scripts/post-build-lava.py
@@ -12,45 +12,29 @@ def obfuscate_credentials(s):
# Map a TARGET_PRODUCT to LAVA parameters.
PRODUCT_MAP = {
"pandaboard": {
- "test_device_type": "panda",
- "image_path": "%s%s" % (
- "target/product/",
- "pandaboard")},
+ "test_device_type": "panda"
+ },
"full_panda": {
- "test_device_type": "panda",
- "image_path": "%s%s" % (
- "target/product/",
- "panda")},
+ "test_device_type": "panda"
+ },
"beagleboard": {
- "test_device_type": "beaglexm",
- "image_path": "%s%s" % (
- "target/product/",
- "beagleboard")},
+ "test_device_type": "beaglexm"
+ },
"snowball": {
- "test_device_type": "snowball_sd",
- "image_path": "%s%s" % (
- "target/product/",
- "snowball")},
+ "test_device_type": "snowball_sd"
+ },
"iMX53": {
- "test_device_type": "mx53loco",
- "image_path": "%s%s" % (
- "target/product/",
- "iMX53")},
+ "test_device_type": "mx53loco"
+ },
"origen": {
"test_device_type": "origen",
- "image_path": "%s%s" % (
- "target/product/",
- "origen")},
+ },
"vexpress": {
"test_device_type": "vexpress-a9",
- "image_path": "%s%s" % (
- "target/product/",
- "vexpress")},
+ },
"vexpress_rtsm": {
"test_device_type": "rtsm_ve-a15x4-a7x4",
- "image_path": "%s%s" % (
- "target/product/",
- "vexpress_rtsm")},
+ },
}
OPTION_SUFFIX = "_OPTION"
@@ -283,14 +267,11 @@ def main():
"command": "deploy_linaro_android_image",
"parameters":
{
- "boot": "%s%s%s" % (download_url,
- PRODUCT_MAP[target_product]["image_path"],
+ "boot": "%s%s" % (download_url,
"/boot.tar.bz2"),
- "system":"%s%s%s" % (download_url,
- PRODUCT_MAP[target_product]["image_path"],
+ "system":"%s%s" % (download_url,
"/system.tar.bz2"),
- "data":"%s%s%s" % (download_url,
- PRODUCT_MAP[target_product]["image_path"],
+ "data":"%s%s" % (download_url,
"/userdata.tar.bz2")
},
"metadata":