RATS replacement with Koji image building

Tim Flink tflink at redhat.com
Tue Mar 11 10:33:02 UTC 2014


On Tue, 11 Mar 2014 04:47:45 -0400 (EDT)
Kamil Paral <kparal at redhat.com> wrote:

> > On Mon, 10 Mar 2014 13:30:16 -0400 (EDT)
> > Kamil Paral <kparal at redhat.com> wrote:
> > 
> > > I've finally had time to watch some DevConf talks I couldn't
> > > personally attend. This one is very interesting:
> > > 
> > > http://www.youtube.com/watch?v=rWwugyV9J0Q&index=20&list=PLjT7F8YwQhr928YsRxmOs8hUyX_KG-S0T
> > > 
> > > I believe we could use it as a very simple RATS replacement. All
> > > the heavy lifting would be done by someone else. I have created a
> > > ticket about this:
> > > https://phab.qadevel.cloud.fedoraproject.org/T94
> > 
> > For non-iso image creation, sure. Can it support iso creation or
> > anything that uses anaconda? It kinda sounds designed for cloud
> > images instead of anything which is using anaconda.
> 
> I'm not sure if we understand each other. The disk image creation
> process (run by Koji) uses anaconda, and IIUIC the result is a disk
> image (to be used in VMs, for example), not an ISO. So we don't need
> to do anything with the resulting images, we just throw it away. We
> would be just interested in the result.

OK, I see what you were getting at. Are you sure that the process is
actually using anaconda? I thought that it was using stuff like oz [1]
for image generation and only accepts kickstarts to make the tools
uniform.

[1] https://github.com/clalancette/oz/wiki

> So the whole check could look like this (pseudo code):
> 
> task = koji.buildImage('ks.cfg', 'fc21', scratch=True)
> task.wait()
> if task.success():
>   return PASSED
> else:
>   return FAILED
> 
> 
> This could be run daily.

If you're right about koji using anaconda then yeah, this would make
sense. Otherwise, I'm not sure how much value we'd see since the cloud
folks sound like they're planning to run image composes on a daily
basis or so.

> > 
> > > Of course, this is not our immediate concern. But I felt like
> > > sharing the video.
> > 
> > Thanks for sharing it, I didn't realize that the devconf videos were
> > available.
> 
> They are, but most of them are not added to the correct youtube
> playlist. I've asked people to fix it. In the meantime, all of them
> should be available in this view:
> http://www.youtube.com/user/RedHatCzech/videos
> 
> The quality is very low, unfortunately. The slides are available in
> their description.

Sure, but they're understandable and better than nothing :)

TIm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://lists.fedoraproject.org/pipermail/qa-devel/attachments/20140311/436535fd/attachment.sig>


More information about the qa-devel mailing list