summaryrefslogtreecommitdiffstats
path: root/.gitlab-ci
diff options
context:
space:
mode:
authorNeil Armstrong <[email protected]>2020-03-05 15:19:15 +0100
committerMarge Bot <[email protected]>2020-04-04 14:07:19 +0000
commit4c2c6e6119b5090dea5a4ca53257021a2f8b18aa (patch)
tree0c2140f7af98b68459a03a8d39f8e3b61eb69f29 /.gitlab-ci
parentce2921a9c3bf0c41c795bb605bc88afc152ead55 (diff)
gitlab-ci/lava: fix handling of lava tags
The lava tags was a python array not it's a gitlab CI string, slit the string with periods in the jinja2 template to avoid having the following tags : tags: - p - a - n - f - r - o - s - t instead of : tags: - panfrost Signed-off-by: Neil Armstrong <[email protected]> (cherry picked from commit bbdb4b1a6d9c1f211ef7e67f3dcdf92de24c3a67) Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4434> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4434>
Diffstat (limited to '.gitlab-ci')
-rw-r--r--.gitlab-ci/lava-deqp.yml.jinja23
1 files changed, 2 insertions, 1 deletions
diff --git a/.gitlab-ci/lava-deqp.yml.jinja2 b/.gitlab-ci/lava-deqp.yml.jinja2
index 8b7b4b12034..c8bc8fa84e3 100644
--- a/.gitlab-ci/lava-deqp.yml.jinja2
+++ b/.gitlab-ci/lava-deqp.yml.jinja2
@@ -11,8 +11,9 @@ timeouts:
priority: 75
visibility: public
{% if tags %}
+{% set lavatags = tags.split(',') %}
tags:
-{% for tag in tags %}
+{% for tag in lavatags %}
- {{ tag }}
{% endfor %}
{% endif %}