You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to be able to reduce my spin up the verify times of kitchen suites.
Baking the busser/busser-serverspec etc gems into the chef omnibus installer would be a nice option as it will persist between destroys.
I there a way to override the BUSSER_GEM, GEM_PATH, GEM_HOME, GEM_CAHE variables?
Assuming that:
chef-client is installed into the image
busser and busser-serverspec gems are installed
kitchen would find those gems. For a slow connection, or a non-existent connection to the internet (corp firewall, no-internet etc) this would be super useful.
If this doesn't belong here, but in the kitchen-ci repo I'm happy to move it.
The text was updated successfully, but these errors were encountered:
I've got a similar issue so I've dived into the code and it seems it's more related to test-kitchen itself. As these variables are configured here and they're all based on root_path value, they might be slightly configured, eg.
# .kitchen.yml
busser:
root_path: /some/path
However, in my case it doesn't solve anything, since I would like to use simply environment Ruby and gems. Besides, the installation script is also interesting, because it never checks for system libraries as the GEM_PATH is set to [root_path, "gems"] whereas root_path by default points to /tmp/verifier.
If you're provisioning the environment anyhow, I suggest to just put whatever is needed into root_path, because it seems it's the easiest solution here.
I'd like to be able to reduce my spin up the verify times of kitchen suites.
Baking the busser/busser-serverspec etc gems into the chef omnibus installer would be a nice option as it will persist between destroys.
I there a way to override the BUSSER_GEM, GEM_PATH, GEM_HOME, GEM_CAHE variables?
Assuming that:
kitchen would find those gems. For a slow connection, or a non-existent connection to the internet (corp firewall, no-internet etc) this would be super useful.
If this doesn't belong here, but in the kitchen-ci repo I'm happy to move it.
The text was updated successfully, but these errors were encountered: