ci: simplify ci-templates include

Turns out we can include multiple files with an array instead of
repeating ourselves.

Signed-off-by: Simon Ser <contact@emersion.fr>
This commit is contained in:
Simon Ser 2022-09-08 12:19:50 +02:00
parent c637a9daf8
commit 2fc4aedee7

View file

@ -1,12 +1,9 @@
.templates_sha: &templates_sha 3f37cc0e461f5b0c815409bf6f55759f26a74e9c
include: include:
- project: 'freedesktop/ci-templates' - project: 'freedesktop/ci-templates'
ref: *templates_sha ref: 3f37cc0e461f5b0c815409bf6f55759f26a74e9c
file: '/templates/ci-fairy.yml' file:
- project: 'freedesktop/ci-templates' - '/templates/ci-fairy.yml'
ref: *templates_sha - '/templates/alpine.yml'
file: '/templates/alpine.yml'
# When updating the prepare-container step, make sure to bump # When updating the prepare-container step, make sure to bump
# FDO_DISTRIBUTION_TAG, otherwise the container won't get rebuilt. # FDO_DISTRIBUTION_TAG, otherwise the container won't get rebuilt.