blob: 24684eceab572d0d4dbb7e99b9a6940cf4a1cb20 [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:
52 - &xenial-20177 <%=ENV['IMAGE_XENIAL_20177'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19'%>
53 - &xenial-stable <%=ENV['IMAGE_XENIAL_STABLE'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19'%>
54
Petr Michalec5f41e6e2017-04-10 10:18:12 +020055platforms:
Martin Polreich2408a7a2019-01-18 10:17:17 +010056 - name: xenial-2017.7
Petr Michalec5f41e6e2017-04-10 10:18:12 +020057 driver_config:
Martin Polreich2408a7a2019-01-18 10:17:17 +010058 image: *xenial-20177
59 platform: ubuntu
60
61 - name: xenial-stable
62 driver_config:
63 image: *xenial-stable
Petr Michalec5f41e6e2017-04-10 10:18:12 +020064 platform: ubuntu
65
66suites:
Michael Polenchukf37e5b62018-11-28 17:55:45 +040067<% for os_version in ['mitaka','newton','ocata','pike', 'queens', 'rocky'] %>
sgarbuz37664d82019-02-01 13:11:12 +020068 - name: compute_cluster_<%=os_version%>
Petr Michalec5f41e6e2017-04-10 10:18:12 +020069 provisioner:
70 pillars-from-files:
71 nova.sls: tests/pillar/compute_cluster.sls
Martin Polreich2408a7a2019-01-18 10:17:17 +010072 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls
Kirill Bespalovd9d59542017-06-30 00:10:33 +030073 pillars:
74 release.sls:
75 nova:
76 compute:
Martin Polreich2408a7a2019-01-18 10:17:17 +010077 version: <%=os_version%>
Petr Michalec5f41e6e2017-04-10 10:18:12 +020078
sgarbuz37664d82019-02-01 13:11:12 +020079 - name: control_cluster_<%=os_version%>
Petr Michalec5f41e6e2017-04-10 10:18:12 +020080 provisioner:
81 pillars-from-files:
82 nova.sls: tests/pillar/control_cluster.sls
Martin Polreich2408a7a2019-01-18 10:17:17 +010083 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls
Kirill Bespalovd9d59542017-06-30 00:10:33 +030084 pillars:
85 release.sls:
86 nova:
87 controller:
Martin Polreich2408a7a2019-01-18 10:17:17 +010088 version: <%=os_version%>
89<% end %>
Dmitry Teselkin77d9dac2019-04-18 16:43:50 +030090<% for os_version in ['queens', ] %>
91 - name: compute_single_ssl_<%=os_version%>
92 driver:
93 devices:
94 - /dev/mem
95 cap_add:
96 - SYS_RAWIO
97 provisioner:
98 pillars-from-files:
99 compute_single.sls: tests/pillar/compute_single.sls
100 nova.sls: tests/pillar/compute_single_ssl.sls
101 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls
102 pillars:
103 release.sls:
104 nova:
105 compute:
106 version: <%=os_version%>
107<% end %>
Vasyl Saienko29656ce2018-03-03 05:27:59 +0200108
Petr Michalec5f41e6e2017-04-10 10:18:12 +0200109# vim: ft=yaml sw=2 ts=2 sts=2 tw=125