[WIP] Kitchen.ci test environment
https://kitchen.ci/
Kitchen CI helps testing infrastructure code. Since ipmininet supports various distributions kitchen.ci can help testing the provisioning scripts.
If you wanna try, you could install the ruby gem gem install kitchen-vagrant. However, for me installing chefdk from https://downloads.chef.io/chefdk always worked best.
If the installation works, you do a kitchen converge to run the install script on different distributions. The end-2-end tests can also be added.
Currently there are at least two issues with that PR:
- Fedora doesn't converge, because python is missing
-
build_vm.shscript gets somehow stuck
I just created the PR to show you the kitchen workflow, so you can decide if it makes sense to add.
This could make sense. I don't know how to solve the
build_vm.shstucked however. Maybe this is due to the updates of the grub which require user interactions.
If this is due to that, adding export DEBIAN_FRONTEND=noninteractive at the start of the build_vm.sh would fix the problem.