summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2024-09-23 16:00:03 +0200
committerRemi Collet <remi@php.net>2024-09-23 16:00:03 +0200
commit4ccbbcfa5cb8b9c06bc5c041e3b31ea450244797 (patch)
treea5b61260302473c26f606765b0bd974f198c21c8
parentaf01ce77e0eddb37a011871650d21f1eb8d7cd12 (diff)
8.4 as module mock config
-rw-r--r--el8a84.cfg27
-rw-r--r--el8x84.cfg28
-rw-r--r--el9a84.cfg28
-rw-r--r--el9x84.cfg34
-rw-r--r--fc39a84.cfg32
-rw-r--r--fc39x84.cfg32
-rw-r--r--fc40a84.cfg31
-rw-r--r--fc40x84.cfg31
-rw-r--r--fc41a84.cfg31
-rw-r--r--fc41x84.cfg31
10 files changed, 305 insertions, 0 deletions
diff --git a/el8a84.cfg b/el8a84.cfg
new file mode 100644
index 0000000..fedfe27
--- /dev/null
+++ b/el8a84.cfg
@@ -0,0 +1,27 @@
+import datetime;
+
+include('el8a.tpl')
+
+config_opts['root'] = 'el8a84'
+config_opts['resultdir'] = "/var/lib/mock/el8a84"
+
+config_opts['module_enable'] = ['varnish:6', 'postgresql:10', 'python27:2.7', 'python36:3.6', 'virt:rhel', 'httpd:2.4', 'nginx:1.14', 'php:remi-8.4', 'redis:remi-7.0']
+config_opts['module_install'] = ['php:remi-8.4/devel']
+
+nn = datetime.datetime.now().strftime("%Y%m%d%H%M%S");
+config_opts['macros']['%_module_build']="1"
+config_opts['macros']['%_module_name']="php"
+config_opts['macros']['%_module_stream']="remi-8.4"
+config_opts['macros']['%_module_version']="81000" + nn;
+config_opts['macros']['%_module_context']="00000000"
+config_opts['macros']['%modularitylabel']="%{_module_name}:%{_module_stream}:%{_module_version}:%{_module_context}"
+
+config_opts['yum.conf'] += """
+[result-el8a84]
+name=result-el8a84
+baseurl=file:/var/lib/mock/el8a84/
+metadata_expire=15
+enabled=1
+module_hotfixes=1
+skip_if_unavailable=True
+"""
diff --git a/el8x84.cfg b/el8x84.cfg
new file mode 100644
index 0000000..9120826
--- /dev/null
+++ b/el8x84.cfg
@@ -0,0 +1,28 @@
+import datetime;
+
+include('el8x.tpl')
+
+config_opts['root'] = 'el8x84'
+config_opts['resultdir'] = "/var/lib/mock/el8x84"
+
+config_opts['module_enable'] = ['varnish:6', 'postgresql:10', 'python27:2.7', 'python36:3.6', 'virt:rhel', 'httpd:2.4', 'nginx:1.14', 'php:remi-8.4', 'redis:remi-7.0']
+config_opts['module_install'] = ['php:remi-8.4/devel']
+
+nn = datetime.datetime.now().strftime("%Y%m%d%H%M%S");
+config_opts['macros']['%_module_build']="1"
+config_opts['macros']['%_module_name']="php"
+config_opts['macros']['%_module_stream']="remi-8.4"
+config_opts['macros']['%_module_version']="81000" + nn;
+config_opts['macros']['%_module_context']="00000000"
+config_opts['macros']['%modularitylabel']="%{_module_name}:%{_module_stream}:%{_module_version}:%{_module_context}"
+
+config_opts['yum.conf'] += """
+[result-el8x84]
+name=result-el8x
+baseurl=file:/var/lib/mock/el8x84/
+metadata_expire=15
+enabled=1
+module_hotfixes=1
+skip_if_unavailable=True
+
+"""
diff --git a/el9a84.cfg b/el9a84.cfg
new file mode 100644
index 0000000..020ec1a
--- /dev/null
+++ b/el9a84.cfg
@@ -0,0 +1,28 @@
+import datetime;
+
+include('el9a.tpl')
+
+config_opts['root'] = 'el9a84'
+config_opts['resultdir'] = "/var/lib/mock/el9a84"
+
+config_opts['module_enable'] = ['php:remi-8.4', 'redis:remi-7.0']
+config_opts['module_install'] = ['php:remi-8.4/devel']
+
+nn = datetime.datetime.now().strftime("%Y%m%d%H%M%S");
+config_opts['macros']['%_module_build']="1"
+config_opts['macros']['%_module_name']="php"
+config_opts['macros']['%_module_stream']="remi-8.4"
+config_opts['macros']['%_module_version']="90400" + nn;
+config_opts['macros']['%_module_context']="00000000"
+config_opts['macros']['%modularitylabel']="%{_module_name}:%{_module_stream}:%{_module_version}:%{_module_context}"
+
+config_opts['yum.conf'] += """
+[result-el9a84]
+name=result-el9a84
+baseurl=file:/var/lib/mock/el9a84/
+metadata_expire=15
+skip_if_unavailable=True
+enabled=1
+module_hotfixes=1
+
+"""
diff --git a/el9x84.cfg b/el9x84.cfg
new file mode 100644
index 0000000..abc75ae
--- /dev/null
+++ b/el9x84.cfg
@@ -0,0 +1,34 @@
+import datetime;
+
+include('el9x.tpl')
+
+config_opts['root'] = 'el9x84'
+config_opts['resultdir'] = "/var/lib/mock/el9x84"
+
+config_opts['module_enable'] = ['php:remi-8.4', 'redis:remi-7.0']
+config_opts['module_install'] = ['php:remi-8.4/devel']
+
+nn = datetime.datetime.now().strftime("%Y%m%d%H%M%S");
+config_opts['macros']['%_module_build']="1"
+config_opts['macros']['%_module_name']="php"
+config_opts['macros']['%_module_stream']="remi-8.4"
+config_opts['macros']['%_module_version']="90400" + nn;
+config_opts['macros']['%_module_context']="00000000"
+config_opts['macros']['%modularitylabel']="%{_module_name}:%{_module_stream}:%{_module_version}:%{_module_context}"
+
+config_opts['yum.conf'] += """
+[remi-php84]
+name=remi php84
+baseurl=file:/home/rpmbuild/site/rpms/enterprise/9/php84/x86_64/
+enabled=0
+metadata_expire=15
+
+[result-el9x84]
+name=result-el9x
+baseurl=file:/var/lib/mock/el9x84/
+metadata_expire=15
+enabled=1
+module_hotfixes=1
+skip_if_unavailable=True
+
+"""
diff --git a/fc39a84.cfg b/fc39a84.cfg
new file mode 100644
index 0000000..69d1ceb
--- /dev/null
+++ b/fc39a84.cfg
@@ -0,0 +1,32 @@
+import datetime;
+
+include('fc39a.tpl')
+
+config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache'
+config_opts['root'] = 'fc39a84'
+config_opts['resultdir'] = "/var/lib/mock/fc39a84"
+config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc39a84/"
+
+config_opts['module_enable'] = ['php:remi-8.4']
+config_opts['module_install'] = ['php:remi-8.4/devel']
+
+nn = datetime.datetime.now().strftime("%Y%m%d%H%M%S");
+config_opts['macros']['%_module_build']="1"
+config_opts['macros']['%_module_name']="php"
+config_opts['macros']['%_module_stream']="remi-8.4"
+config_opts['macros']['%_module_version']="39" + nn;
+config_opts['macros']['%_module_context']="00000000"
+config_opts['macros']['%modularitylabel']="%{_module_name}:%{_module_stream}:%{_module_version}:%{_module_context}"
+
+config_opts['yum.conf'] += """
+[result-fc39a84]
+name=result-fc39a84
+baseurl=file:/var/lib/mock/fc39a84/
+enabled=1
+metadata_expire=1
+module_hotfixes=1
+priority=1
+skip_if_unavailable=True
+
+"""
+
diff --git a/fc39x84.cfg b/fc39x84.cfg
new file mode 100644
index 0000000..e67e190
--- /dev/null
+++ b/fc39x84.cfg
@@ -0,0 +1,32 @@
+import datetime;
+
+include('fc39x.tpl')
+
+config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache'
+config_opts['root'] = 'fc39x84'
+config_opts['resultdir'] = "/var/lib/mock/fc39x84"
+config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc39x84/"
+
+config_opts['module_enable'] = ['php:remi-8.4']
+config_opts['module_install'] = ['php:remi-8.4/devel']
+
+nn = datetime.datetime.now().strftime("%Y%m%d%H%M%S");
+config_opts['macros']['%_module_build']="1"
+config_opts['macros']['%_module_name']="php"
+config_opts['macros']['%_module_stream']="remi-8.4"
+config_opts['macros']['%_module_version']="39" + nn;
+config_opts['macros']['%_module_context']="00000000"
+config_opts['macros']['%modularitylabel']="%{_module_name}:%{_module_stream}:%{_module_version}:%{_module_context}"
+
+config_opts['yum.conf'] += """
+[result-fc39x84]
+name=result-fc39x84
+baseurl=file:/var/lib/mock/fc39x84/
+enabled=1
+metadata_expire=1
+module_hotfixes=1
+priority=1
+skip_if_unavailable=True
+
+"""
+
diff --git a/fc40a84.cfg b/fc40a84.cfg
new file mode 100644
index 0000000..ea906cb
--- /dev/null
+++ b/fc40a84.cfg
@@ -0,0 +1,31 @@
+import datetime;
+
+include('fc40a.tpl')
+
+config_opts['root'] = 'fc40a84'
+config_opts['resultdir'] = "/var/lib/mock/fc40a84"
+config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc40a84/"
+
+config_opts['module_enable'] = ['php:remi-8.4']
+config_opts['module_install'] = ['php:remi-8.4/devel']
+
+nn = datetime.datetime.now().strftime("%Y%m%d%H%M%S");
+config_opts['macros']['%_module_build']="1"
+config_opts['macros']['%_module_name']="php"
+config_opts['macros']['%_module_stream']="remi-8.4"
+config_opts['macros']['%_module_version']="40" + nn;
+config_opts['macros']['%_module_context']="00000000"
+config_opts['macros']['%modularitylabel']="%{_module_name}:%{_module_stream}:%{_module_version}:%{_module_context}"
+
+config_opts['yum.conf'] += """
+[result-fc40a84]
+name=result-fc40a84
+baseurl=file:/var/lib/mock/fc40a84/
+enabled=1
+metadata_expire=1
+module_hotfixes=1
+priority=1
+skip_if_unavailable=True
+
+"""
+
diff --git a/fc40x84.cfg b/fc40x84.cfg
new file mode 100644
index 0000000..227a017
--- /dev/null
+++ b/fc40x84.cfg
@@ -0,0 +1,31 @@
+import datetime;
+
+include('fc40x.tpl')
+
+config_opts['root'] = 'fc40x84'
+config_opts['resultdir'] = "/var/lib/mock/fc40x84"
+config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc40x84/"
+
+config_opts['module_enable'] = ['php:remi-8.4']
+config_opts['module_install'] = ['php:remi-8.4/devel']
+
+nn = datetime.datetime.now().strftime("%Y%m%d%H%M%S");
+config_opts['macros']['%_module_build']="1"
+config_opts['macros']['%_module_name']="php"
+config_opts['macros']['%_module_stream']="remi-8.4"
+config_opts['macros']['%_module_version']="40" + nn;
+config_opts['macros']['%_module_context']="00000000"
+config_opts['macros']['%modularitylabel']="%{_module_name}:%{_module_stream}:%{_module_version}:%{_module_context}"
+
+config_opts['yum.conf'] += """
+[result-fc40x84]
+name=result-fc40x84
+baseurl=file:/var/lib/mock/fc40x84/
+enabled=1
+metadata_expire=1
+module_hotfixes=1
+priority=1
+skip_if_unavailable=True
+
+"""
+
diff --git a/fc41a84.cfg b/fc41a84.cfg
new file mode 100644
index 0000000..cf2d519
--- /dev/null
+++ b/fc41a84.cfg
@@ -0,0 +1,31 @@
+import datetime;
+
+include('fc41a.tpl')
+
+config_opts['root'] = 'fc41a84'
+config_opts['resultdir'] = "/var/lib/mock/fc41a84"
+config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc41a84/"
+
+config_opts['module_enable'] = ['php:remi-8.4']
+config_opts['module_install'] = ['php:remi-8.4/devel']
+
+nn = datetime.datetime.now().strftime("%Y%m%d%H%M%S");
+config_opts['macros']['%_module_build']="1"
+config_opts['macros']['%_module_name']="php"
+config_opts['macros']['%_module_stream']="remi-8.4"
+config_opts['macros']['%_module_version']="41" + nn;
+config_opts['macros']['%_module_context']="00000000"
+config_opts['macros']['%modularitylabel']="%{_module_name}:%{_module_stream}:%{_module_version}:%{_module_context}"
+
+config_opts['yum.conf'] += """
+[result-fc41a84]
+name=result-fc41a84
+baseurl=file:/var/lib/mock/fc41a84/
+enabled=1
+metadata_expire=1
+module_hotfixes=1
+priority=1
+skip_if_unavailable=True
+
+"""
+
diff --git a/fc41x84.cfg b/fc41x84.cfg
new file mode 100644
index 0000000..a49cb22
--- /dev/null
+++ b/fc41x84.cfg
@@ -0,0 +1,31 @@
+import datetime;
+
+include('fc41x.tpl')
+
+config_opts['root'] = 'fc41x84'
+config_opts['resultdir'] = "/var/lib/mock/fc41x84"
+config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc41x84/"
+
+config_opts['module_enable'] = ['php:remi-8.4']
+config_opts['module_install'] = ['php:remi-8.4/devel']
+
+nn = datetime.datetime.now().strftime("%Y%m%d%H%M%S");
+config_opts['macros']['%_module_build']="1"
+config_opts['macros']['%_module_name']="php"
+config_opts['macros']['%_module_stream']="remi-8.4"
+config_opts['macros']['%_module_version']="41" + nn;
+config_opts['macros']['%_module_context']="00000000"
+config_opts['macros']['%modularitylabel']="%{_module_name}:%{_module_stream}:%{_module_version}:%{_module_context}"
+
+config_opts['yum.conf'] += """
+[result-fc41x84]
+name=result-fc41x84
+baseurl=file:/var/lib/mock/fc41x84/
+enabled=1
+metadata_expire=1
+module_hotfixes=1
+priority=1
+skip_if_unavailable=True
+
+"""
+