.templates_sha: &template_sha 0c312d9c7255f46e741d43bcd1930f09cd12efe7 # see https://docs.gitlab.com/ee/ci/yaml/#includefile
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'
- # Ubuntu container builder template
- - project: 'freedesktop/ci-templates'
- ref: *template_sha
- file: '/templates/ubuntu.yml'
+ file:
+ # 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'
+ # Ubuntu container builder template
+ - '/templates/ubuntu.yml'
stages:
- prep # rebuild the container images if there is a change
.templates_sha: &template_sha 0c312d9c7255f46e741d43bcd1930f09cd12efe7 # see https://docs.gitlab.com/ee/ci/yaml/#includefile
include:
- {% for distribution in distributions|map(attribute='name')|unique()|sort() %}
- # {{ distribution.capitalize() }} container builder template
- project: 'freedesktop/ci-templates'
ref: *template_sha
- file: '/templates/{{distribution}}.yml'
+ file:
+ {% for distribution in distributions|map(attribute='name')|unique()|sort() %}
+ # {{ distribution.capitalize() }} container builder template
+ - '/templates/{{distribution}}.yml'
{% endfor %}
stages: