summaryrefslogtreecommitdiffstats
path: root/utils/agljobtemplate.py
diff options
context:
space:
mode:
Diffstat (limited to 'utils/agljobtemplate.py')
-rw-r--r--utils/agljobtemplate.py12
1 files changed, 11 insertions, 1 deletions
diff --git a/utils/agljobtemplate.py b/utils/agljobtemplate.py
index c8edc8e..528a3b9 100644
--- a/utils/agljobtemplate.py
+++ b/utils/agljobtemplate.py
@@ -60,7 +60,8 @@ class Agljobtemplate(object):
return self.RFS_TYPE
def render_job(self, url, machine, job_name="AGL-short-smoke", priority="medium", tests=[], rfs_type=None,
- kci_callback=None, rfs_image=None, build_version=None):
+ kci_callback=None, rfs_image=None, kernel_image=None, dtb_image=None, modules_image=None,
+ build_version=None):
test_templates = []
if machine not in self.machines:
@@ -89,6 +90,15 @@ class Agljobtemplate(object):
if rfs_image is not None:
job['rfs_image'] = rfs_image
+ if kernel_image is not None:
+ job['kernel_image'] = kernel_image
+
+ if dtb_image is not None:
+ job['dtb'] = dtb_image
+
+ if modules_image is not None:
+ job['modules'] = modules_image
+
if kci_callback:
if test_templates:
job['callback_name'] = 'lava/test'