blob: 69bce0e740db219d53e86536ed257164667cd75b [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' %>
Ivan Berezovskiy32b40d02020-03-27 12:58:43 +040030 - name: keystone
31 repo: git
32 source: https://gerrit.mcp.mirantis.com/salt-formulas/keystone
33 branch: <%=ENV['GERRIT_BRANCH'] || 'master' %>
Mykyta Karpindb737652018-02-05 11:11:31 +020034 state_top:
35 base:
36 "*":
37 - linux.system
38 - apache
39 - gnocchi
40 pillars:
41 top.sls:
42 base:
43 "*":
44 - linux_repo_openstack
45 - gnocchi
46 - release
47 - storage
Mykyta Karpindb737652018-02-05 11:11:31 +020048
49verifier:
50 name: inspec
51 sudo: true
52
Martin Polreich0485aa22018-12-14 13:52:31 +010053docker_images:
Martin Polreichf28c0ba2019-10-14 17:42:00 +020054 - &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 +010055
Mykyta Karpindb737652018-02-05 11:11:31 +020056platforms:
Martin Polreich0485aa22018-12-14 13:52:31 +010057 - name: xenial-2017.7
Mykyta Karpindb737652018-02-05 11:11:31 +020058 driver_config:
Martin Polreich0485aa22018-12-14 13:52:31 +010059 image: *xenial-20177
60 platform: ubuntu
61
Mykyta Karpindb737652018-02-05 11:11:31 +020062suites:
Martin Polreichf28c0ba2019-10-14 17:42:00 +020063<% versions = { "pike" => "4.0", "queens" => "4.2" } %>
64<% versions.each do |os_version, gnocchi_version| %>
65 - name: server_cluster_<%=os_version%>_<%=gnocchi_version%>_file
Mykyta Karpindb737652018-02-05 11:11:31 +020066 provisioner:
67 pillars-from-files:
68 gnocchi.sls: tests/pillar/server_cluster.sls
Martin Polreichf28c0ba2019-10-14 17:42:00 +020069 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls
Mykyta Karpindb737652018-02-05 11:11:31 +020070 pillars:
71 release.sls:
72 gnocchi:
73 common:
Martin Polreichf28c0ba2019-10-14 17:42:00 +020074 version: '<%=gnocchi_version%>'
Mykyta Karpindb737652018-02-05 11:11:31 +020075 storage.sls:
76 gnocchi:
77 common:
78 storage:
Martin Polreich0485aa22018-12-14 13:52:31 +010079 driver: file
Mykyta Karpindb737652018-02-05 11:11:31 +020080
Martin Polreichf28c0ba2019-10-14 17:42:00 +020081 - name: server_single_<%=os_version%>_<%=gnocchi_version%>_file
Mykyta Karpindb737652018-02-05 11:11:31 +020082 provisioner:
83 pillars-from-files:
84 gnocchi.sls: tests/pillar/server_single.sls
Martin Polreichf28c0ba2019-10-14 17:42:00 +020085 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls
Mykyta Karpindb737652018-02-05 11:11:31 +020086 pillars:
87 release.sls:
88 gnocchi:
89 common:
Martin Polreichf28c0ba2019-10-14 17:42:00 +020090 version: '<%=gnocchi_version%>'
Mykyta Karpindb737652018-02-05 11:11:31 +020091 storage.sls:
92 gnocchi:
93 common:
94 storage:
Martin Polreich0485aa22018-12-14 13:52:31 +010095 driver: file
Mykyta Karpindb737652018-02-05 11:11:31 +020096
Martin Polreichf28c0ba2019-10-14 17:42:00 +020097 - name: server_cluster_<%=os_version%>_<%=gnocchi_version%>_redis
Martin Polreich0485aa22018-12-14 13:52:31 +010098 provisioner:
99 pillars-from-files:
100 gnocchi.sls: tests/pillar/server_cluster.sls
Martin Polreichf28c0ba2019-10-14 17:42:00 +0200101 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls
Martin Polreich0485aa22018-12-14 13:52:31 +0100102 pillars:
103 release.sls:
104 gnocchi:
105 common:
Martin Polreichf28c0ba2019-10-14 17:42:00 +0200106 version: '<%=gnocchi_version%>'
Martin Polreich0485aa22018-12-14 13:52:31 +0100107 storage.sls:
108 gnocchi:
109 common:
110 storage:
111 driver: redis
112
Martin Polreichf28c0ba2019-10-14 17:42:00 +0200113 - name: server_single_<%=os_version%>_<%=gnocchi_version%>_redis
Martin Polreich0485aa22018-12-14 13:52:31 +0100114 provisioner:
115 pillars-from-files:
116 gnocchi.sls: tests/pillar/server_single.sls
Martin Polreichf28c0ba2019-10-14 17:42:00 +0200117 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls
Martin Polreich0485aa22018-12-14 13:52:31 +0100118 pillars:
119 release.sls:
120 gnocchi:
121 common:
Martin Polreichf28c0ba2019-10-14 17:42:00 +0200122 version: '<%=gnocchi_version%>'
Martin Polreich0485aa22018-12-14 13:52:31 +0100123 storage.sls:
124 gnocchi:
125 common:
126 storage:
127 driver: redis
Martin Polreichf28c0ba2019-10-14 17:42:00 +0200128<% end %>
Mykyta Karpindb737652018-02-05 11:11:31 +0200129# vim: ft=yaml sw=2 ts=2 sts=2 tw=125