Closed TD-4242 closed 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?
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.
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?
I get them all through the Chef-DK package. It includes almost everything except a couple of docker dependencies in an omnibus package.
You can use docker to run faster kitchen tests by running
Also fixed a few minor bugs.