-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.kitchen.docker.yml
81 lines (75 loc) · 1.92 KB
/
.kitchen.docker.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
73
74
75
76
77
78
79
80
81
# n.b kitchen-dokken works exclusively with Chef i.e there's no Cinc support
# Chef Infra Client cannot execute without accepting the license - erm, no
# <% require_relative '.kitchen_patch' %>
# <% require_relative '.kitchen_common' %>
driver:
cinc_version: <%= versions[:cinc] %>
name: docker
privileged: true
socket: null
volume:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
transport:
name: docker
socket: null
provisioner:
name: chef_zero
product_name: cinc
product_version: <%= versions[:cinc] %>
platforms:
- name: ubuntu
driver_config:
platform: ubuntu
dockerfile: dockerfiles/ubuntu:<%= versions[:ubuntu] %>
run_command: /usr/sbin/init
build_options:
tag: kitchen-ubuntu:<%= versions[:ubuntu] %>
- name: oracle
driver_config:
platform: rhel
dockerfile: dockerfiles/oracle:<%= versions[:oracle] %>
run_command: /usr/sbin/init
build_options:
tag: kitchen-oracle:<%= versions[:oracle] %>
suites:
- name: observer
attributes:
elrond:
network: <%= ENV['ELROND_NETWORK'] || 'test' %>
version: <%= versions[:elrond] %>
node:
log_level: '*:INFO'
nodes:
- id: 0
- id: 1
staking:
agency: TestKitchen
keybase:
identity: mrstaker
run_list:
- recipe[spec::default]
- recipe[elrond::default]
- name: validator
attributes:
elrond:
network: <%= ENV['ELROND_NETWORK'] || 'test' %>
version: <%= versions[:elrond] %>
node:
log_level: '*:INFO'
nodes:
- id: 0
validator: true
key_manager: :elrond_keyvault
staking:
agency: TestKitchen
keybase:
identity: mrstaker
keyvault:
# these (except token) are defaults for Vault in dev mode
address: http://127.0.0.1:8200
token: uSmsRvfyoj4DtJdcT5ewCuPa
path: elrond
run_list:
- recipe[spec::default]
- recipe[spec::test_vault]
- recipe[elrond::default]