commit 2ab89ee49cdd3aaa5611d01f9b349c5096604580
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Fri Oct 18 17:33:01 2024 +0200
Add builders repos
...edorainfracloud.org:kwizart:infrastructure.repo | 10 ++++++++++
roles/koji_builder/files/infra-builders.repo | 5 +++++
roles/koji_builder/tasks/main.yml | 10 ++++++++++
3 files changed, 25 insertions(+), 0 deletions(-)
---
diff --git
a/roles/koji_builder/files/_copr:copr.fedorainfracloud.org:kwizart:infrastructure.repo
b/roles/koji_builder/files/_copr:copr.fedorainfracloud.org:kwizart:infrastructure.repo
new file mode 100644
index 0000000..3b09e7a
--- /dev/null
+++
b/roles/koji_builder/files/_copr:copr.fedorainfracloud.org:kwizart:infrastructure.repo
@@ -0,0 +1,10 @@
+[copr:copr.fedorainfracloud.org:kwizart:infrastructure]
+name=Copr repo for infrastructure owned by kwizart
+baseurl=https://download.copr.fedorainfracloud.org/results/kwizart/infrastructure/fedora-$releasever-$basearch/
+type=rpm-md
+skip_if_unavailable=True
+gpgcheck=1
+gpgkey=https://download.copr.fedorainfracloud.org/results/kwizart/infrastructure/pubkey.gpg
+repo_gpgcheck=0
+enabled=1
+enabled_metadata=1
diff --git a/roles/koji_builder/files/infra-builders.repo
b/roles/koji_builder/files/infra-builders.repo
new file mode 100644
index 0000000..9d7fd00
--- /dev/null
+++ b/roles/koji_builder/files/infra-builders.repo
@@ -0,0 +1,5 @@
+[infra-builders]
+name=RPM Fusion - Free - Infra builders
+baseurl=https://koji.rpmfusion.org/buildsys-override/infra-builders/$basearch/
+enabled=1
+gpgcheck=0
diff --git a/roles/koji_builder/tasks/main.yml b/roles/koji_builder/tasks/main.yml
index 0b6967a..053d1af 100644
--- a/roles/koji_builder/tasks/main.yml
+++ b/roles/koji_builder/tasks/main.yml
@@ -70,6 +70,16 @@
tags:
- koji_builder
+- name: Install some builders repositories
+ copy:
+ src: infra-builders.repo
+ dest: /etc/yum.repos.d/infra-builders.repo
+ with_items:
+ - infra-builders.repo
+ - _copr\:copr.fedorainfracloud.org\:kwizart\:infrastructure.repo
+ tags:
+ - koji_builder
+
- name: add pkgs
package:
state: present