GSoC 2012: On-Demand Fedora Build Service: Update #6
TheĀ code saw a number of cleanups and feature additions since the last change.
Major Additions:
- Basic Web UI functional: The web interface is quite clunky and ugly but functional. It is a Flask web application
- Celery for task delegation: No more SSH/SCP. The build service now uses celery (with AMQP as broker) for task delegation with workers designated as build nodes. The celery daemon however needs to run as root, since the image building process requires root acces. Configuration is specified via webapp/nodes.conf file
- FTP Image Hosting: You can specify a FTP server (enabled with anonymous login) to send your images to. The images are automatically copied to the FTP server by the code.
Cleanups
- Single configuration file to specify the type of image to create
- No hard-coded directory structure to be created
- Miscellaneous others
High-level Functioning
- User specifies the image creation information via the Web UI
- This information is used to create the imagebuild.conf configuration file
- A new process is created to delegate the task to a celery worker
- (The celeryd needs to be running on the workers)
- The worker process takes care of the image building and transfers the image to the specified FTP host
Todo
Here are the things I intend to work on next:
- Script to install dependencies
- Finish the cli client in webapp/
- x86_64 images
- Automatically copy the worker_src to celery workers
- Unit testing
- Implement error handling on the client UI
- Logging
- Email notification
- Enhanced UI (dynamic forms?)
- Need to think more on how the images will be stored and ability to identify an existing image uniquely. Timestamp?
Whereas, most other tasks of this project will be solved with time and effort, I am seriously concerned about the final look and feel of the Web UI. I would like it to look pretty, besides being functional.