Add basic kitchen test files to nginx, apache and nodejs roles
This commit is contained in:
parent
6cb57f1f5a
commit
fd77649cb9
21
apache/.kitchen.yml
Normal file
21
apache/.kitchen.yml
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
---
|
||||||
|
driver:
|
||||||
|
name: docker
|
||||||
|
privileged: true
|
||||||
|
use_sudo: false
|
||||||
|
|
||||||
|
provisioner:
|
||||||
|
name: ansible_playbook
|
||||||
|
hosts: test-kitchen
|
||||||
|
roles_path: ../
|
||||||
|
ansible_verbose: true
|
||||||
|
require_ansible_source: true
|
||||||
|
install_source_rev: "stable-2.0.0.1"
|
||||||
|
idempotency_test: true
|
||||||
|
require_chef_for_busser: false
|
||||||
|
|
||||||
|
platforms:
|
||||||
|
- name: debian-8
|
||||||
|
|
||||||
|
suites:
|
||||||
|
- name: default
|
4
apache/test/integration/default.yml
Normal file
4
apache/test/integration/default.yml
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
---
|
||||||
|
- hosts: test-kitchen
|
||||||
|
roles:
|
||||||
|
- role: apache
|
21
nginx/.kitchen.yml
Normal file
21
nginx/.kitchen.yml
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
---
|
||||||
|
driver:
|
||||||
|
name: docker
|
||||||
|
privileged: true
|
||||||
|
use_sudo: false
|
||||||
|
|
||||||
|
provisioner:
|
||||||
|
name: ansible_playbook
|
||||||
|
hosts: test-kitchen
|
||||||
|
roles_path: ../
|
||||||
|
ansible_verbose: true
|
||||||
|
require_ansible_source: true
|
||||||
|
install_source_rev: "stable-2.0.0.1"
|
||||||
|
idempotency_test: true
|
||||||
|
require_chef_for_busser: false
|
||||||
|
|
||||||
|
platforms:
|
||||||
|
- name: debian-8
|
||||||
|
|
||||||
|
suites:
|
||||||
|
- name: default
|
4
nginx/test/integration/default.yml
Normal file
4
nginx/test/integration/default.yml
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
---
|
||||||
|
- hosts: test-kitchen
|
||||||
|
roles:
|
||||||
|
- role: nginx
|
21
nodejs/.kitchen.yml
Normal file
21
nodejs/.kitchen.yml
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
---
|
||||||
|
driver:
|
||||||
|
name: docker
|
||||||
|
privileged: true
|
||||||
|
use_sudo: false
|
||||||
|
|
||||||
|
provisioner:
|
||||||
|
name: ansible_playbook
|
||||||
|
hosts: test-kitchen
|
||||||
|
roles_path: ../
|
||||||
|
ansible_verbose: true
|
||||||
|
require_ansible_source: true
|
||||||
|
install_source_rev: "stable-2.0.0.1"
|
||||||
|
idempotency_test: true
|
||||||
|
require_chef_for_busser: false
|
||||||
|
|
||||||
|
platforms:
|
||||||
|
- name: debian-8
|
||||||
|
|
||||||
|
suites:
|
||||||
|
- name: default
|
4
nodejs/test/integration/default.yml
Normal file
4
nodejs/test/integration/default.yml
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
---
|
||||||
|
- hosts: test-kitchen
|
||||||
|
roles:
|
||||||
|
- role: nodejs
|
Loading…
Reference in a new issue