Mesa (master): gitlab-ci/lava: fix handling of lava tags
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Mon Mar 16 11:44:04 UTC 2020
Module: Mesa
Branch: master
Commit: bbdb4b1a6d9c1f211ef7e67f3dcdf92de24c3a67
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bbdb4b1a6d9c1f211ef7e67f3dcdf92de24c3a67
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>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4057>
---
.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 6e6620e221f..3cd217291d4 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