Skip to content

Commit

Permalink
remove old rosa cfgs add cooker ones
Browse files Browse the repository at this point in the history
  • Loading branch information
fedya committed Oct 10, 2019
1 parent eebfa21 commit e19e213
Show file tree
Hide file tree
Showing 14 changed files with 106 additions and 240 deletions.
53 changes: 53 additions & 0 deletions configs/cooker-x86_64.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
config_opts['target_arch'] = 'x86_64'
config_opts['legal_host_arches'] = ('i586', 'i686', 'x86_64', 'x86_64')
config_opts['root'] = 'cooker-x86_64'
config_opts['chroot_setup_cmd'] = ('install', 'basesystem-minimal', 'locales', 'locales-en', 'distro-release-OpenMandriva', 'gnupg', 'shadow', 'rpm-build', 'glibc-devel' ,'wget', 'task-devel', 'openmandriva-repos-pkgprefs', 'rpmlint-distro-policy', 'dwz', 'dnf')
config_opts['package_manager'] = 'dnf'
config_opts['dnf_common_opts'] = ['--refresh', '--disableplugin=local', '--setopt=deltarpm=False', '--forcearch=x86_64']
config_opts['dnf_builddep_opts'] = ['--refresh', '--forcearch=x86_64']
config_opts['useradd'] = '/usr/sbin/useradd -o -m -u %(uid)s -g %(gid)s -d %(home)s %(user)s'
config_opts['releasever'] = '0'
config_opts['use_nspawn'] = False
config_opts['tar'] = 'bsdtar'
config_opts['basedir'] = '/var/lib/mock/'
config_opts['cache_topdir'] = '/var/cache/mock/'
config_opts['nosync'] = True
config_opts['plugin_conf']['tmpfs_enable'] = True
config_opts['plugin_conf']['tmpfs_opts'] = {}
config_opts['plugin_conf']['tmpfs_opts']['required_ram_mb'] = 16000
config_opts['plugin_conf']['tmpfs_opts']['max_fs_size'] = '80%'
config_opts['plugin_conf']['tmpfs_opts']['mode'] = '0755'
config_opts['plugin_conf']['tmpfs_opts']['keep_mounted'] = False
config_opts['dist'] = 'cooker'
config_opts['plugin_conf']['ccache_enable'] = False
config_opts['plugin_conf']['root_cache_opts']['compress_program'] = ''
config_opts['plugin_conf']['root_cache_opts']['extension'] = ''
config_opts['plugin_conf']['root_cache_enable'] = True
config_opts['plugin_conf']['root_cache_opts']['age_check'] = True
config_opts['plugin_conf']['root_cache_opts']['max_age_days'] = 1
config_opts['plugin_conf']['package_state_enable'] = True
config_opts['plugin_conf']['package_state_opts'] = {}
config_opts['plugin_conf']['package_state_opts']['available_pkgs'] = False
config_opts['plugin_conf']['package_state_opts']['installed_pkgs'] = True

config_opts['yum.conf'] = """
[main]
keepcache=1
debuglevel=2
reposdir=/dev/null
retries=20
obsoletes=1
gpgcheck=0
assumeyes=1
syslog_ident=mock
syslog_device=
install_weak_deps=0
metadata_expire=60s
best=1
[cooker_main_release]
name=cooker_main_release
baseurl=http://abf-downloads.openmandriva.org/cooker/repository/x86_64/main/release
gpgcheck=0
enabled=1
"""
53 changes: 53 additions & 0 deletions configs/cooker-znver1.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
config_opts['target_arch'] = 'znver1'
config_opts['legal_host_arches'] = ('i586', 'i686', 'x86_64', 'znver1')
config_opts['root'] = 'cooker-znver1'
config_opts['chroot_setup_cmd'] = ('install', 'basesystem-minimal', 'locales', 'locales-en', 'distro-release-OpenMandriva', 'gnupg', 'shadow', 'rpm-build', 'glibc-devel' ,'wget', 'task-devel', 'openmandriva-repos-pkgprefs', 'rpmlint-distro-policy', 'dwz', 'dnf')
config_opts['package_manager'] = 'dnf'
config_opts['dnf_common_opts'] = ['--refresh', '--disableplugin=local', '--setopt=deltarpm=False', '--forcearch=znver1']
config_opts['dnf_builddep_opts'] = ['--refresh', '--forcearch=znver1']
config_opts['useradd'] = '/usr/sbin/useradd -o -m -u %(uid)s -g %(gid)s -d %(home)s %(user)s'
config_opts['releasever'] = '0'
config_opts['use_nspawn'] = False
config_opts['tar'] = 'bsdtar'
config_opts['basedir'] = '/var/lib/mock/'
config_opts['cache_topdir'] = '/var/cache/mock/'
config_opts['nosync'] = True
config_opts['plugin_conf']['tmpfs_enable'] = True
config_opts['plugin_conf']['tmpfs_opts'] = {}
config_opts['plugin_conf']['tmpfs_opts']['required_ram_mb'] = 16000
config_opts['plugin_conf']['tmpfs_opts']['max_fs_size'] = '80%'
config_opts['plugin_conf']['tmpfs_opts']['mode'] = '0755'
config_opts['plugin_conf']['tmpfs_opts']['keep_mounted'] = False
config_opts['dist'] = 'cooker'
config_opts['plugin_conf']['ccache_enable'] = False
config_opts['plugin_conf']['root_cache_opts']['compress_program'] = ''
config_opts['plugin_conf']['root_cache_opts']['extension'] = ''
config_opts['plugin_conf']['root_cache_enable'] = True
config_opts['plugin_conf']['root_cache_opts']['age_check'] = True
config_opts['plugin_conf']['root_cache_opts']['max_age_days'] = 1
config_opts['plugin_conf']['package_state_enable'] = True
config_opts['plugin_conf']['package_state_opts'] = {}
config_opts['plugin_conf']['package_state_opts']['available_pkgs'] = False
config_opts['plugin_conf']['package_state_opts']['installed_pkgs'] = True

config_opts['yum.conf'] = """
[main]
keepcache=1
debuglevel=2
reposdir=/dev/null
retries=20
obsoletes=1
gpgcheck=0
assumeyes=1
syslog_ident=mock
syslog_device=
install_weak_deps=0
metadata_expire=60s
best=1
[cooker_main_release]
name=cooker_main_release
baseurl=http://abf-downloads.openmandriva.org/cooker/repository/znver1/main/release
gpgcheck=0
enabled=1
"""
23 changes: 0 additions & 23 deletions configs/rosa2012.1-i586-all.cfg

This file was deleted.

17 changes: 0 additions & 17 deletions configs/rosa2012.1-i586-main.cfg

This file was deleted.

23 changes: 0 additions & 23 deletions configs/rosa2012.1-x86_64-all.cfg

This file was deleted.

17 changes: 0 additions & 17 deletions configs/rosa2012.1-x86_64-main.cfg

This file was deleted.

23 changes: 0 additions & 23 deletions configs/rosa2012lts-i586-all.cfg

This file was deleted.

17 changes: 0 additions & 17 deletions configs/rosa2012lts-i586-main.cfg

This file was deleted.

23 changes: 0 additions & 23 deletions configs/rosa2012lts-x86_64-all.cfg

This file was deleted.

17 changes: 0 additions & 17 deletions configs/rosa2012lts-x86_64-main.cfg

This file was deleted.

23 changes: 0 additions & 23 deletions configs/rosa2014.1-i586-all.cfg

This file was deleted.

17 changes: 0 additions & 17 deletions configs/rosa2014.1-i586-main.cfg

This file was deleted.

23 changes: 0 additions & 23 deletions configs/rosa2014.1-x86_64-all.cfg

This file was deleted.

Loading

0 comments on commit e19e213

Please sign in to comment.