-
Notifications
You must be signed in to change notification settings - Fork 1
/
kitchen.yml
59 lines (52 loc) · 1.36 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
---
driver:
name: vagrant
customize:
cpus: 4
memory: 4192
verifier:
name: shell
command: |
py.test --disable-pytest-warnings \
--hosts="paramiko://${KITCHEN_USERNAME}@${KITCHEN_HOSTNAME}:${KITCHEN_PORT}?ssh_identity_file=${KITCHEN_SSH_KEY}" \
"tests/integration/${KITCHEN_SUITE}"
provisioner:
name: ansible_playbook
hosts: test_kitchen
ansible_verbose: true
require_chef_for_busser: false
ansible_cfg_path: .ansible.cfg
# ansible_verbosity: 4
platforms:
- name: amazon
driver:
box: <%= ENV['KITCHEN_ANSIBLE_BOX'] || "amazon2-ansible" %>
suites:
- name: docker
provisioner:
name: ansible_playbook
playbook: ./playbooks/docker/docker.yml
- name: containerd
provisioner:
name: ansible_playbook
playbook: ./playbooks/docker/docker.yml
driver:
vm_hostname: containerd.local
network:
- ['private_network', {ip: '192.168.56.121'}]
- name: gst_jupyter
provisioner:
name: ansible_playbook
playbook: ./playbooks/gst/gst_jupyter.yml
driver:
vm_hostname: jupyter.local
network:
- ['private_network', {ip: '192.168.56.122'}]
- name: nginx
provisioner:
name: ansible_playbook
playbook: ./playbooks/nginx/nginx.yml
driver:
vm_hostname: nginx.local
network:
- ['private_network', {ip: '192.168.56.123'}]