Difference between revisions of "Koji Build Farm"

From SME Server
Jump to navigationJump to search
(Building a Koji Build Farm using Rocky 8 servers)
 
Line 1: Line 1:
 +
Official Koji documentation can be found at: https://docs.pagure.org/koji/
 +
 +
 
This is a work in progress.....
 
This is a work in progress.....
 +
 +
 
I'll document what I have done so far, what is working and what is not.
 
I'll document what I have done so far, what is working and what is not.
When the build farm is working, well add in how to configure it for building smeserver (packages, repositories and ISOs etc.)
+
 
 +
 
 +
When the build farm is working, we'll add in how to configure it for building smeserver (packages, repositories and ISOs etc.)
 +
 
 +
=== Building blocks ===
 +
A Koji Build farm is comprised of a number of components that work together.
 +
 
 +
Major Koji components:
 +
 
 +
* hub
 +
* web server
 +
* build servers
 +
* build daemon
 +
* Dnf|Yum repository creation and maintenance daemon
 +
 
 +
In our build, we will have only 2 servers.
 +
 
 +
* hub - which will run the hub, web, build daemon and def|Yum repository daemon
 +
* build server - there can be multiple of these, but we'll just do 1 to start with
 +
 
 +
These servers will be based on bare Rocky 8 - minimal install, servers.
 +
 
 +
===== Hub/Web Server =====
 +
OS: Rocky 8.8-minimal
 +
 
 +
Memory: 8GB
 +
 
 +
Disk: 20GB (but I'm only using ~25%)

Revision as of 06:26, 18 July 2023

Official Koji documentation can be found at: https://docs.pagure.org/koji/


This is a work in progress.....


I'll document what I have done so far, what is working and what is not.


When the build farm is working, we'll add in how to configure it for building smeserver (packages, repositories and ISOs etc.)

Building blocks

A Koji Build farm is comprised of a number of components that work together.

Major Koji components:

  • hub
  • web server
  • build servers
  • build daemon
  • Dnf|Yum repository creation and maintenance daemon

In our build, we will have only 2 servers.

  • hub - which will run the hub, web, build daemon and def|Yum repository daemon
  • build server - there can be multiple of these, but we'll just do 1 to start with

These servers will be based on bare Rocky 8 - minimal install, servers.

Hub/Web Server

OS: Rocky 8.8-minimal

Memory: 8GB

Disk: 20GB (but I'm only using ~25%)