diff options
author | Kevin Hilman <khilman@baylibre.com> | 2019-01-15 11:30:44 -0800 |
---|---|---|
committer | Kevin Hilman <khilman@baylibre.com> | 2019-01-15 15:25:46 -0800 |
commit | cfd82634e7f70645d466a297ce55cd0e1a30420d (patch) | |
tree | 039ea688465da7a84efadd5179877a4747203673 | |
parent | 63b0ee97220fb444c7c0d95c927de861c1a949f7 (diff) |
templates/base: add new metadata fieldsguppy_6.99.4guppy/6.99.46.99.4
To aid with better reporting, recent versions of the kernelci-backend
require a few more metadatata fields for test results.
The new required fields are test.plan, device.type and git.commit.
Change-Id: I89cbddee019ae1e8b91b54a2d174aac4feaf769e
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
-rw-r--r-- | templates/base/agl-base-defaults.jinja2 | 2 | ||||
-rw-r--r-- | templates/base/agl-metadata.jinja2 | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/templates/base/agl-base-defaults.jinja2 b/templates/base/agl-base-defaults.jinja2 index c7ca324..554ab05 100644 --- a/templates/base/agl-base-defaults.jinja2 +++ b/templates/base/agl-base-defaults.jinja2 @@ -18,6 +18,8 @@ {%- set rootfs_type = rootfs_type|default("ramdisk") %} {%- set vcs_branch = vcs_branch|default("agl-branch") %} {%- set vcs_url = vcs_url|default(baseurl()) %} +{%- set vcs_commit = vcs_commit|default("agl-commit") %} +{%- set test_plan = test_plan|default("agl-testplan") %} {# Kernel type definition #} {%- if kernel_image|first|lower == "i" %} diff --git a/templates/base/agl-metadata.jinja2 b/templates/base/agl-metadata.jinja2 index 050eeff..71af3a6 100644 --- a/templates/base/agl-metadata.jinja2 +++ b/templates/base/agl-metadata.jinja2 @@ -1,5 +1,6 @@ metadata: git.branch: {{ vcs_branch }} + git.commit: {{ vcs_commit }} image.type: {{ image_type }} job.arch: {{ device_arch }} job.name: {{ name }} @@ -10,3 +11,5 @@ metadata: platform.mach: {{ device_mach }} platform.name: {{ device_type }} vcs.url: {{ vcs_url }} + test.plan: {{ test_plan }} + device.type: {{ device_type }} |