michaelklishin / cassandra-chef-cookbook

Chef cookbook for Apache Cassandra, DataStax Enterprise (DSE) and DataStax agent
Apache License 2.0
163 stars 228 forks source link

some additions to testing and initial support for 3.0.0 #248

Closed TD-4242 closed 9 years ago

TD-4242 commented 9 years ago

You can use docker to run faster kitchen tests by running

export KI_DRIVER=docker

Also fixed a few minor bugs.

michaelklishin commented 9 years ago

@vkhatri I took the liberty to merge this even though the setup took me an hour and some downloads currently timeout, so I could miss something. Feel free to check after me.

@TD-4242 thanks, this is a substantial amount of work. It was fairly difficult to install all the gem dependencies on OS X. Can we simplify the setup somehow?

TD-4242 commented 9 years ago

I'm not sure, I don't use OSX so don't have a way to even test. Was it the install of kitchen-docker? or the docker setup itself?

edit: also, the initial downloads of the docker images does take a long time. But they are cached in stages so consecutive runs should be much quicker.

michaelklishin commented 9 years ago

I used Vagrant. It's the dependencies with native code, e.g. Nokogiri, that were most problematic. Moreover, our Gemfile.lock is gigantic: we have probably close to 100 dependencies. Is it really what we need to run integration tests?

TD-4242 commented 8 years ago

I get them all through the Chef-DK package. It includes almost everything except a couple of docker dependencies in an omnibus package.