CHEF PROVED TO BE AN UNRELYABLE TOOL AND WE'RE MOVING TO DOCKER, SEE OUR FIRST STEPS [HERE] (https://github.com/jtalks-org/jtalks-cicd).
Contains recipes to prepare environment for JTalks components deployment - should install required dependencies, MySQL, configure firewalls, etc. Go through Tests Kichen guides in order to get a notion on how the development is going on.
The process is described on Test Kitchen site itself. Summary:
- You have to install Chef Development Kit which includes all necessary tools for installing environment (Note please that there shouldn't be some specific symbols in installation path - cyrillic, accented etc.) All the installation scripts and most of utilities are written in Ruby.
- Install Vagrant & VirtualBox for running virtual machines.
gem install test-kitchen
- this installs a utility to easy startup an env with the cookbook and run tests if needed. If this fails, you probably didn't install Ruby correctly. Runkitchen version
to check the gem was installed.- Run
kitchen converge
to startup a VM with the cookbooks andkitchen verify
to run the integration tests. If you want to install VM only usekitchen converge system
. All those commands should be launched when VirtualBox is run.
In order to speed up working with Test Kitchen, you can follow this advise to configure an HTTP proxy.