diff options
author | Khouloud Touil <ktouil@baylibre.com> | 2019-02-18 15:16:30 +0100 |
---|---|---|
committer | Khouloud Touil <ktouil@baylibre.com> | 2019-02-28 10:04:57 +0100 |
commit | f85aaa11059b36972d5fd1c9cb838e65dca7a5b0 (patch) | |
tree | 9999ad345be51336eef563e433ddaff56ab55919 /utils/agljobtemplate.py | |
parent | 4c5445305fc4ba1738ad226c471869935f29f578 (diff) |
Add new --build-id argument
This patch adds a new build-id arguement that will fill the
'kernel_defconfig' in the metadata field with the build id extracted
from the build-info file.
Change-Id: I77bcc253a41d67d97afd7db32b8c8560d4309145
Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
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 e6876e7..1cda5ad 100644 --- a/utils/agljobtemplate.py +++ b/utils/agljobtemplate.py @@ -87,7 +87,7 @@ class Agljobtemplate(object): def render_job(self, machine, url=None, changeid=None, patchset=None, version=None, job_name="AGL-short-smoke", priority="medium", tests=[], rfs_type=None, - lava_callback=None, kci_callback=None, + lava_callback=None, kci_callback=None, build_id=None, rfs_image=None, kernel_image=None, dtb_image=None, modules_image=None, build_type=None, vcs_commit=None, vcs_branch=None, build_version=None, device_tags=""): @@ -160,6 +160,9 @@ class Agljobtemplate(object): if build_version is not None: job['kernel_version'] = build_version + if build_id is not None: + job['kernel_defconfig'] = build_id + if rfs_type is not None: job['rootfs_type'] = rfs_type |