-
Notifications
You must be signed in to change notification settings - Fork 0
/
.kitchen.yml
57 lines (55 loc) · 1.42 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
---
driver:
name: docker
use_cache: true
use_sudo: False
platforms:
- name: ubuntu-16.04
driver_config:
image: wtanaka/xenial-oraclejdk8-zookeeper-py2:latest
provisioner:
# Avoid downloading busser
chef_bootstrap_url: nil
name: ansible_push
idempotency_test: true
playbook: kitchen-playbook.yml
support_older_version: true
verbose: v
ansible_playbook_bin: ansible-playbook
use_sudo: <% if ENV["TRAVIS"] then true else false end %>
suites:
- name: master
provisioner:
playbook: master-playbook.yml
driver:
hostname: flink-master
instance_name: flink-master
run_options: --network=flink_nw #--network-alias flink-master
forward:
- 16123:6123 # Flink
- 18081:8081 # Flink web interface
- 19092:9092 # Kafka
- 12181:2181 # Zookeeper
- name: slave1
provisioner:
playbook: slave1-playbook.yml
driver:
hostname: flink-slave1
instance_name: flink-slave1
run_options: --network=flink_nw #--network-alias flink-slave1
links:
- flink-master:flink-master
- name: slave2
provisioner:
playbook: slave2-playbook.yml
driver:
hostname: flink-slave2
instance_name: flink-slave2
run_options: --network=flink_nw #--network-alias flink-slave2
links:
- flink-master:flink-master
verifier:
name: serverspec
additional_install_command: mkdir -p /tmp/kitchen
default_pattern: true
remote_exec: true