blob: 6ebd02adab719262297467968afae3e3c80bd523 [file] [log] [blame]
Martin819ef24a2a2017-02-14 14:25:57 +01001---
2driver:
3 name: docker
4 hostname: horizon.ci.local
5 use_sudo: false
6
7provisioner:
8 name: salt_solo
9 salt_install: bootstrap
10 salt_bootstrap_url: https://bootstrap.saltstack.com
Martin Polreich5107c812018-12-14 14:07:14 +010011 salt_version: latest
Martin819ef24a2a2017-02-14 14:25:57 +010012 require_chef: false
13 log_level: error
14 formula: horizon
15 grains:
sgarbuz23622812019-01-04 17:29:12 +020016 noservices: false
Vasyl Saienko3d516be2018-08-16 07:01:24 +000017 dependencies:
18 - name: apache
19 repo: git
Martin Polreich5107c812018-12-14 14:07:14 +010020 source: https://gerrit.mcp.mirantis.com/salt-formulas/apache
Martin Polreich5b17b9d2019-04-10 08:21:44 +020021 branch: <%=ENV['GERRIT_BRANCH'] || 'master' %>
Martin819ef24a2a2017-02-14 14:25:57 +010022 state_top:
23 base:
24 "*":
25 - horizon
26 pillars:
27 top.sls:
28 base:
29 "*":
sgarbuz23622812019-01-04 17:29:12 +020030 - linux_repo_openstack
31 - release
Martin819ef24a2a2017-02-14 14:25:57 +010032 - horizon
33
34verifier:
35 name: inspec
36 sudo: true
37
Martin Polreich5107c812018-12-14 14:07:14 +010038docker_images:
Martin Polreichff7fdfb2019-10-14 18:19:50 +020039 - &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 Polreich5107c812018-12-14 14:07:14 +010040
Martin819ef24a2a2017-02-14 14:25:57 +010041platforms:
Martin Polreich5107c812018-12-14 14:07:14 +010042 - name: xenial-2017.7
Martin819ef24a2a2017-02-14 14:25:57 +010043 driver_config:
Martin Polreich5107c812018-12-14 14:07:14 +010044 image: *xenial-20177
45 platform: ubuntu
46
Martin819ef24a2a2017-02-14 14:25:57 +010047suites:
Martin Polreichff7fdfb2019-10-14 18:19:50 +020048<% for os_version in ['pike', 'queens', 'rocky'] %>
sgarbuz23622812019-01-04 17:29:12 +020049 - name: cluster_<%=os_version%>
Martin819ef24a2a2017-02-14 14:25:57 +010050 provisioner:
51 pillars-from-files:
52 horizon.sls: tests/pillar/cluster.sls
sgarbuz23622812019-01-04 17:29:12 +020053 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls
54 pillars:
55 release.sls:
56 horizon:
57 server:
58 version: <%=os_version%>
Martin819ef24a2a2017-02-14 14:25:57 +010059
sgarbuz23622812019-01-04 17:29:12 +020060 - name: single_<%=os_version%>
Martin819ef24a2a2017-02-14 14:25:57 +010061 provisioner:
62 pillars-from-files:
Martin819ef24a2a2017-02-14 14:25:57 +010063 horizon.sls: tests/pillar/single.sls
sgarbuz23622812019-01-04 17:29:12 +020064 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls
65 pillars:
66 release.sls:
67 horizon:
68 server:
69 version: <%=os_version%>
70<% end %>
Martin819ef24a2a2017-02-14 14:25:57 +010071# vim: ft=yaml sw=2 ts=2 sts=2 tw=125