diff options
author | Loys Ollivier <lollivier@baylibre.com> | 2017-10-05 18:41:07 +0200 |
---|---|---|
committer | Loys Ollivier <lollivier@baylibre.com> | 2017-10-06 11:56:09 +0200 |
commit | 0b427702e5f32f8573620a6770cb234bc31e2415 (patch) | |
tree | 3e485affca826d1449be4bfaa7d1a9a148c6e444 /utils/agljobtemplate.py | |
parent | d32e1ebcafc22434624ec6ae68bd404bb088a513 (diff) |
New arguments to specify build artifacts names
Added new command line arguments to specifiy build artifacts names:
- "--rootfs-img": for the rootfs file name
- "--kernel-img": for the kernel name
- "--dtb-img": for the dtb file name
- "--modules-img": for the modules file name
Change-Id: I665dee2b326aeaaf35148345f0501e49950ba9aa
Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
Diffstat (limited to 'utils/agljobtemplate.py')
-rw-r--r-- | utils/agljobtemplate.py | 12 |
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' |