blob: 2919a166aa6cd596c83753d7f54ffdcb29a5e6b7 [file] [log] [blame]
Elena Ezhovaa3a43232017-06-02 17:53:00 +04001---
2driver:
3 name: docker
4 hostname: octavia.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: octavia
15 grains:
16 noservices: True
17 dependencies:
Elena Ezhova26bab1f2017-06-15 16:34:59 +040018 - name: linux
Elena Ezhovaa3a43232017-06-02 17:53:00 +040019 repo: git
Martin Polreich980212d2019-01-24 17:28:22 +010020 source: https://gerrit.mcp.mirantis.com/salt-formulas/linux
Martin Polreich34d13632019-04-08 14:37:01 +020021 branch: <%=ENV['GERRIT_BRANCH'] || 'master' %>
Ann Kamyshnikova3c331d42019-01-17 14:50:11 +040022 - name: oslo_templates
23 repo: git
Martin Polreich980212d2019-01-24 17:28:22 +010024 source: https://gerrit.mcp.mirantis.com/salt-formulas/oslo-templates
Martin Polreich34d13632019-04-08 14:37:01 +020025 branch: <%=ENV['GERRIT_BRANCH'] || 'master' %>
Elena Ezhovaa3a43232017-06-02 17:53:00 +040026 state_top:
27 base:
28 "*":
Elena Ezhova26bab1f2017-06-15 16:34:59 +040029 - linux.system
Elena Ezhovaa3a43232017-06-02 17:53:00 +040030 - octavia
31 pillars:
32 top.sls:
33 base:
34 "*":
Elena Ezhova26bab1f2017-06-15 16:34:59 +040035 - linux_repo_openstack
Elena Ezhovaa3a43232017-06-02 17:53:00 +040036 - octavia
37
38verifier:
39 name: inspec
40 sudo: true
41
Martin Polreich980212d2019-01-24 17:28:22 +010042docker_images:
Martin Polreich980212d2019-01-24 17:28:22 +010043 - &xenial-20177 <%=ENV['IMAGE_XENIAL_20177'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19'%>
44 - &xenial-stable <%=ENV['IMAGE_XENIAL_STABLE'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19'%>
45
Elena Ezhovaa3a43232017-06-02 17:53:00 +040046platforms:
Martin Polreich980212d2019-01-24 17:28:22 +010047 - name: xenial-2017.7
48 driver_config:
49 image: *xenial-20177
50 platform: ubuntu
51
52 - name: xenial-stable
53 driver_config:
54 image: *xenial-stable
Elena Ezhovaa3a43232017-06-02 17:53:00 +040055 platform: ubuntu
56
57suites:
Martin Polreich980212d2019-01-24 17:28:22 +010058<% for os_version in ['ocata','pike','queens'] %>
59 - name: api_single_<%=os_version%>
Elena Ezhovaa3a43232017-06-02 17:53:00 +040060 provisioner:
61 pillars-from-files:
Elena Ezhova26bab1f2017-06-15 16:34:59 +040062 octavia.sls: tests/pillar/api_single.sls
Martin Polreich980212d2019-01-24 17:28:22 +010063 linux_repo_openstack.sls: tests/pillar/repo_openstack_<%=os_version%>.sls
Ann Taraday4a506432018-09-07 16:48:20 +040064 pillars:
65 release.sls:
66 octavia:
67 api:
Martin Polreich980212d2019-01-24 17:28:22 +010068 version: <%=os_version%>
Elena Ezhova26bab1f2017-06-15 16:34:59 +040069
Martin Polreich980212d2019-01-24 17:28:22 +010070 - name: api_cluster_<%=os_version%>
Elena Ezhova26bab1f2017-06-15 16:34:59 +040071 provisioner:
72 pillars-from-files:
73 octavia.sls: tests/pillar/api_cluster.sls
Martin Polreich980212d2019-01-24 17:28:22 +010074 linux_repo_openstack.sls: tests/pillar/repo_openstack_<%=os_version%>.sls
Ann Taraday4a506432018-09-07 16:48:20 +040075 pillars:
76 release.sls:
77 octavia:
78 api:
Martin Polreich980212d2019-01-24 17:28:22 +010079 version: <%=os_version%>
Elena Ezhova26bab1f2017-06-15 16:34:59 +040080
Martin Polreich980212d2019-01-24 17:28:22 +010081 - name: manager_single_<%=os_version%>
Elena Ezhova26bab1f2017-06-15 16:34:59 +040082 provisioner:
83 pillars-from-files:
84 octavia.sls: tests/pillar/manager_single.sls
Martin Polreich980212d2019-01-24 17:28:22 +010085 linux_repo_openstack.sls: tests/pillar/repo_openstack_<%=os_version%>.sls
Ann Taraday4a506432018-09-07 16:48:20 +040086 pillars:
87 release.sls:
88 octavia:
89 manager:
Martin Polreich980212d2019-01-24 17:28:22 +010090 version: <%=os_version%>
Elena Ezhova26bab1f2017-06-15 16:34:59 +040091
Martin Polreich980212d2019-01-24 17:28:22 +010092 - name: manager_cluster_<%=os_version%>
Ann Kamyshnikova34f98b32018-11-28 16:08:06 +040093 provisioner:
94 pillars-from-files:
95 octavia.sls: tests/pillar/manager_cluster.sls
Martin Polreich980212d2019-01-24 17:28:22 +010096 linux_repo_openstack.sls: tests/pillar/repo_openstack_<%=os_version%>.sls
Ann Kamyshnikova34f98b32018-11-28 16:08:06 +040097 pillars:
98 release.sls:
99 octavia:
100 manager:
Martin Polreich980212d2019-01-24 17:28:22 +0100101 version: <%=os_version%>
102<% end %>
Elena Ezhovaa3a43232017-06-02 17:53:00 +0400103# vim: ft=yaml sw=2 ts=2 sts=2 tw=125