summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/base/agl-base.jinja26
-rw-r--r--templates/tests/ci.jinja23
-rw-r--r--templates/tests/release.jinja21
3 files changed, 8 insertions, 2 deletions
diff --git a/templates/base/agl-base.jinja2 b/templates/base/agl-base.jinja2
index 0bc7188..20fc01f 100644
--- a/templates/base/agl-base.jinja2
+++ b/templates/base/agl-base.jinja2
@@ -14,6 +14,12 @@ tags:
- {{ tag|lower }}
{%- endfor %}
{%- endif %}
+{%- if BUILD_TAGS %}
+build-tags:
+{%- for tag in BUILD_TAGS %}
+- {{ tag|lower }}
+{%- endfor %}
+{%- endif %}
job_name: {{ name }}
diff --git a/templates/tests/ci.jinja2 b/templates/tests/ci.jinja2
index b5974fc..8408057 100644
--- a/templates/tests/ci.jinja2
+++ b/templates/tests/ci.jinja2
@@ -18,10 +18,9 @@
history: False
path: test-suites/short-smoke/service-check.yaml
name: service-check
-{%- if DEVICE_TAGS %}
parameters:
+ BUILD_TAGS: "{{ BUILD_TAGS|join(' ')|lower }}"
DEVICE_TAGS: "{{ DEVICE_TAGS|join(' ')|lower }}"
-{%- endif -%}
{% if "can" in DEVICE_TAGS|lower %}
{% include 'tests/can.jinja2' %}
diff --git a/templates/tests/release.jinja2 b/templates/tests/release.jinja2
index 965af1a..fdfe6bf 100644
--- a/templates/tests/release.jinja2
+++ b/templates/tests/release.jinja2
@@ -19,6 +19,7 @@
path: test-suites/short-smoke/service-check.yaml
name: service-check
parameters:
+ BUILD_TAGS: "{{ BUILD_TAGS }}"
DEVICE_TAGS: "{{ DEVICE_TAGS }}"
- test: