diff options
author | Kevin Hilman <khilman@baylibre.com> | 2017-09-21 20:07:46 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@automotivelinux.org> | 2017-09-21 20:07:46 +0000 |
commit | 2fecbc0916bae86505375c49a3bc82ae9354b928 (patch) | |
tree | bdd4e63ea9e6a9077441afe9d0f141e4044391c6 /utils/agljobtemplate.py | |
parent | bab5b166526f66d409eff09e12ac7f5db97b93b6 (diff) | |
parent | 6d8721a6c24bb6b681d9c369e0032a05e54db26a (diff) |
Merge "rfs-image: provide command line options to setup the image name"
Diffstat (limited to 'utils/agljobtemplate.py')
-rw-r--r-- | utils/agljobtemplate.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/utils/agljobtemplate.py b/utils/agljobtemplate.py index df3800d..0d34867 100644 --- a/utils/agljobtemplate.py +++ b/utils/agljobtemplate.py @@ -60,7 +60,7 @@ 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): + kci_callback=None, rfs_image=None): test_templates = [] if machine not in self.machines: @@ -83,6 +83,9 @@ class Agljobtemplate(object): if rfs_type is not None: job['rootfs_type'] = rfs_type + if rfs_image is not None: + job['rfs_image'] = rfs_image + if kci_callback: if test_templates: job['callback_name'] = 'lava/test' |