blob: 97bffb84655c03f009ef6f97537ebbba961024d4 [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
Mykyta Karpind6d078e2018-02-16 22:13:01 +020021 - name: apache
22 repo: git
Martin Polreich6c6d49a2019-01-15 14:57:01 +010023 source: https://gerrit.mcp.mirantis.com/salt-formulas/apache
sgarbuz656c7be2019-02-14 15:33:34 +020024 - name: oslo_templates
25 repo: git
26 source: https://gerrit.mcp.mirantis.com/salt-formulas/oslo-templates
Mykyta Karpind6d078e2018-02-16 22:13:01 +020027 state_top:
28 base:
29 "*":
30 - linux.system
Mykyta Karpind6d078e2018-02-16 22:13:01 +020031 - panko
32 pillars:
33 top.sls:
34 base:
35 "*":
36 - linux_repo_openstack
37 - panko
38 - release
Mykyta Karpind6d078e2018-02-16 22:13:01 +020039
40verifier:
41 name: inspec
42 sudo: true
43
Martin Polreich6c6d49a2019-01-15 14:57:01 +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
Mykyta Karpind6d078e2018-02-16 22:13:01 +020048platforms:
Martin Polreich6c6d49a2019-01-15 14:57:01 +010049 - name: xenial-2017.7
Mykyta Karpind6d078e2018-02-16 22:13:01 +020050 driver_config:
Martin Polreich6c6d49a2019-01-15 14:57:01 +010051 image: *xenial-20177
52 platform: ubuntu
53
54 - name: xenial-stable
55 driver_config:
56 image: *xenial-stable
Mykyta Karpind6d078e2018-02-16 22:13:01 +020057 platform: ubuntu
58
59suites:
sgarbuz656c7be2019-02-14 15:33:34 +020060<% for os_version in ['pike','queens','rocky'] %>
61 - name: server_cluster_<%=os_version%>
Mykyta Karpind6d078e2018-02-16 22:13:01 +020062 provisioner:
63 pillars-from-files:
64 panko.sls: tests/pillar/server_cluster.sls
sgarbuz656c7be2019-02-14 15:33:34 +020065 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls
Mykyta Karpind6d078e2018-02-16 22:13:01 +020066 pillars:
67 release.sls:
68 panko:
69 server:
sgarbuz656c7be2019-02-14 15:33:34 +020070 version: <%=os_version%>
Mykyta Karpind6d078e2018-02-16 22:13:01 +020071
sgarbuz656c7be2019-02-14 15:33:34 +020072 - name: server_single_<%=os_version%>
Mykyta Karpind6d078e2018-02-16 22:13:01 +020073 provisioner:
74 pillars-from-files:
75 panko.sls: tests/pillar/server_single.sls
sgarbuz656c7be2019-02-14 15:33:34 +020076 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls
Mykyta Karpind6d078e2018-02-16 22:13:01 +020077 pillars:
78 release.sls:
79 panko:
80 server:
sgarbuz656c7be2019-02-14 15:33:34 +020081 version: <%=os_version%>
82<% end %>
Mykyta Karpind6d078e2018-02-16 22:13:01 +020083# vim: ft=yaml sw=2 ts=2 sts=2 tw=125