No commit activity in last 3 years
No release in over 3 years
A Test-Kitchen Provisioner that execute some command from localhost.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 1.7
~> 10.0
 Project Readme

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

  1. Fork it ( https://github.com/marcy-terui/kitchen-provisioner-local_shell/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request