blob: 49bddd388221b8cbe039b4694aea412fa10aa8b5 [file] [log] [blame]
Mykyta Karpindb737652018-02-05 11:11:31 +02001---
2driver:
3 name: docker
4 hostname: gnocchi.ci.local
5 use_sudo: false
6
7provisioner:
8 name: salt_solo
9 salt_install: bootstrap
10 salt_bootstrap_url: https://bootstrap.saltstack.com
11 salt_version: latest
12 require_chef: false
13 log_level: error
14 formula: gnocchi
15 grains:
16 noservices: True
17 dependencies:
18 - name: linux
19 repo: git
Martin Polreich553f6db2019-10-14 17:43:10 +020020 source: https://gerrit.mcp.mirantis.com/salt-formulas/linux
21 branch: <%=ENV['GERRIT_BRANCH'] || 'release/2019.2.0' %>
Mykyta Karpindb737652018-02-05 11:11:31 +020022 - name: apache
23 repo: git
Martin Polreich553f6db2019-10-14 17:43:10 +020024 source: https://gerrit.mcp.mirantis.com/salt-formulas/apache
25 branch: <%=ENV['GERRIT_BRANCH'] || 'release/2019.2.0' %>
26 - name: oslo_templates
27 repo: git
28 source: https://gerrit.mcp.mirantis.com/salt-formulas/oslo-templates
29 branch: <%=ENV['GERRIT_BRANCH'] || 'release/2019.2.0' %>
Mykyta Karpindb737652018-02-05 11:11:31 +020030 state_top:
31 base:
32 "*":
33 - linux.system
34 - apache
35 - gnocchi
36 pillars:
37 top.sls:
38 base:
39 "*":
40 - linux_repo_openstack
41 - gnocchi
42 - release
43 - storage
Mykyta Karpindb737652018-02-05 11:11:31 +020044
45verifier:
46 name: inspec
47 sudo: true
48
Martin Polreich553f6db2019-10-14 17:43:10 +020049docker_images:
50 - &xenial-20177 <%=ENV['IMAGE_XENIAL_20177'] || 'docker-dev-local.docker.mirantis.net/mirantis/drivetrain/salt-formulas-ci/salt-formulas-ci-xenial-2017.7:latest'%>
51
Mykyta Karpindb737652018-02-05 11:11:31 +020052platforms:
Martin Polreich553f6db2019-10-14 17:43:10 +020053 - name: xenial-2017.7
Mykyta Karpindb737652018-02-05 11:11:31 +020054 driver_config:
Martin Polreich553f6db2019-10-14 17:43:10 +020055 image: *xenial-20177
Mykyta Karpindb737652018-02-05 11:11:31 +020056 platform: ubuntu
57
58suites:
Martin Polreich553f6db2019-10-14 17:43:10 +020059<% versions = { "pike" => "4.0", "queens" => "4.2"} %>
60<% versions.each do |os_version, gnocchi_version| %>
61 - name: server_cluster_<%=os_version%>_<%=gnocchi_version%>_file
Mykyta Karpindb737652018-02-05 11:11:31 +020062 provisioner:
63 pillars-from-files:
64 gnocchi.sls: tests/pillar/server_cluster.sls
Martin Polreich553f6db2019-10-14 17:43:10 +020065 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls
Mykyta Karpindb737652018-02-05 11:11:31 +020066 pillars:
67 release.sls:
68 gnocchi:
69 common:
Martin Polreich553f6db2019-10-14 17:43:10 +020070 version: '<%=gnocchi_version%>'
Mykyta Karpindb737652018-02-05 11:11:31 +020071 storage.sls:
72 gnocchi:
73 common:
74 storage:
Martin Polreich553f6db2019-10-14 17:43:10 +020075 driver: file
Mykyta Karpindb737652018-02-05 11:11:31 +020076
Martin Polreich553f6db2019-10-14 17:43:10 +020077 - name: server_single_<%=os_version%>_<%=gnocchi_version%>_file
Mykyta Karpindb737652018-02-05 11:11:31 +020078 provisioner:
79 pillars-from-files:
80 gnocchi.sls: tests/pillar/server_single.sls
Martin Polreich553f6db2019-10-14 17:43:10 +020081 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls
Mykyta Karpindb737652018-02-05 11:11:31 +020082 pillars:
83 release.sls:
84 gnocchi:
85 common:
Martin Polreich553f6db2019-10-14 17:43:10 +020086 version: '<%=gnocchi_version%>'
Mykyta Karpindb737652018-02-05 11:11:31 +020087 storage.sls:
88 gnocchi:
89 common:
90 storage:
Martin Polreich553f6db2019-10-14 17:43:10 +020091 driver: file
Mykyta Karpindb737652018-02-05 11:11:31 +020092
Martin Polreich553f6db2019-10-14 17:43:10 +020093 - name: server_cluster_<%=os_version%>_<%=gnocchi_version%>_redis
94 provisioner:
95 pillars-from-files:
96 gnocchi.sls: tests/pillar/server_cluster.sls
97 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls
98 pillars:
99 release.sls:
100 gnocchi:
101 common:
102 version: '<%=gnocchi_version%>'
103 storage.sls:
104 gnocchi:
105 common:
106 storage:
107 driver: redis
108
109 - name: server_single_<%=os_version%>_<%=gnocchi_version%>_redis
110 provisioner:
111 pillars-from-files:
112 gnocchi.sls: tests/pillar/server_single.sls
113 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls
114 pillars:
115 release.sls:
116 gnocchi:
117 common:
118 version: '<%=gnocchi_version%>'
119 storage.sls:
120 gnocchi:
121 common:
122 storage:
123 driver: redis
124<% end %>
Mykyta Karpindb737652018-02-05 11:11:31 +0200125# vim: ft=yaml sw=2 ts=2 sts=2 tw=125