-
Notifications
You must be signed in to change notification settings - Fork 12
/
.kitchen.yml
69 lines (57 loc) · 2.32 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
69
---
driver :
name : docker
socket : unix:///var/run/docker.sock
use_sudo : false
# forward:
# - 3212:3212
verifier :
name : serverspec
remote_exec : false
default_pattern : true
provisioner:
name : ansible_push
ansible_config : "test/ansible.cfg"
chef_bootstrap_url : nil
idempotency_test : True
diff : True
sudo : True
verbose : "vvvv"
platforms :
- name : "alpine3.4-v2.3"
driver_config :
image : harningt/base-alpine-s6-overlay:3.4
platform : alpine
provision_command:
- apk add python iproute2 net-tools socat
- mkdir -p /opt # needs to be in ansible
provisioner :
ansible_playbook_bin : "$(avm path v2.3)ansible-playbook"
extra_vars : {consul_service: s6, consul_s6_servicedir: /var/run/s6/services}
- name : "ubuntu1404-v2.3"
driver_config :
image : ubuntu:14.04
platform : ubuntu
provision_command:
- test -e /usr/bin/socat || (apt-get -y update && apt-get install -y iproute2 net-tools netcat socat)
provisioner :
ansible_playbook_bin : "$(avm path v2.3)ansible-playbook"
- name : "ubuntu1604-v2.3"
driver_config :
image : ubuntu:16.04
platform : ubuntu
provision_command:
- test -e /usr/bin/python || (apt-get -y update && apt-get install -y python-minimal)
- test -e /usr/bin/socat || (apt-get -y update && apt-get install -y iproute2 net-tools netcat socat)
provisioner :
ansible_playbook_bin : "$(avm path v2.3)ansible-playbook"
suites :
- name : basic-server
provisioner :
playbook : "test/integration/basic-server/server.yml"
- name : basic-agent
provisioner :
playbook : "test/integration/basic-agent/agent.yml"
- name : tags
provisioner :
playbook : "test/integration/tags/tags.yml"