blob: a7f841262edda177474f129fd129183ed584f078 [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
20 source: https://github.com/salt-formulas/salt-formula-linux
Dmitry Ukov3562a082017-05-04 00:00:48 +040021 - name: keystone
22 repo: git
23 source: https://github.com/salt-formulas/salt-formula-keystone
Vasyl Saienko29656ce2018-03-03 05:27:59 +020024 - name: apache
25 repo: git
26 source: https://github.com/salt-formulas/salt-formula-apache
Petr Michalec5f41e6e2017-04-10 10:18:12 +020027 state_top:
28 base:
29 "*":
30 - linux.system
31 - nova
32 pillars:
33 top.sls:
34 base:
35 "*":
36 - linux_repo_openstack
37 - nova
Kirill Bespalovd9d59542017-06-30 00:10:33 +030038 - release
Petr Michalec5f41e6e2017-04-10 10:18:12 +020039
40verifier:
41 name: inspec
42 sudo: true
43
Martin Polreich2408a7a2019-01-18 10:17:17 +010044docker_images:
45 - &xenial-20177 <%=ENV['IMAGE_XENIAL_20177'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19'%>
46 - &xenial-stable <%=ENV['IMAGE_XENIAL_STABLE'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19'%>
47
Petr Michalec5f41e6e2017-04-10 10:18:12 +020048platforms:
Martin Polreich2408a7a2019-01-18 10:17:17 +010049 - name: xenial-2017.7
Petr Michalec5f41e6e2017-04-10 10:18:12 +020050 driver_config:
Martin Polreich2408a7a2019-01-18 10:17:17 +010051 image: *xenial-20177
52 platform: ubuntu
53
54 - name: xenial-stable
55 driver_config:
56 image: *xenial-stable
Petr Michalec5f41e6e2017-04-10 10:18:12 +020057 platform: ubuntu
58
59suites:
Martin Polreich2408a7a2019-01-18 10:17:17 +010060<% for os_version in ['mitaka','newton','ocata','pike'] %>
Martin Polreich6eab98a2017-07-25 13:54:32 +020061 - name: compute_cluster
Petr Michalec5f41e6e2017-04-10 10:18:12 +020062 provisioner:
63 pillars-from-files:
64 nova.sls: tests/pillar/compute_cluster.sls
Martin Polreich2408a7a2019-01-18 10:17:17 +010065 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls
Kirill Bespalovd9d59542017-06-30 00:10:33 +030066 pillars:
67 release.sls:
68 nova:
69 compute:
Martin Polreich2408a7a2019-01-18 10:17:17 +010070 version: <%=os_version%>
Petr Michalec5f41e6e2017-04-10 10:18:12 +020071
Martin Polreich6eab98a2017-07-25 13:54:32 +020072 - name: control_cluster
Petr Michalec5f41e6e2017-04-10 10:18:12 +020073 provisioner:
74 pillars-from-files:
75 nova.sls: tests/pillar/control_cluster.sls
Martin Polreich2408a7a2019-01-18 10:17:17 +010076 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls
Kirill Bespalovd9d59542017-06-30 00:10:33 +030077 pillars:
78 release.sls:
79 nova:
80 controller:
Martin Polreich2408a7a2019-01-18 10:17:17 +010081 version: <%=os_version%>
82<% end %>
Vasyl Saienko29656ce2018-03-03 05:27:59 +020083
Petr Michalec5f41e6e2017-04-10 10:18:12 +020084# vim: ft=yaml sw=2 ts=2 sts=2 tw=125