blob: e460dd4f0352b474798457b45d798e8a3c07c2d0 [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 Polreich0485aa22018-12-14 13:52:31 +010020 source: https://gerrit.mcp.mirantis.com/salt-formulas/linux
Martin Polreich6df18402019-04-10 08:21:44 +020021 branch: <%=ENV['GERRIT_BRANCH'] || 'master' %>
Mykyta Karpindb737652018-02-05 11:11:31 +020022 - name: apache
23 repo: git
Martin Polreich0485aa22018-12-14 13:52:31 +010024 source: https://gerrit.mcp.mirantis.com/salt-formulas/apache
Martin Polreich6df18402019-04-10 08:21:44 +020025 branch: <%=ENV['GERRIT_BRANCH'] || 'master' %>
Martin Polreichf28c0ba2019-10-14 17:42:00 +020026 - name: oslo_templates
27 repo: git
28 source: https://gerrit.mcp.mirantis.com/salt-formulas/oslo-templates
29 branch: <%=ENV['GERRIT_BRANCH'] || 'master' %>
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 Polreich0485aa22018-12-14 13:52:31 +010049docker_images:
Martin Polreichf28c0ba2019-10-14 17:42:00 +020050 - &xenial-20177 <%=ENV['IMAGE_XENIAL_20177'] || 'docker-dev-local.docker.mirantis.net/mirantis/drivetrain/salt-formulas-ci/salt-formulas-ci-xenial-2017.7:latest'%>
Martin Polreich0485aa22018-12-14 13:52:31 +010051
Mykyta Karpindb737652018-02-05 11:11:31 +020052platforms:
Martin Polreich0485aa22018-12-14 13:52:31 +010053 - name: xenial-2017.7
Mykyta Karpindb737652018-02-05 11:11:31 +020054 driver_config:
Martin Polreich0485aa22018-12-14 13:52:31 +010055 image: *xenial-20177
56 platform: ubuntu
57
Mykyta Karpindb737652018-02-05 11:11:31 +020058suites:
Martin Polreichf28c0ba2019-10-14 17:42:00 +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 Polreichf28c0ba2019-10-14 17:42:00 +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 Polreichf28c0ba2019-10-14 17:42:00 +020070 version: '<%=gnocchi_version%>'
Mykyta Karpindb737652018-02-05 11:11:31 +020071 storage.sls:
72 gnocchi:
73 common:
74 storage:
Martin Polreich0485aa22018-12-14 13:52:31 +010075 driver: file
Mykyta Karpindb737652018-02-05 11:11:31 +020076
Martin Polreichf28c0ba2019-10-14 17:42:00 +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 Polreichf28c0ba2019-10-14 17:42:00 +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 Polreichf28c0ba2019-10-14 17:42:00 +020086 version: '<%=gnocchi_version%>'
Mykyta Karpindb737652018-02-05 11:11:31 +020087 storage.sls:
88 gnocchi:
89 common:
90 storage:
Martin Polreich0485aa22018-12-14 13:52:31 +010091 driver: file
Mykyta Karpindb737652018-02-05 11:11:31 +020092
Martin Polreichf28c0ba2019-10-14 17:42:00 +020093 - name: server_cluster_<%=os_version%>_<%=gnocchi_version%>_redis
Martin Polreich0485aa22018-12-14 13:52:31 +010094 provisioner:
95 pillars-from-files:
96 gnocchi.sls: tests/pillar/server_cluster.sls
Martin Polreichf28c0ba2019-10-14 17:42:00 +020097 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls
Martin Polreich0485aa22018-12-14 13:52:31 +010098 pillars:
99 release.sls:
100 gnocchi:
101 common:
Martin Polreichf28c0ba2019-10-14 17:42:00 +0200102 version: '<%=gnocchi_version%>'
Martin Polreich0485aa22018-12-14 13:52:31 +0100103 storage.sls:
104 gnocchi:
105 common:
106 storage:
107 driver: redis
108
Martin Polreichf28c0ba2019-10-14 17:42:00 +0200109 - name: server_single_<%=os_version%>_<%=gnocchi_version%>_redis
Martin Polreich0485aa22018-12-14 13:52:31 +0100110 provisioner:
111 pillars-from-files:
112 gnocchi.sls: tests/pillar/server_single.sls
Martin Polreichf28c0ba2019-10-14 17:42:00 +0200113 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls
Martin Polreich0485aa22018-12-14 13:52:31 +0100114 pillars:
115 release.sls:
116 gnocchi:
117 common:
Martin Polreichf28c0ba2019-10-14 17:42:00 +0200118 version: '<%=gnocchi_version%>'
Martin Polreich0485aa22018-12-14 13:52:31 +0100119 storage.sls:
120 gnocchi:
121 common:
122 storage:
123 driver: redis
Martin Polreichf28c0ba2019-10-14 17:42:00 +0200124<% end %>
Mykyta Karpindb737652018-02-05 11:11:31 +0200125# vim: ft=yaml sw=2 ts=2 sts=2 tw=125