caching packages on koji builder

Mike Bonnet mikeb at redhat.com
Wed Nov 5 15:43:36 UTC 2008


On Wed, 2008-11-05 at 10:55 +0100, Dan Horák wrote:
> Hello,
> 
> is it possible to somehow cache the packages that are going from koji
> hub to the builder to create a build root? There is no NFS connection
> between the builder and hub in s390's koji and so each build requires to
> download 100 MB via XMLRPC(?) and this is slow. Will squid help here?

Koji builders have never downloaded packages via XMLRPC.  All
downloading is done by mock/yum, via http (previously nfs).

You could potentially use squid locally to cache downloaded packages.
You'd configure pkgurl in koji.conf to point to your local squid
instance at "http://localhost:8080/koji/packages" or something similar,
and configure squid to pull from the actual http location
where /mnt/koji/packages is being served.





More information about the Fedora-buildsys-list mailing list