forked from ahelal/ansible-concourse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.kitchen-cluster.yml
55 lines (48 loc) · 2.12 KB
/
.kitchen-cluster.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
---
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"
extra_vars : "@./test/integration/simple/concourse-vars.yml"
raw_arguments : "--extra-vars='ansible_python_interpreter=/usr/bin/python3'"
groups :
concourse-web : ['web-ubuntu1804']
concourse-worker : ['worker-ubuntu1804']
chef_bootstrap_url : nil
use_instance_name : True
idempotency_test : false
diff : True
sudo : True
verbose : "v"
platforms :
- name : "ubuntu1804"
driver_config :
image : ubuntu:18.04
platform : ubuntu
suites:
- name : web
provisioner :
playbook : "test/integration/web/web.yml"
driver_config :
instance_name : "web-ubuntu1804"
hostname : "web-ubuntu1804"
- name : worker
provisioner :
playbook : "test/integration/worker/worker.yml"
driver_config :
hostname : "worker-ubuntu1804"
instance_name : "worker-ubuntu1804"
links : "web-ubuntu1804"