(initial) |
|||
Line 5: | Line 5: | ||
== Overview == | == Overview == | ||
[[File:kojiplan.jpg]] | |||
=== Primary Inputs === | === Primary Inputs === |
Revision as of 15:38, 22 May 2013
Plan for Koji
This is the basic plan for how automatic image generation will work in Koji.
Overview
Primary Inputs
1. Kickstart files
Configuration
1. List of kickstart files to use 2. EC2 upload credentials
Final Outputs
1. The final, uploaded images. 2. A web page linking to these images / listing AMI ids
Steps
1. A cron job will fire off the image builds 2. As they complete, Koji sends messages on the Fedora Message Bus (fedmsg) 3. An Uploader Service consumes these messages and uploads EC2 images to Amazon and other images to http://alt.fedoraproject.org/cloud/
Specifics
1. Cron Tasks
Right now, livecd nightly builds are launched by hand. A cron script should automate this instead. The current process requires Koji admin credentials; the new system should avoid that.
2. Koji Fedmsg Integration
Right now, Koji does not send notifications for scratch builds. We need to either change that or make these "real" builds.
3. The Uploader Service
This needs to listen to fedmsg