forked from openstack-archive/salt-formula-keystone
-
Notifications
You must be signed in to change notification settings - Fork 14
/
.kitchen.yml
99 lines (90 loc) · 2.39 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
---
driver:
name: docker
hostname: keystone.ci.local
use_sudo: false
provisioner:
name: salt_solo
salt_install: bootstrap
salt_bootstrap_url: https://bootstrap.saltstack.com
salt_version: <%=ENV['SALT_VERSION'] || 'latest'%>
require_chef: false
log_level: error
formula: keystone
grains:
noservices: True
dependencies:
- name: linux
repo: git
source: https://github.com/salt-formulas/salt-formula-linux
- name: mysql
repo: git
source: https://github.com/salt-formulas/salt-formula-mysql
- name: apache
repo: git
source: https://github.com/salt-formulas/salt-formula-apache
- name: memcached
repo: git
source: https://github.com/salt-formulas/salt-formula-memcached
- name: cadf
repo: git
source: https://github.com/salt-formulas/salt-formula-cadf
- name: rabbitmq
repo: git
source: https://github.com/salt-formulas/salt-formula-rabbitmq
state_top:
base:
"*":
- linux
- mysql
- keystone
pillars:
top.sls:
base:
"*":
- linux_repo_openstack
- keystone
- mysql_platform_specific
mysql_platform_specific.sls: {}
pillars-from-files:
linux_repo_openstack.sls: tests/pillar/repo_mos9.sls
verifier:
name: inspec
sudo: true
platforms:
- name: <%=ENV['PLATFORM'] || 'saltstack-ubuntu-xenial-salt-stable' %>
driver_config:
image: <%=ENV['PLATFORM'] || 'epcim/salt-formulas:saltstack-ubuntu-xenial-salt-stable'%>
platform: ubuntu
provisioner:
pillars:
mysql_platform_specific.sls:
mysql:
server:
# workaround, formula not yet handle platform default version
version: "<%=ENV['MYSQL_VERSION'] || '5.7'%>"
suites:
- name: single
provisioner:
pillars-from-files:
keystone.sls: tests/pillar/single.sls
- name: single_domain
provisioner:
pillars-from-files:
keystone.sls: tests/pillar/single_domain.sls
- name: single_fernet
provisioner:
pillars-from-files:
keystone.sls: tests/pillar/single_fernet.sls
- name: under-apache
provisioner:
pillars-from-files:
keystone.sls: tests/pillar/apache_wsgi.sls
state_top:
base:
"*":
- linux
- mysql
- apache
- keystone
# vim: ft=yaml sw=2 ts=2 sts=2 tw=125