-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.kitchen.yml
68 lines (64 loc) · 1.78 KB
/
.kitchen.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
---
platforms:
- name: ubuntu-14.04
transport:
username: ubuntu
driver:
tags:
Name: anisble-test-kitchen-role-users-ubuntu-1404
CreatedBy: test-kitchen
TestKitchenRole: users
TestKitchenPlatform: ubuntu-1404
- name: ubuntu-16.04
transport:
username: ubuntu
driver:
tags:
Name: anisble-test-kitchen-role-users-ubuntu-1604
CreatedBy: test-kitchen
TestKitchenRole: users
TestKitchenPlatform: ubuntu-1604
- name: centos-7
transport:
username: centos
# Ruby 2.0 is installed in custom location. Override
# these calls to ensure that serverspec can be installed
# and run on the machine (otherwise it won't be found)
verifier:
bundler_path: /opt/rh/ruby200/root/usr/local/bin
rspec_path: /opt/rh/ruby200/root/usr/local/bin
driver:
tags:
Name: anisble-test-kitchen-role-users-centos-7
CreatedBy: test-kitchen
TestKitchenRole: users
TestKitchenPlatform: centos-7
# NOTE: This is broken at the moment as it requires two
# converge runs before Ansible will be installed.
#
# - name: debian-8
# transport:
# username: admin
# # Only 1.7.2 is installed by default. Use source method
# # to pull down Ansible 2.0
# provisioner:
# require_ansible_source: true
# ansible_source_rev: stable-2.0
# driver:
# tags:
# Name: anisble-test-kitchen-role-users-debian-8
# CreatedBy: test-kitchen
# TestKitchenRole: users
# TestKitchenPlatform: debian-8
suites:
- name: users
provisioner:
name: ansible_playbook
hosts: all
require_ruby_for_busser: true
require_chef_for_busser: false
verifier:
name: serverspec
sudo_path: true
patterns:
- "roles/*/test/**/serverspec/users_spec.rb"