aboutsummaryrefslogtreecommitdiff
path: root/lava-v2-jobs-from-api.py
diff options
context:
space:
mode:
authorGuillaume Tucker <guillaume@mangoz.org>2017-07-24 10:34:59 +0000
committerMatt Hart <github@blacklabsystems.com>2017-07-24 11:34:59 +0100
commit1e21d39e945c3f526275a0f6ae2712692d4fa4e2 (patch)
treeb31b7fee98e8c534da6456df01598bd69ff61158 /lava-v2-jobs-from-api.py
parent599462f9b14f3ca98f54eb52cb4a4254ccbddb90 (diff)
Add platform.mach to the LAVA v2 jobs definition (#11)
Add the SoC type as platform.mach taken from the device_map to the LAVA v2 jobs definition. This can then be used in the KernelCI backend as the SoC name. Signed-off-by: Guillaume Tucker <guillaume.tucker@collabora.com>
Diffstat (limited to 'lava-v2-jobs-from-api.py')
-rwxr-xr-xlava-v2-jobs-from-api.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lava-v2-jobs-from-api.py b/lava-v2-jobs-from-api.py
index ebe334c..25cf48a 100755
--- a/lava-v2-jobs-from-api.py
+++ b/lava-v2-jobs-from-api.py
@@ -138,6 +138,7 @@ def main(args):
# print "working on device %s" % dtb
lpae = device['lpae']
device_type = device['device_type']
+ mach = device['mach']
fastboot = str(device['fastboot']).lower()
blacklist = False
nfs_blacklist = False
@@ -215,6 +216,7 @@ def main(args):
'dtb_url': dtb_url,
'dtb_full': dtb_full,
'platform': platform,
+ 'mach': mach,
'kernel_url': kernel_url,
'image_type': 'kernel-ci',
'image_url': base_url,