diff options
-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 }} |