forked from saltstack-formulas/elasticsearch-formula
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.kitchen.yml
67 lines (63 loc) · 1.46 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
---
driver:
name: docker
use_sudo: false
privileged: true
provisioner:
name: salt_solo
require_chef: false
formula: elasticsearch
dependencies:
- name: sun-java
path: vendor/sun-java-formula
state_top:
base:
'*':
- sun-java
- sun-java.env
- elasticsearch
platforms:
- name: ubuntu-14.04
driver_config:
provision_command:
- locale-gen en_US.UTF-8
- name: ubuntu-16.04
driver_config:
provision_command:
- apt-get update && apt-get install -y locales && locale-gen en_US.UTF-8
run_command: /sbin/init
suites:
- name: default
- name: with-pillar-set
provisioner:
pillars:
top.sls:
base:
'*':
- elasticsearch
elasticsearch.sls:
elasticsearch:
config:
network.host: 0.0.0.0
plugins:
lang-python: lang-python
- name: version-5.0
excludes:
- ubuntu-14.04
provisioner:
pillars:
top.sls:
base:
'*':
- elasticsearch
elasticsearch.sls:
elasticsearch:
version: 5.*
plugins:
lang-python: lang-python
jvm_opts:
- '# Test String'
verifier:
name: shell
remote_exec: false
command: testinfra -vvv --connection=docker --hosts=root@$KITCHEN_CONTAINER_ID --junit-xml junit-$KITCHEN_INSTANCE.xml test/integration/$KITCHEN_SUITE