blob: f067ecc3edf8d9b667347f27a95cebdf47e6d726 [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:
39 - &xenial-20177 <%=ENV['IMAGE_XENIAL_20177'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19'%>
40 - &xenial-stable <%=ENV['IMAGE_XENIAL_STABLE'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19'%>
41
Martin819ef24a2a2017-02-14 14:25:57 +010042platforms:
Martin Polreich5107c812018-12-14 14:07:14 +010043 - name: xenial-2017.7
Martin819ef24a2a2017-02-14 14:25:57 +010044 driver_config:
Martin Polreich5107c812018-12-14 14:07:14 +010045 image: *xenial-20177
46 platform: ubuntu
47
48 - name: xenial-stable
49 driver_config:
50 image: *xenial-stable
Martin819ef24a2a2017-02-14 14:25:57 +010051 platform: ubuntu
Oleh Hryhorovfc353c72018-01-18 17:23:09 +020052
Martin819ef24a2a2017-02-14 14:25:57 +010053# - name: centos-7.1
54
55suites:
sgarbuz23622812019-01-04 17:29:12 +020056<% for os_version in ['ocata','pike', 'queens', 'rocky'] %>
57 - name: cluster_<%=os_version%>
Martin819ef24a2a2017-02-14 14:25:57 +010058 provisioner:
59 pillars-from-files:
60 horizon.sls: tests/pillar/cluster.sls
sgarbuz23622812019-01-04 17:29:12 +020061 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls
62 pillars:
63 release.sls:
64 horizon:
65 server:
66 version: <%=os_version%>
Martin819ef24a2a2017-02-14 14:25:57 +010067
sgarbuz23622812019-01-04 17:29:12 +020068 - name: single_<%=os_version%>
Martin819ef24a2a2017-02-14 14:25:57 +010069 provisioner:
70 pillars-from-files:
Martin819ef24a2a2017-02-14 14:25:57 +010071 horizon.sls: tests/pillar/single.sls
sgarbuz23622812019-01-04 17:29:12 +020072 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls
73 pillars:
74 release.sls:
75 horizon:
76 server:
77 version: <%=os_version%>
78<% end %>
Martin819ef24a2a2017-02-14 14:25:57 +010079# vim: ft=yaml sw=2 ts=2 sts=2 tw=125