blob: 0e2128019b481e82248dc84feeb5acf43a1149bd [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:
Vasyl Saienko778efdd2018-08-06 08:55:21 +000016 noservices: True
Petr Michalece9a6c2a2017-03-05 20:14:34 +010017 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:
Filip Pytloun54c45662017-09-07 16:43:54 +020079 pillars-from-files:
80 keystone.sls: tests/pillar/single_domain.sls
81
Petr Michalece9a6c2a2017-03-05 20:14:34 +010082 - name: single_fernet
83 provisioner:
84 pillars-from-files:
85 keystone.sls: tests/pillar/single_fernet.sls
86
87 - name: under-apache
88 provisioner:
Petr Michalece9a6c2a2017-03-05 20:14:34 +010089 pillars-from-files:
90 keystone.sls: tests/pillar/apache_wsgi.sls
91 state_top:
92 base:
93 "*":
94 - linux
95 - mysql
96 - apache
97 - keystone
98
99# vim: ft=yaml sw=2 ts=2 sts=2 tw=125