2023-04-14 21:17:41 +00:00
|
|
|
{#
|
|
|
|
# SPDX-License-Identifier: CC0-1.0
|
|
|
|
# SPDX-FileCopyrightText: 2018-2023 Collabora, Ltd. and the Monado contributors
|
2023-11-14 18:06:57 +00:00
|
|
|
#
|
|
|
|
# This file is not used directly to generate its own output: it is included by .gitlab-ci.yml.jinja
|
2023-04-14 21:17:41 +00:00
|
|
|
#}
|
|
|
|
|
2023-11-14 18:06:57 +00:00
|
|
|
{% from 'include.functions.jinja' import image_name, image_name_for_comment with context %}
|
2023-11-14 17:57:13 +00:00
|
|
|
|
2023-04-14 21:17:41 +00:00
|
|
|
{% for distro in distributions -%} {%- for image in distro.images %}
|
|
|
|
|
2023-11-14 17:57:13 +00:00
|
|
|
# Variables for build and usage of {{ image_name_for_comment(distro, image) }} image
|
|
|
|
.monado.variables.{{ image_name(distro, image) }}:
|
2023-04-14 21:17:41 +00:00
|
|
|
variables:
|
2023-11-14 17:57:13 +00:00
|
|
|
{% if "codename" in image or "distro_version" in image %}
|
2023-04-14 21:17:41 +00:00
|
|
|
FDO_DISTRIBUTION_VERSION: "{{ image["distro_version"] | default(image.codename) }}"
|
2023-11-14 17:57:13 +00:00
|
|
|
{% endif %}
|
2023-11-14 18:06:57 +00:00
|
|
|
FDO_DISTRIBUTION_TAG: "{{ image.tag }}"
|
2023-04-14 21:17:41 +00:00
|
|
|
{% if "repo_suffix" in image %}
|
|
|
|
FDO_REPO_SUFFIX: {{image["repo_suffix"]}}
|
|
|
|
{% endif %}
|
|
|
|
{% endfor -%} {%- endfor %}
|