summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorKhouloud Touil <ktouil@baylibre.com>2020-01-15 16:03:56 +0100
committerKhouloud Touil <ktouil@baylibre.com>2020-01-17 10:37:19 +0100
commitb0eeec805136c097873dac29a1dfdbc5de545e98 (patch)
treec94b558fcbe85a04e651be0ffb55ab8504d7ecaf /templates
parent2bec07832b43a1d549a52b0964510b9a9f2f78a4 (diff)
Add a new metadata field for the job_base_url
It's a field that is going to be used later in the email report to provied the link of each faild test case of a test job. This metadata will provid the link of the lava web interface. AGL-bug: SPEC-3020 Signed-off-by: Khouloud Touil <ktouil@baylibre.com> Change-Id: If4d90e0c992dc3c07972cdb053f2ef25e934450f
Diffstat (limited to 'templates')
-rw-r--r--templates/base/agl-base-defaults.jinja21
-rw-r--r--templates/base/agl-metadata.jinja21
2 files changed, 2 insertions, 0 deletions
diff --git a/templates/base/agl-base-defaults.jinja2 b/templates/base/agl-base-defaults.jinja2
index d86365f..6d2dee7 100644
--- a/templates/base/agl-base-defaults.jinja2
+++ b/templates/base/agl-base-defaults.jinja2
@@ -19,6 +19,7 @@
{%- set vcs_branch = vcs_branch|default("agl-branch") %}
{%- set vcs_url = vcs_url|default(baseurl()) %}
{%- set vcs_commit = vcs_commit|default("agl-commit") %}
+{%- set job_base_url = job_base_url|default("https://lava.automotivelinux.org/") %}
{%- set test_plan = test_plan|default("agl-testplan") %}
{# Kernel type definition #}
diff --git a/templates/base/agl-metadata.jinja2 b/templates/base/agl-metadata.jinja2
index 1cade7f..c48c9ae 100644
--- a/templates/base/agl-metadata.jinja2
+++ b/templates/base/agl-metadata.jinja2
@@ -11,6 +11,7 @@ metadata:
platform.mach: {{ device_mach }}
platform.name: {{ device_type }}
git.url: {{ vcs_url }}
+ job.lava_base_url: {{ job_base_url }}
test.plan: {{ test_plan }}
device.type: {{ device_type }}
job.build_environment: {{ kernel_tree }}