https://github.com/ironcore864/tdi-ansible-kitchen-serverspec-devops
https://github.com/ironcore864/tdi-ansible-kitchen-serverspec-devops
ansible configuration-management devops serverspec tdi test-kitchen
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ironcore864/tdi-ansible-kitchen-serverspec-devops
- Owner: IronCore864
- Created: 2017-02-22T14:02:44.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-01-08T11:07:34.000Z (over 8 years ago)
- Last Synced: 2025-02-01T22:12:56.530Z (over 1 year ago)
- Topics: ansible, configuration-management, devops, serverspec, tdi, test-kitchen
- Language: Ruby
- Size: 53.7 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Test-driven infrastructure
with ansible, docker, test-kitchen, and serverspec, integrated with CircleCI
# Dependencies
Ansible (of course)
Ruby (rvm recommended https://rvm.io/)
Docker/Vagrant (in this example docker is used since docker is faster)
# How to run
```
gem install bundler
bundle
```
which will install every dependencies listed in the `Gemfile`.
If you want to know more about it: http://bundler.io/
```
kitchen test
kitchen destroy
```
Test kitchen will create a docker, converge it to the status described in your ansible playbook, run some serverspec test cases, and destroy it at the end.
This repo is integrated with CircleCI. See `.circleci/config.yml` for an example about how to use virtual machine instead of docker in CircleCI for testing, and run test-kitchen in it.