kitchen-openstack icon indicating copy to clipboard operation
kitchen-openstack copied to clipboard

synced_folder support

Open ramereth opened this issue 11 years ago • 5 comments

Does it make sense to add support for synced_folder similar to how vagrant-openstack does it using rsync? That would come in rather handy for a few specific purposes.

ramereth avatar Apr 30 '14 18:04 ramereth

+1 I am currently trying to get rspec junit tests reports directly from kitchen to be displayed in jenkins CI, and it seems to be the job of the driver (https://github.com/test-kitchen/test-kitchen/issues/138 and https://github.com/test-kitchen/test-kitchen/pull/130), as @sethvargo said ( a really useful source of informations :) thanks for that) Having a step , typically between "verify" and "destroy" steps to retrieve some results files from a temporary tests instance would be useful. Or as you said a synced_folder in which we can locally retrieve remote results files. For information, i'm using kitchen-puppet and kitchen-openstack (not chef).

egouraud avatar May 24 '15 07:05 egouraud

@ramereth cough Lance cough This sees like a great idea. I'll put it on the TODO list, and maybe I can attack it in the near future.

jjasghar avatar Jul 20 '15 18:07 jjasghar

Do we have this synced_folder support in kitchen-openstack yet ?

Im spinning instances in openstack . inorder to work through my tests i need to my local project folder shared on the instance. in vagrant though its very easy . would be a great help if added

princepaulson1 avatar Mar 16 '17 10:03 princepaulson1

I worked around this with the user_data support of the driver. It's a bit ugly, but works.

Obviously, I'd rather have support for synced folders as well. :)

quulah avatar Mar 22 '17 09:03 quulah

i have added data_path so that my proj_directory is synced inside /tmp/kitchen/data by default.

provisioner:
  data_path: "." # Syncs files in path to /tmp/kitchen/data

princepaulson1 avatar Mar 22 '17 11:03 princepaulson1