[openstack-dev] how to provide tests environments for python things that require C extensions

Sean Dague sean at dague.net
Fri Sep 5 16:14:47 UTC 2014


On 09/05/2014 12:05 PM, Chris Dent wrote:
> On Fri, 5 Sep 2014, Monty Taylor wrote:
> 
>> The tl;dr is "it's like tox, except it uses docker instead of
>> virtualenv" - which means we can express all of our requirements, not
>> just pip ones.
> 
> Oh thank god[1].
> 
> Seriously.
> 
> jogo started a thread about "what matters for kilo" and I was going
> to respond with (amongst other things) "get containers into the testing
> scene". Seems you're way ahead of me. Docker's caching could be a
> _huge_ win here.
> 
> [1] https://www.youtube.com/watch?v=om5rbtudzrg
> 
>> across the project. Luckily, docker itself does an EXCELLENT job at
>> handling caching and reuse - so I think we can have a set of
>> containers that something in infra (waves hands) publishes to
>> dockerhub, like:
>>
>>  infra/py27
>>  infra/py26
> 
> I'm assuming these would get rebuilt regularly (every time global
> requirements and friends are updated) on some sort of automated
> hook?
> 
>> Thoughts? Anybody wanna hack on it with me? I think it could wind up
>> being a pretty useful tool for folks outside of OpenStack too if we
>> get it right.
> 
> Given availability (currently an unknown) I'd like to help with this.

I think all this is very cool, I'd say if we're going to put it in
gerrit do stackforge instead of openstack/ namespace, because it will be
useful beyond us.

	-Sean

-- 
Sean Dague
http://dague.net



More information about the OpenStack-dev mailing list