Merge "Support setting whether an Apt repo is trusted"

This commit is contained in:
Zuul 2024-08-30 18:04:20 +00:00 committed by Gerrit Code Review
commit 28d78297af
3 changed files with 8 additions and 0 deletions

View File

@ -11,5 +11,8 @@ Signed-by: {{ apt_keys_path }}/{{ repo.signed_by }}
{% if repo.architecture is defined %} {% if repo.architecture is defined %}
Architecture: {{ repo.architecture }} Architecture: {{ repo.architecture }}
{% endif %} {% endif %}
{% if repo.trusted is defined %}
Trusted: {{ repo.trusted | bool }}
{% endif %}
{% endfor %} {% endfor %}

View File

@ -376,6 +376,7 @@ items:
``apt_keys_path`` (optional, default is unset) ``apt_keys_path`` (optional, default is unset)
* ``architecture``: whitespace-separated list of architectures that will be used * ``architecture``: whitespace-separated list of architectures that will be used
(optional, default is unset) (optional, default is unset)
* ``trusted``: boolean value (optional, default is unset)
The default of ``apt_repositories`` is an empty list. The default of ``apt_repositories`` is an empty list.

View File

@ -0,0 +1,4 @@
---
features:
- |
Adds support for setting whether an Apt repo is trusted.