aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorKhouloud Touil <ktouil@baylibre.com>2019-01-18 11:59:08 +0100
committerKhouloud Touil <ktouil@baylibre.com>2019-01-24 11:18:46 +0100
commitb214a337906e38aef96a343fae8d49b5c3eb9c4a (patch)
tree1745ed04a31947b5574cc0c2130184ea7f4b4bb3 /templates
parentcfd82634e7f70645d466a297ce55cd0e1a30420d (diff)
templates/tests: add DEVICE_TAGS parameter
Insert the board tags dynamically as parameters in the release.jinja2 and the ci.jinja2 files while generating the test template. Change-Id: Ic89323b673fa99a28266a2ac89382fd3f7d9899f Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
Diffstat (limited to 'templates')
-rw-r--r--templates/tests/ci.jinja22
-rw-r--r--templates/tests/release.jinja22
2 files changed, 4 insertions, 0 deletions
diff --git a/templates/tests/ci.jinja2 b/templates/tests/ci.jinja2
index 7d980ce..0f1b8e1 100644
--- a/templates/tests/ci.jinja2
+++ b/templates/tests/ci.jinja2
@@ -18,6 +18,8 @@
history: False
path: test-suites/short-smoke/service-check.yaml
name: service-check
+ parameters:
+ DEVICE_TAGS: "{{ DEVICE_TAGS }}"
- test:
timeout:
diff --git a/templates/tests/release.jinja2 b/templates/tests/release.jinja2
index 7d980ce..0f1b8e1 100644
--- a/templates/tests/release.jinja2
+++ b/templates/tests/release.jinja2
@@ -18,6 +18,8 @@
history: False
path: test-suites/short-smoke/service-check.yaml
name: service-check
+ parameters:
+ DEVICE_TAGS: "{{ DEVICE_TAGS }}"
- test:
timeout: