Closed thedrow closed 8 years ago
Setting those variables happens in the verifier itself (https://github.com/test-kitchen/test-kitchen/blob/master/lib/kitchen/verifier/shell.rb#L89-L98), not the driver. The issue might be that the docker driver sets different state keys than whichever other one you are looking at.
How can we make it work then?
Closing this out as I don't think there is any bug here.
Because omnibus is not supported with Linux Alpine I tried using Test-Kitchen 1.5's shell verifier.
As you can see at https://github.com/cl-lab-k/apache2-take/blob/shell_verifier/serverspec/spec_helper.rb serverspec needs those environment variables in order to connect with SSH to the machine.