blob: fcf99586a4936b50e8868595c198251751f93bea [file] [log] [blame]
Petr Michalec1c5f7c42017-03-10 10:26:09 +01001---
2driver:
3 name: docker
4 hostname: glance.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: glance
15 grains:
16 noservices: True
17 dependencies:
18 - name: linux
19 repo: git
Martin Polreich6e5e75d2018-12-14 13:45:41 +010020 source: https://gerrit.mcp.mirantis.com/salt-formulas/linux
Martin Polreich87bb0f12019-04-10 08:21:44 +020021 branch: <%=ENV['GERRIT_BRANCH'] || 'master' %>
Dmitry Ukov0a228ad2017-05-15 13:35:43 +040022 - name: keystone
23 repo: git
Martin Polreich6e5e75d2018-12-14 13:45:41 +010024 source: https://gerrit.mcp.mirantis.com/salt-formulas/keystone
Martin Polreich87bb0f12019-04-10 08:21:44 +020025 branch: <%=ENV['GERRIT_BRANCH'] || 'master' %>
Martin Polreich40581ec2019-10-14 17:34:56 +020026 - name: oslo_templates
27 repo: git
28 source: https://gerrit.mcp.mirantis.com/salt-formulas/oslo-templates
29 branch: <%=ENV['GERRIT_BRANCH'] || 'master' %>
Petr Michalec1c5f7c42017-03-10 10:26:09 +010030 state_top:
31 base:
32 "*":
33 - linux.system
34 - glance
35 pillars:
36 top.sls:
37 base:
38 "*":
39 - linux_repo_openstack
40 - glance
Martin Polreich40581ec2019-10-14 17:34:56 +020041 - release
Petr Michalec1c5f7c42017-03-10 10:26:09 +010042
43verifier:
44 name: inspec
45 sudo: true
46
Martin Polreich6e5e75d2018-12-14 13:45:41 +010047docker_images:
Martin Polreich40581ec2019-10-14 17:34:56 +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'%>
Petr Michalec1c5f7c42017-03-10 10:26:09 +010049
50platforms:
Martin Polreich6e5e75d2018-12-14 13:45:41 +010051
52 - name: xenial-2017.7
Petr Michalec1c5f7c42017-03-10 10:26:09 +010053 driver_config:
Martin Polreich6e5e75d2018-12-14 13:45:41 +010054 image: *xenial-20177
55 platform: ubuntu
56
Petr Michalec1c5f7c42017-03-10 10:26:09 +010057suites:
Martin Polreich40581ec2019-10-14 17:34:56 +020058<% for os_version in ['pike','queens','rocky'] %>
59 - name: cluster_<%=os_version%>
Petr Michalec1c5f7c42017-03-10 10:26:09 +010060 provisioner:
61 pillars-from-files:
62 glance.sls: tests/pillar/cluster.sls
sgarbuz46df4d42019-01-16 14:14:08 +020063 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls
64 pillars:
Martin Polreich40581ec2019-10-14 17:34:56 +020065 release.sls:
sgarbuz46df4d42019-01-16 14:14:08 +020066 glance:
67 server:
Martin Polreich40581ec2019-10-14 17:34:56 +020068 version: <%=os_version%>
Petr Michalec1c5f7c42017-03-10 10:26:09 +010069
Martin Polreich40581ec2019-10-14 17:34:56 +020070 - name: single_ceph_<%=os_version%>
Petr Michalec1c5f7c42017-03-10 10:26:09 +010071 provisioner:
72 pillars-from-files:
73 glance.sls: tests/pillar/single_ceph.sls
sgarbuz46df4d42019-01-16 14:14:08 +020074 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls
75 pillars:
Martin Polreich40581ec2019-10-14 17:34:56 +020076 release.sls:
sgarbuz46df4d42019-01-16 14:14:08 +020077 glance:
78 server:
Martin Polreich40581ec2019-10-14 17:34:56 +020079 version: <%=os_version%>
Petr Michalec1c5f7c42017-03-10 10:26:09 +010080
Martin Polreich40581ec2019-10-14 17:34:56 +020081 - name: single_barbican_<%=os_version%>
Oleg Iurchenko68ae3552017-10-13 18:40:42 +030082 provisioner:
83 pillars-from-files:
84 glance.sls: tests/pillar/single_barbican.sls
sgarbuz46df4d42019-01-16 14:14:08 +020085 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls
86 pillars:
Martin Polreich40581ec2019-10-14 17:34:56 +020087 release.sls:
sgarbuz46df4d42019-01-16 14:14:08 +020088 glance:
89 server:
Martin Polreich40581ec2019-10-14 17:34:56 +020090 version: <%=os_version%>
Oleg Iurchenko68ae3552017-10-13 18:40:42 +030091
Martin Polreich40581ec2019-10-14 17:34:56 +020092 - name: single_<%=os_version%>
Petr Michalec1c5f7c42017-03-10 10:26:09 +010093 provisioner:
94 pillars-from-files:
95 glance.sls: tests/pillar/single.sls
sgarbuz46df4d42019-01-16 14:14:08 +020096 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls
97 pillars:
Martin Polreich40581ec2019-10-14 17:34:56 +020098 release.sls:
sgarbuz46df4d42019-01-16 14:14:08 +020099 glance:
100 server:
Martin Polreich40581ec2019-10-14 17:34:56 +0200101 version: <%=os_version%>
sgarbuz46df4d42019-01-16 14:14:08 +0200102<% end %>
103# vim: ft=yaml sw=2 ts=2 sts=2 tw=125