forked from StackStorm/ansible-st2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.kitchen.yml
57 lines (53 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
privileged: true
use_sudo: false
transport:
name: sftp
provisioner:
name: ansible_playbook
hosts: all
roles_path: roles
ansible_verbose: true
ansible_verbosity: 2
idempotency_test: true
extra_vars:
st2repo_name: <%= ENV['ST2_REPO'] || 'stable' %>
ewc_repo: <%= ENV['EWC_REPO'] || 'enterprise' %>
ewc_license: "<%= ENV['LICENSE'] ? ENV[ENV['LICENSE']] : ENV['BWC_LICENSE_ENTERPRISE'] %>"
st2chatops_hubot_adapter: slack
st2chatops_config:
HUBOT_SLACK_TOKEN: <%= ENV['HUBOT_SLACK_TOKEN'] %>
platforms:
# Ubuntu Trusty with Upstart
- name: ubuntu-14.04
driver_config:
image: stackstorm/packagingtest:trusty-upstart
platform: ubuntu
disable_upstart: false
run_command: /sbin/init
# Ubuntu Xenial with Systemd
- name: ubuntu-16.04
driver_config:
image: stackstorm/packagingtest:xenial-systemd
platform: ubuntu
run_command: /sbin/init
volume:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
# CentOS6 with sysV init
- name: centos-6
driver_config:
platform: centos
dockerfile: .kitchen-docker/centos6/Dockerfile
run_command: /usr/sbin/sshd -D
# CentOS7 with Systemd
- name: centos-7
driver_config:
platform: centos
dockerfile: .kitchen-docker/centos7/Dockerfile
run_command: /sbin/init
volume:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
suites:
- name: default