Allow 'packager' group to do ODCS composes. Update pungi.conf to latest upstream version.
This commit is contained in:
parent
5a4b217db7
commit
82c84f4d67
2 changed files with 69 additions and 12 deletions
|
@ -5,7 +5,7 @@ odcs_pdc_insecure: False
|
||||||
odcs_pdc_develop: True
|
odcs_pdc_develop: True
|
||||||
odcs_target_dir: /srv/odcs
|
odcs_target_dir: /srv/odcs
|
||||||
odcs_target_dir_url: http://{{ inventory_hostname }}/composes
|
odcs_target_dir_url: http://{{ inventory_hostname }}/composes
|
||||||
odcs_allowed_clients_groups: {"sysadmin-mbs": {}, "sysadmin-osbs": {}, "modularity-wg": {"source_types": ["module"]}}
|
odcs_allowed_clients_groups: {"sysadmin-mbs": {}, "sysadmin-osbs": {}, "packager": {"source_types": ["module"]}}
|
||||||
odcs_allowed_clients_users: {"osbs@service": {}}
|
odcs_allowed_clients_users: {"osbs@service": {}}
|
||||||
odcs_admin_groups: ["sysadmin-mbs"]
|
odcs_admin_groups: ["sysadmin-mbs"]
|
||||||
odcs_admin_users: []
|
odcs_admin_users: []
|
||||||
|
|
|
@ -23,14 +23,7 @@ sigkeys = [None]
|
||||||
hashed_directories = True
|
hashed_directories = True
|
||||||
|
|
||||||
# RUNROOT settings
|
# RUNROOT settings
|
||||||
{%- if config.bootable %}
|
|
||||||
runroot = True
|
|
||||||
runroot_tag = "f26-build"
|
|
||||||
runroot_channel = "compose"
|
|
||||||
{%- else %}
|
|
||||||
runroot = False
|
runroot = False
|
||||||
{%- endif %}
|
|
||||||
|
|
||||||
|
|
||||||
# PKGSET
|
# PKGSET
|
||||||
{%- if config.pkgset_source == 'repos' %}
|
{%- if config.pkgset_source == 'repos' %}
|
||||||
|
@ -42,23 +35,79 @@ pkgset_repos = {
|
||||||
}
|
}
|
||||||
{%- elif config.pkgset_source == 'koji' %}
|
{%- elif config.pkgset_source == 'koji' %}
|
||||||
pkgset_source = 'koji'
|
pkgset_source = 'koji'
|
||||||
|
|
||||||
{%- if config.koji_tag %}
|
{%- if config.koji_tag %}
|
||||||
pkgset_koji_tag = '{{ config.koji_tag }}'
|
pkgset_koji_tag = '{{ config.koji_tag }}'
|
||||||
|
{%- else %}
|
||||||
|
pkgset_koji_tag = ""
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|
||||||
|
{%- if config.koji_module_tags %}
|
||||||
|
pkgset_koji_module_tag = [
|
||||||
|
{%- for tag in config.koji_module_tags %}
|
||||||
|
'{{ tag }}',
|
||||||
|
{%- endfor %}
|
||||||
|
]
|
||||||
|
{%- endif %}
|
||||||
|
|
||||||
|
{%- if config.module_defaults_url %}
|
||||||
|
module_defaults_dir = {
|
||||||
|
"scm": "git",
|
||||||
|
"repo": '{{ config.module_defaults_url[0] }}',
|
||||||
|
"branch": '{{ config.module_defaults_url[1] }}',
|
||||||
|
"dir": ".",
|
||||||
|
}
|
||||||
|
{%- endif %}
|
||||||
|
|
||||||
pkgset_koji_inherit = {{ config.pkgset_koji_inherit }}
|
pkgset_koji_inherit = {{ config.pkgset_koji_inherit }}
|
||||||
|
pkgset_koji_builds = [
|
||||||
|
{%- for build in config.builds %}
|
||||||
|
'{{ build }}',
|
||||||
|
{%- endfor %}
|
||||||
|
]
|
||||||
|
{%- endif %}
|
||||||
|
|
||||||
|
|
||||||
|
{%- if config.source_type_str in ["tag", "build"] and not config.packages %}
|
||||||
|
# In case no package is requested, include all of them.
|
||||||
|
additional_packages = [
|
||||||
|
('^Temporary$', {
|
||||||
|
'*': [
|
||||||
|
'*',
|
||||||
|
],
|
||||||
|
}),
|
||||||
|
]
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|
||||||
filter_system_release_packages = False
|
filter_system_release_packages = False
|
||||||
|
|
||||||
|
multilib = [
|
||||||
|
('^.*$', {
|
||||||
|
{%- for multilib_arch in config.multilib_arches %}
|
||||||
|
'{{ multilib_arch }}': {{ config.multilib_method }}
|
||||||
|
{%- endfor%}
|
||||||
|
}),
|
||||||
|
]
|
||||||
|
|
||||||
# GATHER
|
# GATHER
|
||||||
gather_source = '{{ config.gather_source }}'
|
gather_source = '{{ config.gather_source }}'
|
||||||
gather_method = '{{ config.gather_method }}'
|
gather_method = '{{ config.gather_method }}'
|
||||||
{%- if config.comps_file %}
|
{%- if config.comps_file %}
|
||||||
comps_file = '{{ config.comps_file }}'
|
comps_file = '{{ config.comps_file }}'
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
check_deps = False
|
check_deps = {{ config.check_deps }}
|
||||||
greedy_method = 'build'
|
greedy_method = 'build'
|
||||||
|
|
||||||
|
gather_lookaside_repos = [
|
||||||
|
('^.*$', {
|
||||||
|
'*': [
|
||||||
|
{%- for lookaside_repo in config.lookaside_repos %}
|
||||||
|
'{{ lookaside_repo }}',
|
||||||
|
{%- endfor %}
|
||||||
|
]
|
||||||
|
}),
|
||||||
|
]
|
||||||
|
|
||||||
# CREATEREPO
|
# CREATEREPO
|
||||||
createrepo_c = True
|
createrepo_c = True
|
||||||
createrepo_checksum = 'sha256'
|
createrepo_checksum = 'sha256'
|
||||||
|
@ -70,7 +119,7 @@ create_jigdo = False
|
||||||
# BUILDINSTALL
|
# BUILDINSTALL
|
||||||
{%- if config.bootable %}
|
{%- if config.bootable %}
|
||||||
buildinstall_method="lorax"
|
buildinstall_method="lorax"
|
||||||
buildinstall_use_guestmount=False
|
buildinstall_topdir="/mnt/koji/compose/odcs"
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|
||||||
skip_phases = [
|
skip_phases = [
|
||||||
|
@ -84,10 +133,18 @@ skip_phases = [
|
||||||
"live_images",
|
"live_images",
|
||||||
"ostree"]
|
"ostree"]
|
||||||
|
|
||||||
link_type = 'symlink'
|
|
||||||
|
|
||||||
translate_paths = [
|
translate_paths = [
|
||||||
|
('/mnt/koji/compose/', 'http://kojipkgs.fedoraproject.org/compose/'),
|
||||||
]
|
]
|
||||||
|
|
||||||
koji_profile = '{{ config.koji_profile }}'
|
koji_profile = '{{ config.koji_profile }}'
|
||||||
|
|
||||||
|
repoclosure_strictness = [('.*', {'*': 'off'})]
|
||||||
|
|
||||||
|
{%- if config.include_devel_modules %}
|
||||||
|
include_devel_modules = { "Temporary": [
|
||||||
|
{%- for ns in config.include_devel_modules %}
|
||||||
|
'{{ ns }}',
|
||||||
|
{%- endfor%}
|
||||||
|
]}
|
||||||
|
{%- endif %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue