Kitchen::Provisioner::LocalShell
A Test-Kitchen Provisioner that execute some command from localhost.
This provisioner is made in reference to Shell-Verifier.
https://github.com/higanworks/kitchen-verifier-shell
Installation
Add this line to your application's Gemfile:
gem 'kitchen-provisioner-local_shell'
And then execute:
$ bundle
Or install it yourself as:
$ gem install kitchen-provisioner-local_shell
Usage
Pass driver's state via env, such as KITCHEN_HOSTNAME, KITCHEN_PORT, KITCHEN_CONTAINER_ID, etc...
- .kitchen.yml
----
platforms:
- name: ubuntu-14.04
provisioner:
name: local_shell
command: ./bin/itamae docker recipes/default.rb --container=$KITCHEN_CONTAINER_ID
driver:
name: docker_cli
transport:
name: docker_cli
suites:
- name: example
run_list:
- recipes/default.rb
Contributing
- Fork it ( https://github.com/marcy-terui/kitchen-provisioner-local_shell/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request