diff options
author | Benjamin Tissoires <benjamin.tissoires@gmail.com> | 2021-07-29 18:50:57 +0200 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2022-09-01 09:38:46 +1000 |
commit | c8c825289f1b7575ee10b849c04f5caa60483a7e (patch) | |
tree | c4e34979996128444d1d13248ea41a96d233cfb7 /.gitlab-ci | |
parent | 6c2e98e40d4bb2abc48bcb4b2e3201017cdfcd3d (diff) |
CI: prettify the include of templates
Makes the resulting file easier to read
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
Diffstat (limited to '.gitlab-ci')
-rw-r--r-- | .gitlab-ci/ci.template | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/.gitlab-ci/ci.template b/.gitlab-ci/ci.template index d5725b9c..80387671 100644 --- a/.gitlab-ci/ci.template +++ b/.gitlab-ci/ci.template @@ -39,15 +39,14 @@ .templates_sha: &template_sha 0c312d9c7255f46e741d43bcd1930f09cd12efe7 include: - {% for distro in distributions|sort(attribute="name") %} - # {{ distro.name.capitalize() }} container builder template - project: 'freedesktop/ci-templates' ref: *template_sha - file: '/templates/{{distro.name}}.yml' + file: + - '/templates/ci-fairy.yml' + {% for distro in distributions|sort(attribute="name") %} + # {{ distro.name.capitalize() }} container builder template + - '/templates/{{distro.name}}.yml' {% endfor %} - - project: 'freedesktop/ci-templates' - ref: *template_sha - file: '/templates/ci-fairy.yml' stages: - sanity check # CI/commit checks |