mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-29 04:51:16 +08:00
copr: add mock custom configs
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
config_opts['root'] = 'custom-0-i386'
|
||||
config_opts['target_arch'] = 'i686'
|
||||
config_opts['legal_host_arches'] = ('i386', 'i586', 'i686', 'x86_64')
|
||||
config_opts['chroot_setup_cmd'] = 'install @buildsys-build'
|
||||
config_opts['chroot_setup_cmd'] = ''
|
||||
config_opts['extra_chroot_dirs'] = [ '/run/lock', ]
|
||||
config_opts['package_manager'] = 'dnf'
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
config_opts['root'] = 'custom-0-ppc64le'
|
||||
config_opts['target_arch'] = 'ppc64le'
|
||||
config_opts['legal_host_arches'] = ('ppc64le',)
|
||||
config_opts['chroot_setup_cmd'] = 'install @buildsys-build'
|
||||
config_opts['chroot_setup_cmd'] = ''
|
||||
config_opts['extra_chroot_dirs'] = [ '/run/lock', ]
|
||||
config_opts['package_manager'] = 'dnf'
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
config_opts['root'] = 'custom-0-x86_64'
|
||||
config_opts['target_arch'] = 'x86_64'
|
||||
config_opts['legal_host_arches'] = ('x86_64',)
|
||||
config_opts['chroot_setup_cmd'] = 'install @buildsys-build'
|
||||
config_opts['chroot_setup_cmd'] = ''
|
||||
config_opts['extra_chroot_dirs'] = [ '/run/lock', ]
|
||||
config_opts['package_manager'] = 'dnf'
|
||||
|
||||
|
||||
@@ -50,6 +50,9 @@
|
||||
template: src=files/mock/{{ item }} dest=/etc/mock
|
||||
with_items:
|
||||
- site-defaults.cfg
|
||||
- custom-0-x86_64.cfg
|
||||
- custom-0-i386.cfg
|
||||
- custom-0-ppc64le.cfg
|
||||
|
||||
# TODO: file globs or ansible escaping works strange, now using predefined file location
|
||||
#- name: "fix mock configs to use nearest mirror"
|
||||
|
||||
Reference in New Issue
Block a user