mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-28 18:46:18 +00:00
96c9a45981
The CI is now mostly data driven and should be much easier to handle.
35 lines
1 KiB
Django/Jinja
35 lines
1 KiB
Django/Jinja
{#
|
|
Copyright 2020-2022, Collabora, Ltd.
|
|
|
|
SPDX-License-Identifier: BSL-1.0
|
|
#}
|
|
{#
|
|
Template for reprepro distributions config file.
|
|
|
|
After this template gets expanded, with a paragraph for each
|
|
distribution codename supported,
|
|
the GPG fingerprint gets substituted into that at CI time using envsubst,
|
|
(not ahead of time using ci-fairy)
|
|
because the fingerprint is included in the "secrets" in CI.
|
|
|
|
Note: There is no way to indicate comments in the reprepro distributions config
|
|
file format, and whitespace is meaningful (need blank lines between paragraphs).
|
|
|
|
Please run the following after modifying this file:
|
|
|
|
ci-fairy generate-template --config .gitlab-ci/config.yml .gitlab-ci/distributions.template > .gitlab-ci/distributions
|
|
|
|
#}
|
|
{% for distro in packaging.distribution_suffixes %}
|
|
{% for codename in packaging.distribution_suffixes[distro] %}
|
|
Origin: monado.freedesktop.org
|
|
Description: Monado CI apt repository
|
|
Codename: {{ codename }}
|
|
Architectures: amd64 i386 source
|
|
Components: main
|
|
Tracking: minimal
|
|
SignWith: ${MONADO_GPG_FINGERPRINT}
|
|
|
|
{% endfor %}
|
|
{% endfor %}
|