forked from ahelal/ansible-concourse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.kitchen.yml
72 lines (68 loc) · 2.73 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
70
71
72
---
driver :
name : docker
socket : unix:///var/run/docker.sock
use_sudo : false
privileged : true
volume : /opt/concourseci/worker
provision_command : mkdir -p /run/sshd
verifier :
name : serverspec
remote_exec : false
default_pattern : true
bundler_path : <%= '/opt/hellofresh/kitchen/embedded/bin' if File.exist?('/opt/hellofresh/kitchen/embedded/bin/bundler') %>
rspec_path : <%= '/opt/hellofresh/kitchen/embedded/bin' if File.exist?('/opt/hellofresh/kitchen/embedded/bin/rspec') %>
gemfile : ./test/integration/Gemfile
provisioner :
name : ansible_push
ansible_config : "tests/ansible.cfg"
chef_bootstrap_url : nil
use_instance_name : True
idempotency_test : True
diff : True
sudo : True
extra_vars : "@./test/integration/simple/concourse-vars.yml"
# verbose : "vvvvv"
platforms :
### Ubuntu 1604
- name : "ubuntu1604"
driver_config :
image : ubuntu:16.04
platform : ubuntu
provisioner :
groups :
concourse-web :
- 'simple-ubuntu1604'
concourse-worker :
- 'simple-ubuntu1604'
- 'worker-ubuntu1604'
### Ubuntu 1804
- name : "ubuntu1804"
driver_config :
image : ubuntu:18.04
platform : ubuntu
provisioner :
groups :
concourse-web :
- 'simple-ubuntu1804'
concourse-worker :
- 'simple-ubuntu1804'
- 'worker-ubuntu1804'
### Ubuntu 2004
# - name : "ubuntu2004"
# driver_config :
# image : ubuntu:20.04
# platform : ubuntu
# provisioner :
# groups :
# concourse-web :
# - 'simple-ubuntu2004'
# concourse-worker :
# - 'simple-ubuntu2004'
# - 'worker-ubuntu2004'
suites:
- name : simple
provisioner :
playbook : "test/integration/simple/simple.yml"
driver_config :
hostname : "simple"