FIDATA / infrastructure

Apache License 2.0
0 stars 0 forks source link

Run inspec check from Packer run #30

Open grv87 opened 7 years ago

grv87 commented 7 years ago

See http://www.fastrobot.com/blog/creating-tested-gce-images-using-cheftest-kitcheninspecpacker for example

grv87 commented 6 years ago

This is definitely a way to go. But that approach installs inspec on target machine which is not acceptable. We should take a look at https://github.com/devinturner/packer-provisioner-inspec. They run Inspec locally but support SSH connection only. Maybe we could update that code (and make PR for Packer).

Also see http://annaken.github.io/testing-packer-builds-with-serverspec