gitlab CI: invert the ci-templates check

This makes the config file simpler, use a variable that is default false but
true where we need it.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2020-03-22 11:51:01 +10:00
parent 31479b346d
commit 5991023a7c
2 changed files with 2 additions and 6 deletions

View file

@ -37,7 +37,7 @@
include:
{% for distro in distributions|sort(attribute="name") %}
{% if distro.ci_templates %}
{% if not distro.does_not_have_ci_templates %}
# {{ distro.name.capitalize() }} container builder template
- project: 'freedesktop/ci-templates'
ref: *template_sha

View file

@ -13,18 +13,15 @@ distributions:
- '31'
- '32'
want_qemu: true
ci_templates: true
- name: ubuntu
tag: *default_tag
versions:
- '19.10'
- '19.04'
ci_templates: true
- name: arch
tag: *default_tag
versions:
- 'rolling'
ci_templates: true
- name: alpine
tag: *default_tag
versions:
@ -36,10 +33,9 @@ distributions:
# for any tcase_add_exit_test/tcase_add_test_raise_signal
# but someone more invested in musl will have to figure that out.
- "MESON_TEST_ARGS: '' # litest-selftest fails on musl"
ci_templates: true
- name: freebsd
tag: *default_tag
ci_templates: false
does_not_have_ci_templates: true
test_suites:
- name: touchpad