Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mrk21/test-kitchen-runner
This is Docker image for running test-kitchen script
https://github.com/mrk21/test-kitchen-runner
docker docker-image test-kitchen
Last synced: 27 days ago
JSON representation
This is Docker image for running test-kitchen script
- Host: GitHub
- URL: https://github.com/mrk21/test-kitchen-runner
- Owner: mrk21
- License: mit
- Created: 2015-01-30T02:52:47.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-01-30T06:43:48.000Z (almost 10 years ago)
- Last Synced: 2023-08-02T22:27:14.615Z (over 1 year ago)
- Topics: docker, docker-image, test-kitchen
- Language: Ruby
- Size: 133 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# test-kitchen-runner
This is Docker image for running [test-kitchen](https://github.com/test-kitchen/test-kitchen "test-kitchen/test-kitchen") script. This supports Ruby 2.2 with Bundler, latest Ansible and latest Docker. If you want to use Docker, it needs `--privileged=true` option when this image running.
## An example
If the project is used with [kitchen-ansible](https://github.com/neillturner/kitchen-ansible "neillturner/kitchen-ansible") and [kitchen-docker](https://github.com/portertech/kitchen-docker):
```
your_project
├── .kitchen.yml
├── Gemfile
├── Rakefile
├── site.yml
└── test
└── integration
└── default
...
```Gemfile:
```ruby
source "https://rubygems.org"gem 'test-kitchen'
gem 'kitchen-ansible'
gem 'kitchen-docker'
gem 'docker'group :integration do
gem 'serverspec'
gem 'specinfra'
end
```Rakefile:
```ruby
begin
require "kitchen/rake_tasks"
Kitchen::RakeTasks.new
rescue LoadError
puts ">>>>> Kitchen gem not loaded, omitting tasks" unless ENV["CI"]
end
```If you want to run the tests of the above project, you will execute the commands listed below:
```bash
$ bundle install --path=vendor/bundle
$ bundle exec rake kitchen:all
```