blob: 9319ea542790558d6ab5df1bdf5ce69e520589ae [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:
Martin Polreiche70e6282019-10-15 14:33:39 +020048 - &xenial-20177 <%=ENV['IMAGE_XENIAL_20177'] || 'docker-dev-local.docker.mirantis.net/mirantis/drivetrain/salt-formulas-ci/salt-formulas-ci-xenial-2017.7:latest'%>
Martin Polreich6c6d49a2019-01-15 14:57:01 +010049
Mykyta Karpind6d078e2018-02-16 22:13:01 +020050platforms:
Martin Polreich6c6d49a2019-01-15 14:57:01 +010051 - name: xenial-2017.7
Mykyta Karpind6d078e2018-02-16 22:13:01 +020052 driver_config:
Martin Polreich6c6d49a2019-01-15 14:57:01 +010053 image: *xenial-20177
54 platform: ubuntu
55
Mykyta Karpind6d078e2018-02-16 22:13:01 +020056suites:
sgarbuz656c7be2019-02-14 15:33:34 +020057<% for os_version in ['pike','queens','rocky'] %>
58 - name: server_cluster_<%=os_version%>
Mykyta Karpind6d078e2018-02-16 22:13:01 +020059 provisioner:
60 pillars-from-files:
61 panko.sls: tests/pillar/server_cluster.sls
sgarbuz656c7be2019-02-14 15:33:34 +020062 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls
Mykyta Karpind6d078e2018-02-16 22:13:01 +020063 pillars:
64 release.sls:
65 panko:
66 server:
sgarbuz656c7be2019-02-14 15:33:34 +020067 version: <%=os_version%>
Mykyta Karpind6d078e2018-02-16 22:13:01 +020068
sgarbuz656c7be2019-02-14 15:33:34 +020069 - name: server_single_<%=os_version%>
Mykyta Karpind6d078e2018-02-16 22:13:01 +020070 provisioner:
71 pillars-from-files:
72 panko.sls: tests/pillar/server_single.sls
sgarbuz656c7be2019-02-14 15:33:34 +020073 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls
Mykyta Karpind6d078e2018-02-16 22:13:01 +020074 pillars:
75 release.sls:
76 panko:
77 server:
sgarbuz656c7be2019-02-14 15:33:34 +020078 version: <%=os_version%>
79<% end %>
Mykyta Karpind6d078e2018-02-16 22:13:01 +020080# vim: ft=yaml sw=2 ts=2 sts=2 tw=125