Martin819 | ef24a2a | 2017-02-14 14:25:57 +0100 | [diff] [blame] | 1 | --- |
| 2 | driver: |
| 3 | name: docker |
| 4 | hostname: horizon.ci.local |
| 5 | use_sudo: false |
| 6 | |
| 7 | provisioner: |
| 8 | name: salt_solo |
| 9 | salt_install: bootstrap |
| 10 | salt_bootstrap_url: https://bootstrap.saltstack.com |
Martin Polreich | 5107c81 | 2018-12-14 14:07:14 +0100 | [diff] [blame] | 11 | salt_version: latest |
Martin819 | ef24a2a | 2017-02-14 14:25:57 +0100 | [diff] [blame] | 12 | require_chef: false |
| 13 | log_level: error |
| 14 | formula: horizon |
| 15 | grains: |
sgarbuz | 2362281 | 2019-01-04 17:29:12 +0200 | [diff] [blame] | 16 | noservices: false |
Vasyl Saienko | 3d516be | 2018-08-16 07:01:24 +0000 | [diff] [blame] | 17 | dependencies: |
| 18 | - name: apache |
| 19 | repo: git |
Martin Polreich | 5107c81 | 2018-12-14 14:07:14 +0100 | [diff] [blame] | 20 | source: https://gerrit.mcp.mirantis.com/salt-formulas/apache |
Martin Polreich | 5b17b9d | 2019-04-10 08:21:44 +0200 | [diff] [blame] | 21 | branch: <%=ENV['GERRIT_BRANCH'] || 'master' %> |
Martin819 | ef24a2a | 2017-02-14 14:25:57 +0100 | [diff] [blame] | 22 | state_top: |
| 23 | base: |
| 24 | "*": |
| 25 | - horizon |
| 26 | pillars: |
| 27 | top.sls: |
| 28 | base: |
| 29 | "*": |
sgarbuz | 2362281 | 2019-01-04 17:29:12 +0200 | [diff] [blame] | 30 | - linux_repo_openstack |
| 31 | - release |
Martin819 | ef24a2a | 2017-02-14 14:25:57 +0100 | [diff] [blame] | 32 | - horizon |
| 33 | |
| 34 | verifier: |
| 35 | name: inspec |
| 36 | sudo: true |
| 37 | |
Martin Polreich | 5107c81 | 2018-12-14 14:07:14 +0100 | [diff] [blame] | 38 | docker_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 | |
Martin819 | ef24a2a | 2017-02-14 14:25:57 +0100 | [diff] [blame] | 42 | platforms: |
Martin Polreich | 5107c81 | 2018-12-14 14:07:14 +0100 | [diff] [blame] | 43 | - name: xenial-2017.7 |
Martin819 | ef24a2a | 2017-02-14 14:25:57 +0100 | [diff] [blame] | 44 | driver_config: |
Martin Polreich | 5107c81 | 2018-12-14 14:07:14 +0100 | [diff] [blame] | 45 | image: *xenial-20177 |
| 46 | platform: ubuntu |
| 47 | |
| 48 | - name: xenial-stable |
| 49 | driver_config: |
| 50 | image: *xenial-stable |
Martin819 | ef24a2a | 2017-02-14 14:25:57 +0100 | [diff] [blame] | 51 | platform: ubuntu |
Oleh Hryhorov | fc353c7 | 2018-01-18 17:23:09 +0200 | [diff] [blame] | 52 | |
Martin819 | ef24a2a | 2017-02-14 14:25:57 +0100 | [diff] [blame] | 53 | # - name: centos-7.1 |
| 54 | |
| 55 | suites: |
sgarbuz | 2362281 | 2019-01-04 17:29:12 +0200 | [diff] [blame] | 56 | <% for os_version in ['ocata','pike', 'queens', 'rocky'] %> |
| 57 | - name: cluster_<%=os_version%> |
Martin819 | ef24a2a | 2017-02-14 14:25:57 +0100 | [diff] [blame] | 58 | provisioner: |
| 59 | pillars-from-files: |
| 60 | horizon.sls: tests/pillar/cluster.sls |
sgarbuz | 2362281 | 2019-01-04 17:29:12 +0200 | [diff] [blame] | 61 | 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%> |
Martin819 | ef24a2a | 2017-02-14 14:25:57 +0100 | [diff] [blame] | 67 | |
sgarbuz | 2362281 | 2019-01-04 17:29:12 +0200 | [diff] [blame] | 68 | - name: single_<%=os_version%> |
Martin819 | ef24a2a | 2017-02-14 14:25:57 +0100 | [diff] [blame] | 69 | provisioner: |
| 70 | pillars-from-files: |
Martin819 | ef24a2a | 2017-02-14 14:25:57 +0100 | [diff] [blame] | 71 | horizon.sls: tests/pillar/single.sls |
sgarbuz | 2362281 | 2019-01-04 17:29:12 +0200 | [diff] [blame] | 72 | 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 %> |
Martin819 | ef24a2a | 2017-02-14 14:25:57 +0100 | [diff] [blame] | 79 | # vim: ft=yaml sw=2 ts=2 sts=2 tw=125 |