Add some kitchen tests for many roles

This commit is contained in:
Jérémy Lecour 2017-05-18 15:16:30 +02:00 committed by Jérémy Lecour
parent 23f0b97897
commit 2794929c22
16 changed files with 248 additions and 0 deletions

27
dhcp/.kitchen.yml Normal file
View file

@ -0,0 +1,27 @@
---
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.2.1.0"
require_chef_for_busser: false
idempotency_test: true
platforms:
- name: debian-8
suites:
- name: default
provisioner:
name: ansible_playbook
playbook: ./tests/test.yml
transport:
max_ssh_sessions: 6

4
dhcp/tests/test.yml Normal file
View file

@ -0,0 +1,4 @@
---
- hosts: test-kitchen
roles:
- role: dhcp

27
drbd-utils/.kitchen.yml Normal file
View file

@ -0,0 +1,27 @@
---
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.2.1.0"
require_chef_for_busser: false
idempotency_test: true
platforms:
- name: debian-8
suites:
- name: default
provisioner:
name: ansible_playbook
playbook: ./tests/test.yml
transport:
max_ssh_sessions: 6

View file

@ -0,0 +1,4 @@
---
- hosts: test-kitchen
roles:
- role: drbd-utils

27
evoacme/.kitchen.yml Normal file
View file

@ -0,0 +1,27 @@
---
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.2.1.0"
require_chef_for_busser: false
idempotency_test: true
platforms:
- name: debian-8
suites:
- name: default
provisioner:
name: ansible_playbook
playbook: ./tests/test.yml
transport:
max_ssh_sessions: 6

4
evoacme/tests/test.yml Normal file
View file

@ -0,0 +1,4 @@
---
- hosts: test-kitchen
roles:
- role: evoacme

27
evocheck/.kitchen.yml Normal file
View file

@ -0,0 +1,27 @@
---
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.2.1.0"
require_chef_for_busser: false
idempotency_test: true
platforms:
- name: debian-8
suites:
- name: default
provisioner:
name: ansible_playbook
playbook: ./tests/test.yml
transport:
max_ssh_sessions: 6

4
evocheck/tests/test.yml Normal file
View file

@ -0,0 +1,4 @@
---
- hosts: test-kitchen
roles:
- role: evocheck

View file

@ -0,0 +1,27 @@
---
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.2.1.0"
require_chef_for_busser: false
idempotency_test: true
platforms:
- name: debian-8
suites:
- name: default
provisioner:
name: ansible_playbook
playbook: ./tests/test.yml
transport:
max_ssh_sessions: 6

View file

@ -0,0 +1,4 @@
---
- hosts: test-kitchen
roles:
- role: evomaintenance

View file

@ -0,0 +1,27 @@
---
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.2.1.0"
require_chef_for_busser: false
idempotency_test: true
platforms:
- name: debian-8
suites:
- name: default
provisioner:
name: ansible_playbook
playbook: ./tests/test.yml
transport:
max_ssh_sessions: 6

View file

@ -0,0 +1,4 @@
---
- hosts: test-kitchen
roles:
- role: haproxy-backports-preferences

27
haproxy/.kitchen.yml Normal file
View file

@ -0,0 +1,27 @@
---
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.2.1.0"
require_chef_for_busser: false
idempotency_test: true
platforms:
- name: debian-8
suites:
- name: default
provisioner:
name: ansible_playbook
playbook: ./tests/test.yml
transport:
max_ssh_sessions: 6

4
haproxy/tests/test.yml Normal file
View file

@ -0,0 +1,4 @@
---
- hosts: test-kitchen
roles:
- role: haproxy

27
java8/.kitchen.yml Normal file
View file

@ -0,0 +1,27 @@
---
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.2.1.0"
require_chef_for_busser: false
idempotency_test: true
platforms:
- name: debian-8
suites:
- name: default
provisioner:
name: ansible_playbook
playbook: ./tests/test.yml
transport:
max_ssh_sessions: 6

4
java8/tests/test.yml Normal file
View file

@ -0,0 +1,4 @@
---
- hosts: test-kitchen
roles:
- role: java8