forked from test-kitchen/kitchen-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.kitchen.yml
56 lines (53 loc) · 1.17 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
<% # Make sure the local copy of the driver is loaded %>
<% lib = File.expand_path('../lib', __FILE__) %>
<% $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) %>
---
driver:
name: docker
provision_command: curl -L https://www.chef.io/chef/install.sh | bash
provisioner:
name: dummy
platforms:
- name: ubuntu-12.04
- name: ubuntu-14.04
- name: ubuntu-16.04
- name: centos-6
- name: centos-7
- name: debian
- name: opensuse
driver:
image: opensuse:42.2
- name: arch
driver:
image: base/archlinux
provision_command: true
- name: unknown
driver:
image: ubuntu:12.04
platform: ubuntu
- name: dockerfile
driver:
username: dockerfile
password: dockerfile
dockerfile: test/Dockerfile
run_command: /sbin/init
suites:
- name: default
excludes: [arch]
- name: context
excludes: [arch]
driver:
build_context: false
- name: capabilities
excludes: [arch,unknown,centos-7,centos-6,dockerfile,opensuse]
driver:
provision_command:
- curl -L https://www.chef.io/chef/install.sh | bash
- apt-get install -y net-tools
cap_drop:
- NET_ADMIN
- name: inspec
driver:
provision_command: true
verifier:
name: inspec