blob: 1eb01cefe3f3836f93868b77b624eb622097872b [file] [log] [blame]
Petr Michalece9a6c2a2017-03-05 20:14:34 +01001---
2driver:
3 name: docker
4 hostname: keystone.ci.local
Filip Pytloun87031292017-05-03 15:08:01 +02005 use_sudo: false
Petr Michalece9a6c2a2017-03-05 20:14:34 +01006
7provisioner:
8 name: salt_solo
9 salt_install: bootstrap
10 salt_bootstrap_url: https://bootstrap.saltstack.com
Oleh Hryhorova028d732018-01-19 17:16:54 +020011 salt_version: <%=ENV['SALT_VERSION'] || 'latest'%>
Petr Michalece9a6c2a2017-03-05 20:14:34 +010012 require_chef: false
Martin Polreich962dfdd2017-06-08 14:04:14 +020013 log_level: error
Petr Michalece9a6c2a2017-03-05 20:14:34 +010014 formula: keystone
15 grains:
16 noservices: False
17 dependencies:
18 - name: linux
19 repo: git
20 source: https://github.com/salt-formulas/salt-formula-linux
21 - name: mysql
22 repo: git
23 source: https://github.com/salt-formulas/salt-formula-mysql
24 - name: apache
25 repo: git
26 source: https://github.com/salt-formulas/salt-formula-apache
27 - name: memcached
28 repo: git
29 source: https://github.com/salt-formulas/salt-formula-memcached
30 - name: cadf
31 repo: git
32 source: https://github.com/salt-formulas/salt-formula-cadf
33 - name: rabbitmq
34 repo: git
35 source: https://github.com/salt-formulas/salt-formula-rabbitmq
36 state_top:
37 base:
38 "*":
39 - linux
40 - mysql
41 - keystone
42 pillars:
43 top.sls:
44 base:
45 "*":
46 - linux_repo_openstack
47 - keystone
48 - mysql_platform_specific
49 mysql_platform_specific.sls: {}
50 pillars-from-files:
51 linux_repo_openstack.sls: tests/pillar/repo_mos9.sls
52
53verifier:
54 name: inspec
55 sudo: true
56
57platforms:
Martin Polreich803d39d2018-02-16 16:31:47 +010058 - name: <%=ENV['PLATFORM'] || 'saltstack-ubuntu-xenial-salt-stable' %>
Petr Michalece9a6c2a2017-03-05 20:14:34 +010059 driver_config:
Martin Polreich803d39d2018-02-16 16:31:47 +010060 image: <%=ENV['PLATFORM'] || 'epcim/salt-formulas:saltstack-ubuntu-xenial-salt-stable'%>
Petr Michalece9a6c2a2017-03-05 20:14:34 +010061 platform: ubuntu
62 provisioner:
63 pillars:
64 mysql_platform_specific.sls:
65 mysql:
66 server:
67 # workaround, formula not yet handle platform default version
68 version: "<%=ENV['MYSQL_VERSION'] || '5.7'%>"
69
70suites:
71
72 - name: single
73 provisioner:
74 pillars-from-files:
75 keystone.sls: tests/pillar/single.sls
76
Filip Pytloun54c45662017-09-07 16:43:54 +020077 - name: single_domain
78 provisioner:
79 grains:
80 noservices: True
81 pillars-from-files:
82 keystone.sls: tests/pillar/single_domain.sls
83
Petr Michalece9a6c2a2017-03-05 20:14:34 +010084 - name: single_fernet
85 provisioner:
86 pillars-from-files:
87 keystone.sls: tests/pillar/single_fernet.sls
88
89 - name: under-apache
90 provisioner:
91 grains:
92 noservices: True
93 pillars-from-files:
94 keystone.sls: tests/pillar/apache_wsgi.sls
95 state_top:
96 base:
97 "*":
98 - linux
99 - mysql
100 - apache
101 - keystone
102
103# vim: ft=yaml sw=2 ts=2 sts=2 tw=125