blob: 5d6dd3f825a956a3566c0cd62e75c82137d272c8 [file] [log] [blame]
Mykyta Karpind6d078e2018-02-16 22:13:01 +02001---
2driver:
3 name: docker
4 hostname: panko.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: panko
15 grains:
16 noservices: True
17 dependencies:
18 - name: linux
19 repo: git
Martin Polreich6c6d49a2019-01-15 14:57:01 +010020 source: https://gerrit.mcp.mirantis.com/salt-formulas/linux
Martin Polreich55d2ce42019-04-10 08:21:45 +020021 branch: <%=ENV['GERRIT_BRANCH'] || 'master' %>
Mykyta Karpind6d078e2018-02-16 22:13:01 +020022 - name: apache
23 repo: git
Martin Polreich6c6d49a2019-01-15 14:57:01 +010024 source: https://gerrit.mcp.mirantis.com/salt-formulas/apache
Martin Polreich55d2ce42019-04-10 08:21:45 +020025 branch: <%=ENV['GERRIT_BRANCH'] || 'master' %>
sgarbuz656c7be2019-02-14 15:33:34 +020026 - name: oslo_templates
27 repo: git
28 source: https://gerrit.mcp.mirantis.com/salt-formulas/oslo-templates
Martin Polreich55d2ce42019-04-10 08:21:45 +020029 branch: <%=ENV['GERRIT_BRANCH'] || 'master' %>
Mykyta Karpind6d078e2018-02-16 22:13:01 +020030 state_top:
31 base:
32 "*":
33 - linux.system
Mykyta Karpind6d078e2018-02-16 22:13:01 +020034 - panko
35 pillars:
36 top.sls:
37 base:
38 "*":
39 - linux_repo_openstack
40 - panko
41 - release
Mykyta Karpind6d078e2018-02-16 22:13:01 +020042
43verifier:
44 name: inspec
45 sudo: true
46
Martin Polreich6c6d49a2019-01-15 14:57:01 +010047docker_images:
48 - &xenial-20177 <%=ENV['IMAGE_XENIAL_20177'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19'%>
49 - &xenial-stable <%=ENV['IMAGE_XENIAL_STABLE'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19'%>
50
Mykyta Karpind6d078e2018-02-16 22:13:01 +020051platforms:
Martin Polreich6c6d49a2019-01-15 14:57:01 +010052 - name: xenial-2017.7
Mykyta Karpind6d078e2018-02-16 22:13:01 +020053 driver_config:
Martin Polreich6c6d49a2019-01-15 14:57:01 +010054 image: *xenial-20177
55 platform: ubuntu
56
57 - name: xenial-stable
58 driver_config:
59 image: *xenial-stable
Mykyta Karpind6d078e2018-02-16 22:13:01 +020060 platform: ubuntu
61
62suites:
sgarbuz656c7be2019-02-14 15:33:34 +020063<% for os_version in ['pike','queens','rocky'] %>
64 - name: server_cluster_<%=os_version%>
Mykyta Karpind6d078e2018-02-16 22:13:01 +020065 provisioner:
66 pillars-from-files:
67 panko.sls: tests/pillar/server_cluster.sls
sgarbuz656c7be2019-02-14 15:33:34 +020068 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls
Mykyta Karpind6d078e2018-02-16 22:13:01 +020069 pillars:
70 release.sls:
71 panko:
72 server:
sgarbuz656c7be2019-02-14 15:33:34 +020073 version: <%=os_version%>
Mykyta Karpind6d078e2018-02-16 22:13:01 +020074
sgarbuz656c7be2019-02-14 15:33:34 +020075 - name: server_single_<%=os_version%>
Mykyta Karpind6d078e2018-02-16 22:13:01 +020076 provisioner:
77 pillars-from-files:
78 panko.sls: tests/pillar/server_single.sls
sgarbuz656c7be2019-02-14 15:33:34 +020079 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls
Mykyta Karpind6d078e2018-02-16 22:13:01 +020080 pillars:
81 release.sls:
82 panko:
83 server:
sgarbuz656c7be2019-02-14 15:33:34 +020084 version: <%=os_version%>
85<% end %>
Mykyta Karpind6d078e2018-02-16 22:13:01 +020086# vim: ft=yaml sw=2 ts=2 sts=2 tw=125