Debian Codegraph @

.gitlab-ci/templates/distributions.jinja

raw
1 {#
2 Copyright 2020-2024, Collabora, Ltd.
3
4 SPDX-License-Identifier: BSL-1.0
5 #}
6 {#
7 Template for reprepro distributions config file.
8
9 After this template gets expanded, with a paragraph for each
10 distribution codename supported,
11 the GPG fingerprint gets substituted into that at CI time using envsubst,
12 (not ahead of time using ci-fairy)
13 because the fingerprint is included in the "secrets" in CI.
14
15 Note: There is no way to indicate comments in the reprepro distributions config
16 file format, and whitespace is meaningful (need blank lines between paragraphs).
17
18 Please run the following after modifying this file:
19
20 ci-fairy generate-template --config .gitlab-ci/config.yml .gitlab-ci/distributions.jinja > .gitlab-ci/distributions
21
22 or better yet, use the makefile.
23 #}
24 {% for distro in distributions -%} {%- for image in distro.images if "deb_version_suffix" in image %}
25 Origin: monado.freedesktop.org
26 Description: Monado CI apt repository
27 Codename: {{ image.codename }}
28 Architectures: amd64 i386 source
29 Components: main
30 Tracking: minimal
31 SignWith: ${MONADO_GPG_FINGERPRINT}
32
33 {% endfor -%} {%- endfor %}