-
Notifications
You must be signed in to change notification settings - Fork 232
/
kitchen.yml
62 lines (58 loc) · 1.42 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
# <% # 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
transport:
name: docker
provisioner:
name: dummy
platforms:
- name: amazonlinux-2
- name: ubuntu-18.04
- name: ubuntu-20.04
- name: fedora-latest
driver:
provision_command:
- yum install libxcrypt-compat -y
- curl -L https://www.chef.io/chef/install.sh | bash
- name: centos-7
- name: oraclelinux-7
- name: rockylinux-8
- name: debian-11
- name: debian-12
- name: opensuse-15
driver:
image: opensuse/leap:15
- name: dockerfile
driver:
username: dockerfile
password: dockerfile
dockerfile: test/Dockerfile
run_command: /sbin/init
suites:
- name: default
- name: no_build_context
driver:
build_context: false
- name: capabilities
includes: [debian-11, ubuntu-18.04, ubuntu-20.04]
driver:
provision_command:
- curl -L https://www.chef.io/chef/install.sh | bash
- apt-get install -y net-tools
cap_drop:
- NET_ADMIN
- name: arm64
driver:
docker_platform: linux/arm64
- name: amd64
driver:
docker_platform: linux/amd64
- name: inspec
driver:
provision_command: true
verifier:
name: inspec