[openstack-dev] [packaging] Adding packaging as an OpenStack project
Fox, Kevin M
Kevin.Fox at pnnl.gov
Thu May 28 22:45:37 UTC 2015
You could pass the cache through with a volume....
As for what docker buys you, it would allow a vm (or my desktop) running centos (as an example) to build packages for multiple distro's using the distro's own native tools. I see that as a plus.
Thanks,
Kevin
________________________________________
From: Thomas Goirand [zigo at debian.org]
Sent: Thursday, May 28, 2015 2:09 PM
To: OpenStack Development Mailing List (not for usage questions)
Subject: Re: [openstack-dev] [packaging] Adding packaging as an OpenStack project
On 05/28/2015 02:53 PM, Derek Higgins wrote:
>
>
> On 28/05/15 12:07, Jaume Devesa wrote:
>> Hi Thomas,
>>
>> Delorean is a tool to build rpm packages from master branches (maybe any
>> branch?) of OpenStack projects.
>>
>> Check out here:
>> https://www.rdoproject.org/packaging/rdo-packaging.html#master-pkg-guide
>
> Following those instructions you'll notice that the rpm's are being
> built using rpmbuild inside a docker container, if expanding to add dep
> support this is where we could plug in sbuild.
sbuild by itself already provides the single use trow-able chroot
feature, with very effective back ends like AUFS or LVM snapshots.
Adding docker would only have the bad effect to remove the package
caching feature of sbuild, so it makes no sense to use it, as sbuild
would constantly download from the internet instead of using its package
cache.
Also, it is my understanding that infra will not accept to use
long-living VMs, and prefer to spawn new instances. In such a case, I
don't see the point using docker which would be a useless layer. In
fact, I was even thinking that in this case, sbuild wouldn't be
required, and we could simply use mk-build-deps and git-buildpackage
without even using sbuild. The same dependency resolver (ie: apt) would
then be in use, just without the added sbuild layer. I used that already
to automatically build backports, and it was really fast.
Did I miss something here? Apart from the fact that Docker is trendy,
what feature would it bring?
By the way, one question: does Delorean use mock? We had the discussion
during an internal meeting, and we were not sure about this...
Cheers,
Thomas Goirand (zigo)
__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
More information about the OpenStack-dev
mailing list