[ansible] Drop --setopt=optional_metadata_types=filelists
by Nicolas Chauvet
commit 26eda6a31fcae1701683120661c53815ad95d5d2
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Tue Oct 1 18:26:04 2024 +0200
Drop --setopt=optional_metadata_types=filelists
.../koji_builder/files/builders/site-defaults.cfg | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/roles/koji_builder/files/builders/site-defaults.cfg b/roles/koji_builder/files/builders/site-defaults.cfg
index eab1c00..e0b8a30 100644
--- a/roles/koji_builder/files/builders/site-defaults.cfg
+++ b/roles/koji_builder/files/builders/site-defaults.cfg
@@ -1,6 +1,6 @@
config_opts['plugin_conf']['package_state_enable'] = False
config_opts['plugin_conf']['ccache_enable'] = False
-config_opts['dnf_common_opts'] = ['--setopt=install_weak_deps=0', '--setopt=optional_metadata_types=filelists']
+config_opts['dnf_common_opts'] = ['--setopt=install_weak_deps=0']
config_opts['macros']['%bugurl'] = 'https://bugz.rpmfusion.org/%name'
config_opts['http_proxy'] = 'http://proxy:3128'
config_opts['nosync'] = True
4 days, 17 hours
[ansible] Sync with fedora koji_builder
by Nicolas Chauvet
commit 36df0bd8eea58f99450bbeee3ef877364bbd5f27
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Tue Oct 1 18:25:13 2024 +0200
Sync with fedora koji_builder
roles/koji_builder/tasks/main.yml | 38 +++++++++++++++++++++++++++++++++++-
1 files changed, 36 insertions(+), 2 deletions(-)
---
diff --git a/roles/koji_builder/tasks/main.yml b/roles/koji_builder/tasks/main.yml
index 98a70ad..c60ebe0 100644
--- a/roles/koji_builder/tasks/main.yml
+++ b/roles/koji_builder/tasks/main.yml
@@ -78,9 +78,11 @@
- koji-builder-plugins
- python3-koji
- koji-containerbuild-builder
- - libvirt-daemon
- strace
- mock
+ - mock-rpmautospec
+ - kernel-firmware
+ - kernel-modules
- rsyslog
- audit
- pycdio
@@ -88,10 +90,36 @@
- libvirt-client
- pykickstart
- nosync
- - oz
tags:
- koji_builder
+#
+# rpmautospec plugin
+#
+
+- name: remove koji builder rpmautospec plugin
+ package:
+ name:
+ - koji-builder-plugin-rpmautospec
+ - python3-rpmautospec
+ - rpmautospec
+ state: absent
+ tags:
+ - packages
+ - koji_builder
+ - rpmautospec
+- name: remove obsolete configuration of rpmautospec
+ file:
+ path: "/etc/kojid/plugins/{{ item }}"
+ state: absent
+ loop:
+ - rpmautospec.conf
+ - rpmautospec.conf.rpmnew
+ - rpmautospec.conf.rpmsave
+ - rpmautospec.conf.rpmorig
+ tags:
+ - koji_builder
+ - rpmautospec
- name: Install arm UEFI firmware package (aarch64 only)
package: name=edk2-arm state=present
tags:
@@ -301,3 +329,9 @@
- koji_builder
- koji_builder/rngd
when: ansible_architecture != 's390x'
+
+- name: disable systemd-oomd we do not need or want it
+ systemd: name=systemd-oomd state=stopped enabled=no masked=true
+ tags:
+ - koji_builder
+ - koji_builder/oomd
4 days, 17 hours