mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-30 07:10:08 +01:00
CI: prettify the include of templates
Makes the resulting file easier to read Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
This commit is contained in:
parent
6c2e98e40d
commit
c8c825289f
2 changed files with 20 additions and 32 deletions
|
|
@ -37,33 +37,22 @@
|
|||
.templates_sha: &template_sha 0c312d9c7255f46e741d43bcd1930f09cd12efe7
|
||||
|
||||
include:
|
||||
# Alpine container builder template
|
||||
- project: 'freedesktop/ci-templates'
|
||||
ref: *template_sha
|
||||
file: '/templates/alpine.yml'
|
||||
# Arch container builder template
|
||||
- project: 'freedesktop/ci-templates'
|
||||
ref: *template_sha
|
||||
file: '/templates/arch.yml'
|
||||
# Debian container builder template
|
||||
- project: 'freedesktop/ci-templates'
|
||||
ref: *template_sha
|
||||
file: '/templates/debian.yml'
|
||||
# Fedora container builder template
|
||||
- project: 'freedesktop/ci-templates'
|
||||
ref: *template_sha
|
||||
file: '/templates/fedora.yml'
|
||||
# Freebsd container builder template
|
||||
- project: 'freedesktop/ci-templates'
|
||||
ref: *template_sha
|
||||
file: '/templates/freebsd.yml'
|
||||
# Ubuntu container builder template
|
||||
- project: 'freedesktop/ci-templates'
|
||||
ref: *template_sha
|
||||
file: '/templates/ubuntu.yml'
|
||||
- project: 'freedesktop/ci-templates'
|
||||
ref: *template_sha
|
||||
file: '/templates/ci-fairy.yml'
|
||||
file:
|
||||
- '/templates/ci-fairy.yml'
|
||||
# Alpine container builder template
|
||||
- '/templates/alpine.yml'
|
||||
# Arch container builder template
|
||||
- '/templates/arch.yml'
|
||||
# Debian container builder template
|
||||
- '/templates/debian.yml'
|
||||
# Fedora container builder template
|
||||
- '/templates/fedora.yml'
|
||||
# Freebsd container builder template
|
||||
- '/templates/freebsd.yml'
|
||||
# Ubuntu container builder template
|
||||
- '/templates/ubuntu.yml'
|
||||
|
||||
stages:
|
||||
- sanity check # CI/commit checks
|
||||
|
|
|
|||
|
|
@ -39,15 +39,14 @@
|
|||
.templates_sha: &template_sha 0c312d9c7255f46e741d43bcd1930f09cd12efe7
|
||||
|
||||
include:
|
||||
- project: 'freedesktop/ci-templates'
|
||||
ref: *template_sha
|
||||
file:
|
||||
- '/templates/ci-fairy.yml'
|
||||
{% 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'
|
||||
# {{ 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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue