ipmininet icon indicating copy to clipboard operation
ipmininet copied to clipboard

[WIP] Kitchen.ci test environment

Open butjar opened this issue 6 years ago • 3 comments

https://kitchen.ci/

Kitchen CI helps testing infrastructure code. Since ipmininet supports various distributions kitchen.ci can help testing the provisioning scripts.

butjar avatar May 05 '19 11:05 butjar

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.

butjar avatar May 05 '19 11:05 butjar

Currently there are at least two issues with that PR:

  1. Fedora doesn't converge, because python is missing
  2. build_vm.sh script gets somehow stuck

I just created the PR to show you the kitchen workflow, so you can decide if it makes sense to add.

butjar avatar May 05 '19 11:05 butjar

This could make sense. I don't know how to solve the build_vm.sh stucked 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.

jadinm avatar Aug 07 '19 12:08 jadinm