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 <narmstrong@baylibre.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4057>
This commit is contained in:
Neil Armstrong 2020-03-05 15:19:15 +01:00 committed by Marge Bot
parent fd1436440b
commit bbdb4b1a6d
1 changed files with 2 additions and 1 deletions

View File

@ -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 %}