test-kitchen / kitchen-openstack

OpenStack Compute driver for Test-Kitchen
Other
56 stars 77 forks source link

synced_folder support #47

Open ramereth opened 10 years ago

ramereth commented 10 years ago

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.

egouraud commented 9 years ago

+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).

jjasghar commented 9 years ago

@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.

princepaulson1 commented 7 years ago

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

quulah commented 7 years ago

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. :)

princepaulson1 commented 7 years ago

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