[openstack-dev] [packaging] Adding packaging as an OpenStack project
Jeremy Stanley
fungi at yuggoth.org
Tue Jun 2 12:39:30 UTC 2015
On 2015-06-02 09:02:42 +0200 (+0200), Thomas Goirand wrote:
[...]
> That will be the little bit more tricky part. Some libraries are very
> small, and probably caching will not be useful (too much work when
> building the VM image). However, for big projects (nova, neutron,
> cinder...), then we'll have to do something for Git repository caching.
[...]
Well, my point is those repos are already cached on every worker in
/opt/git (e.g., /opt/git/openstack/nova) and you can git clone, cp
or rsync those into your package build chroot. Then git remote
set-url, update and reset --hard to the branch you want so that
you're just pulling the delta from the last few hours (up to a day's
worth generally, if everything is working correctly). Right now all
our job workers have basically current caches of all ~700 repos
hosted in our Gerrit.
--
Jeremy Stanley
More information about the OpenStack-dev
mailing list