blob: 2c3b8090ba039d2fd9688c8c0445f4e98e0d9d20 [file] [log] [blame]
Petr Michalec5f41e6e2017-04-10 10:18:12 +02001---
2driver:
3 name: docker
4 hostname: nova.ci.local
5 use_sudo: false
6
7provisioner:
8 name: salt_solo
9 salt_install: bootstrap
10 salt_bootstrap_url: https://bootstrap.saltstack.com
Oleh Hryhorovb4e8e252018-01-19 15:59:21 +020011 salt_version: <%=ENV['SALT_VERSION'] || 'latest'%>
Petr Michalec5f41e6e2017-04-10 10:18:12 +020012 require_chef: false
13 log_level: error
14 formula: nova
15 grains:
16 noservices: True
17 dependencies:
18 - name: linux
19 repo: git
Michael Polenchukf37e5b62018-11-28 17:55:45 +040020 source: https://gerrit.mcp.mirantis.com/salt-formulas/linux
Martin Polreich0bd43402019-04-10 08:21:45 +020021 branch: <%=ENV['GERRIT_BRANCH'] || 'master' %>
Dmitry Ukov3562a082017-05-04 00:00:48 +040022 - name: keystone
23 repo: git
Michael Polenchukf37e5b62018-11-28 17:55:45 +040024 source: https://gerrit.mcp.mirantis.com/salt-formulas/keystone
Martin Polreich0bd43402019-04-10 08:21:45 +020025 branch: <%=ENV['GERRIT_BRANCH'] || 'master' %>
Vasyl Saienko29656ce2018-03-03 05:27:59 +020026 - name: apache
27 repo: git
Michael Polenchukf37e5b62018-11-28 17:55:45 +040028 source: https://gerrit.mcp.mirantis.com/salt-formulas/apache
Martin Polreich0bd43402019-04-10 08:21:45 +020029 branch: <%=ENV['GERRIT_BRANCH'] || 'master' %>
Michael Polenchukf37e5b62018-11-28 17:55:45 +040030 - name: oslo_templates
31 repo: git
32 source: https://gerrit.mcp.mirantis.com/salt-formulas/oslo-templates
Martin Polreich0bd43402019-04-10 08:21:45 +020033 branch: <%=ENV['GERRIT_BRANCH'] || 'master' %>
Petr Michalec5f41e6e2017-04-10 10:18:12 +020034 state_top:
35 base:
36 "*":
37 - linux.system
38 - nova
39 pillars:
40 top.sls:
41 base:
42 "*":
43 - linux_repo_openstack
44 - nova
Kirill Bespalovd9d59542017-06-30 00:10:33 +030045 - release
Petr Michalec5f41e6e2017-04-10 10:18:12 +020046
47verifier:
48 name: inspec
49 sudo: true
50
Martin Polreich2408a7a2019-01-18 10:17:17 +010051docker_images:
Martin Polreiche8de07c2019-10-15 14:28:15 +020052 - &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 Polreich2408a7a2019-01-18 10:17:17 +010053
Petr Michalec5f41e6e2017-04-10 10:18:12 +020054platforms:
Martin Polreich2408a7a2019-01-18 10:17:17 +010055 - name: xenial-2017.7
Petr Michalec5f41e6e2017-04-10 10:18:12 +020056 driver_config:
Martin Polreich2408a7a2019-01-18 10:17:17 +010057 image: *xenial-20177
58 platform: ubuntu
59
Petr Michalec5f41e6e2017-04-10 10:18:12 +020060suites:
Martin Polreiche8de07c2019-10-15 14:28:15 +020061<% for os_version in ['pike', 'queens', 'rocky'] %>
sgarbuz37664d82019-02-01 13:11:12 +020062 - name: compute_cluster_<%=os_version%>
Petr Michalec5f41e6e2017-04-10 10:18:12 +020063 provisioner:
64 pillars-from-files:
65 nova.sls: tests/pillar/compute_cluster.sls
Martin Polreich2408a7a2019-01-18 10:17:17 +010066 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls
Kirill Bespalovd9d59542017-06-30 00:10:33 +030067 pillars:
68 release.sls:
69 nova:
70 compute:
Martin Polreich2408a7a2019-01-18 10:17:17 +010071 version: <%=os_version%>
Petr Michalec5f41e6e2017-04-10 10:18:12 +020072
sgarbuz37664d82019-02-01 13:11:12 +020073 - name: control_cluster_<%=os_version%>
Petr Michalec5f41e6e2017-04-10 10:18:12 +020074 provisioner:
75 pillars-from-files:
76 nova.sls: tests/pillar/control_cluster.sls
Martin Polreich2408a7a2019-01-18 10:17:17 +010077 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls
Kirill Bespalovd9d59542017-06-30 00:10:33 +030078 pillars:
79 release.sls:
80 nova:
81 controller:
Martin Polreich2408a7a2019-01-18 10:17:17 +010082 version: <%=os_version%>
83<% end %>
Martin Polreiche8de07c2019-10-15 14:28:15 +020084<% for os_version in ['queens'] %>
Dmitry Teselkin77d9dac2019-04-18 16:43:50 +030085 - name: compute_single_ssl_<%=os_version%>
86 driver:
87 devices:
88 - /dev/mem
89 cap_add:
90 - SYS_RAWIO
91 provisioner:
92 pillars-from-files:
93 compute_single.sls: tests/pillar/compute_single.sls
94 nova.sls: tests/pillar/compute_single_ssl.sls
95 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls
96 pillars:
97 release.sls:
98 nova:
99 compute:
100 version: <%=os_version%>
101<% end %>
Vasyl Saienko29656ce2018-03-03 05:27:59 +0200102
Petr Michalec5f41e6e2017-04-10 10:18:12 +0200103# vim: ft=yaml sw=2 ts=2 sts=2 tw=125