mirror of
https://gitlab.freedesktop.org/libinput/libei.git
synced 2026-01-10 22:00:16 +01:00
gitlab CI: compress the file inclusion a bit
Just make it a bunch of files from a single project, rather than one project each per file.
This commit is contained in:
parent
42dbcf59c9
commit
c3b250ba2e
2 changed files with 6 additions and 6 deletions
|
|
@ -9,10 +9,10 @@
|
|||
.templates_sha: &template_sha ffe4d1b10aab7534489f0c4bbc4c5899df17d3f2 # see https://docs.gitlab.com/ee/ci/yaml/#includefile
|
||||
|
||||
include:
|
||||
# Fedora container builder template
|
||||
- project: 'freedesktop/ci-templates'
|
||||
ref: *template_sha
|
||||
file: '/templates/fedora.yml'
|
||||
file:
|
||||
- '/templates/fedora.yml'
|
||||
|
||||
stages:
|
||||
- prep # prep work like rebuilding the container images if there is a change
|
||||
|
|
|
|||
|
|
@ -11,12 +11,12 @@
|
|||
.templates_sha: &template_sha ffe4d1b10aab7534489f0c4bbc4c5899df17d3f2 # see https://docs.gitlab.com/ee/ci/yaml/#includefile
|
||||
|
||||
include:
|
||||
{% for distro in distributions|sort(attribute="name") %}
|
||||
{% if not distro.does_not_have_ci_templates %}
|
||||
# {{ distro.name.capitalize() }} container builder template
|
||||
- project: 'freedesktop/ci-templates'
|
||||
ref: *template_sha
|
||||
file: '/templates/{{distro.name}}.yml'
|
||||
file:
|
||||
{% for distro in distributions|sort(attribute="name") %}
|
||||
{% if not distro.does_not_have_ci_templates %}
|
||||
- '/templates/{{distro.name}}.yml'
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue