mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-29 11:06:18 +00:00
21 lines
747 B
Django/Jinja
21 lines
747 B
Django/Jinja
{#
|
|
# SPDX-License-Identifier: CC0-1.0
|
|
# SPDX-FileCopyrightText: 2018-2023 Collabora, Ltd. and the Monado contributors
|
|
#}
|
|
|
|
{% from 'functions.jinja' import image_name, image_name_for_comment with context %}
|
|
|
|
{% for distro in distributions -%} {%- for image in distro.images %}
|
|
|
|
# Variables for build and usage of {{ image_name_for_comment(distro, image) }} image
|
|
.monado.variables.{{ image_name(distro, image) }}:
|
|
variables:
|
|
{% if "codename" in image or "distro_version" in image %}
|
|
FDO_DISTRIBUTION_VERSION: "{{ image["distro_version"] | default(image.codename) }}"
|
|
{% endif %}
|
|
FDO_DISTRIBUTION_TAG: "{{image["tag"]}}"
|
|
{% if "repo_suffix" in image %}
|
|
FDO_REPO_SUFFIX: {{image["repo_suffix"]}}
|
|
{% endif %}
|
|
{% endfor -%} {%- endfor %}
|