Difference between revisions of "Fedora-ARM,Dogfood - koji Hub"

From CDOT Wiki
Jump to: navigation, search
 
(7 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
== Project Description ==
 
== Project Description ==
  
The Fedora-ARM koji system uese HongKong,an x86_64 system, as the Koji hub.
+
The Fedora-ARM koji system uese IRAQ,an x86_64 system, as the Koji hub.
  
 
The Fedora-ARM project to use ARM system as the Koji hub(this is called "Eating own dogfood" in the industry)
 
The Fedora-ARM project to use ARM system as the Koji hub(this is called "Eating own dogfood" in the industry)
Line 36: Line 36:
 
* Apache configuration
 
* Apache configuration
 
* Koji web and Koji hub
 
* Koji web and Koji hub
 +
  
  
Line 53: Line 54:
 
* createrepo
 
* createrepo
  
 +
On the yum repository creation and maintenance (kojira)
 +
 +
On the Bootrapping the Koji build environment
 +
 +
* Importing packages and preparing Koji to run builds
 +
* External Repos and preparing Koji to run builds
  
 
== Project Plan ==
 
== Project Plan ==
Line 67: Line 74:
 
* Copy certificates into ~/.koji for kojiadmin
 
* Copy certificates into ~/.koji for kojiadmin
  
[http://ycshon.blogspot.com/2010/11/sbr-600-project-release-01.html Here is release 0.1 result and test]
+
 
  
 
'''release 0.2 - PostgreSQL and koji hub'''
 
'''release 0.2 - PostgreSQL and koji hub'''
Line 84: Line 91:
 
* Give yourself admin permissions
 
* Give yourself admin permissions
  
[http://ycshon.blogspot.com/2010/11/sbr-600-project-release-02-1.html Here is release 0.2-1 Installed and set up PostgreSQL]
+
 
  
 
'''release 0.2-2'''
 
'''release 0.2-2'''
Line 96: Line 103:
 
* Koji filesystem skeleton  
 
* Koji filesystem skeleton  
  
[http://ycshon.blogspot.com/2010/11/sbr-600-project-release-02-2.html Here is release 0.2-2 Set up Koji Hub]
+
 
 
 
* 0.3 - '''Koji Web'''
 
* 0.3 - '''Koji Web'''
  
 
'''release 0.3-1'''
 
'''release 0.3-1'''
  
'''1. kojiweb and Koji builder'''
+
'''1. kojiweb '''
  
 
* Install Koji-Web
 
* Install Koji-Web
 
* Required Configuration
 
* Required Configuration
 
* Optional Configuration
 
* Optional Configuration
 +
 +
'''2. Koji Builder'''
  
 
* Install kojid
 
* Install kojid
Line 116: Line 124:
 
* Start Kojid  
 
* Start Kojid  
  
[http://ycshon.blogspot.com/2010/12/sbr-600-project-release-03-1.html Here is release 0.3-1]
+
'''3.kojira'''
 +
 
 +
* Install kojira
 +
* Required Configuration
 +
* Optional Configuration
 +
* Add the user entry for the kojira user
 +
* Start Kojira
 +
 
 +
 
  
 
'''release 0.3-2'''  
 
'''release 0.3-2'''  
Line 123: Line 139:
  
 
* User account
 
* User account
* software
+
* Build packages
  
  
Line 151: Line 167:
  
 
[http://fedoraproject.org/wiki/Koji/ServerHowTo#PostgreSQL_Server PostgreSQL_Server]
 
[http://fedoraproject.org/wiki/Koji/ServerHowTo#PostgreSQL_Server PostgreSQL_Server]
 +
 +
[http://fedoraproject.org/wiki/Koji/ServerBootstrap importing packages and preparing Koji to run builds]
 +
 +
[http://fedoraproject.org/wiki/Koji/ExternalRepoServerBootstrap External Repos and preparing Koji to run builds]

Latest revision as of 08:17, 13 January 2011

Project Name

Fedora-ARM Dogfood -Koji Hub

Project Description

The Fedora-ARM koji system uese IRAQ,an x86_64 system, as the Koji hub.

The Fedora-ARM project to use ARM system as the Koji hub(this is called "Eating own dogfood" in the industry)

The project involves configuring the OpenRD-Client system as koji hub.

The Fedora ARM Koji system is running. It is currently building F13 under the supervision of Whalen and Chris Tyler. Koji have 22 hardware ARM builders. I am in the progress of building Fedora 13 under IRAQ.

Project Leader(s)

Young Chol Shon

Project Contributor(s)

No one contributed to this project

Project Details

Setting Up a Koji Build System

The Koji components may live on separate resources as long as all resources are able to communicate. To understand koji configuration is an important in project.

KOJI Configuration

  • SSL and authentication via certificates
  • Creating a database in PostgreSQL and importing a schema
  • Working with psql
  • Apache configuration
  • Koji web and Koji hub


Packages

On the server (koji-hub/koji-web)

  • httpd
  • mod_ssl
  • postgresql-server
  • mod_python (>= 3.3.1 for Kerberos authentication)

On the builder (koji-builder)

  • mock
  • rpm-build
  • createrepo

On the yum repository creation and maintenance (kojira)

On the Bootrapping the Koji build environment

  • Importing packages and preparing Koji to run builds
  • External Repos and preparing Koji to run builds

Project Plan

Goals for each release:

release 0.1 - Koji Certificates

setting up SSL Certificates for Authentication

  • Certificate generation
  • Generate CA
  • Generate the koji component certificates and the admin certificate
  • Copy certificates into ~/.koji for kojiadmin


release 0.2 - PostgreSQL and koji hub

release 0.2-1

1.PostgreSQL Server

  • Install PostgreSQL
  • Initialize PostgreSQL DB
  • Setup User Accounts
  • Setup PostgreSQL and populate schema
  • Authorize Koji-web and Koji-hub resources
  • Make auth changes live
  • SSL Certificate authentication
  • Give yourself admin permissions


release 0.2-2

2.Koji hub

  • Install koji-hub
  • Required Configuration
  • Optional Configuration
  • SELinux Configuration
  • Koji filesystem skeleton


  • 0.3 - Koji Web

release 0.3-1

1. kojiweb

  • Install Koji-Web
  • Required Configuration
  • Optional Configuration

2. Koji Builder

  • Install kojid
  • Required Configuration
  • Optional Configuration (SSL certificates)
  • Add the host entry for the koji builder to the database
  • Add the host to the createrepo channel
  • A note on capacity
  • Start Kojid

3.kojira

  • Install kojira
  • Required Configuration
  • Optional Configuration
  • Add the user entry for the kojira user
  • Start Kojira


release 0.3-2

2. Test kojiweb

  • User account
  • Build packages


Project News

1,November I will do Project Plan 0.1- I set up Koji Certificates

5,November I did build and create Koji Certifacation on IRAQ server.

19,November I set up Koji Database.

26,November Setting up Postgresql server for Koji part 1

6,Dec Setting up Postgresql server for Koji part two

16,Dev setting up Koji hub and Koji web,

Resources

How to get koji certificate?

Configuration of CDOT_Development system

How To Setting up and Using Koji on Fedora

PostgreSQL9.1 devel Document

PostgreSQL_Server

importing packages and preparing Koji to run builds

External Repos and preparing Koji to run builds