ci/b2c: add support for the new format of CI_RUNNER_TAGS
authorMartin Roukala (né Peres) <martin.roukala@mupuf.org>
Sat, 1 Oct 2022 03:46:19 +0000 (06:46 +0300)
committerMarge Bot <emma+marge@anholt.net>
Sat, 1 Oct 2022 12:53:08 +0000 (12:53 +0000)
commitbb9111720471ba9d5e1e781ac24a48c2e5aa9886
tree56b31820f41b207b11c07e3ff0b1933bfc22419a
parentbd9d276485c8286f27ba4ed30e3cfbf0f892150b
ci/b2c: add support for the new format of CI_RUNNER_TAGS

Seems like Gitlab did not follow their own documentation:

```
CI_RUNNER_TAGS  8.10  0.5  A comma-separated list of the runner tags.
```

But it would seem like a gitlab update brought json-style lists which
broke:

```
CI_RUNNER_TAGS = '["keywords-gateway", "CI-gateway"]'
```

This commit adds support for both style.

Signed-off-by: Martin Roukala (né Peres) <martin.roukala@mupuf.org>
Reviewed-by: John Brooks <john@fastquake.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18923>
.gitlab-ci/b2c/b2c.yml.jinja2.jinja2
.gitlab-ci/b2c/generate_b2c.py