mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-01 05:51:56 +08:00
Allow a separate flatpaks/ namespace in production
Adjust the production distgit and MBS configuration to allow having a separate flatpaks/ namespace and building from there. Signed-off-by: Owen W. Taylor <otaylor@fishsoup.net>
This commit is contained in:
committed by
Kevin Fenzi
parent
ceba590393
commit
4e5928d055
@@ -214,11 +214,7 @@ LOGGING = {
|
||||
# Configuration item that are specific for this odd pagure instance
|
||||
|
||||
ENABLE_UI_NEW_PROJECTS = False
|
||||
{% if env == 'staging' %}
|
||||
ALLOWED_PREFIX = ['rpms', 'modules', 'flatpaks', 'container', 'tests']
|
||||
{% else %}
|
||||
ALLOWED_PREFIX = ['rpms', 'modules', 'container', 'tests']
|
||||
{% endif %}
|
||||
EXCLUDE_GROUP_INDEX = ['packager']
|
||||
PRIVATE_PROJECTS = False
|
||||
{% if env == 'staging' %}
|
||||
@@ -248,9 +244,7 @@ ACLS = {
|
||||
|
||||
REQUIRED_GROUPS = {
|
||||
'container/*': ['packager'],
|
||||
{% if env == 'staging' %}
|
||||
'flatpaks/*': ['packager'],
|
||||
{% endif %}
|
||||
'modules/*': ['packager'],
|
||||
'rpms/*': ['packager'],
|
||||
}
|
||||
|
||||
@@ -158,7 +158,10 @@ class ProdConfiguration(BaseConfiguration):
|
||||
PDC_URL = 'https://pdc.fedoraproject.org/rest_api/v1'
|
||||
SCMURLS = ['git+https://src.fedoraproject.org/modules/',
|
||||
'https://src.fedoraproject.org/modules/',
|
||||
'https://src.fedoraproject.org/git/modules/']
|
||||
'https://src.fedoraproject.org/git/modules/',
|
||||
'git+https://src.fedoraproject.org/flatpaks/',
|
||||
'https://src.fedoraproject.org/flatpaks/',
|
||||
'https://src.fedoraproject.org/git/flatpaks/']
|
||||
{% endif %}
|
||||
|
||||
RESOLVER = "db"
|
||||
|
||||
Reference in New Issue
Block a user