Mesa (staging/20.0): gitlab-ci/lava: fix handling of lava tags

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sat Apr 4 14:30:58 UTC 2020


Module: Mesa
Branch: staging/20.0
Commit: 4c2c6e6119b5090dea5a4ca53257021a2f8b18aa
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4c2c6e6119b5090dea5a4ca53257021a2f8b18aa

Author: Neil Armstrong <narmstrong at baylibre.com>
Date:   Thu Mar  5 15:19:15 2020 +0100

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 at baylibre.com>
(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>

---

 .gitlab-ci/lava-deqp.yml.jinja2 | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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



More information about the mesa-commit mailing list