[openstack-dev] [packaging] Adding packaging as an OpenStack project
Thomas Goirand
zigo at debian.org
Thu May 28 21:09:41 UTC 2015
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)
More information about the OpenStack-dev
mailing list