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 |
Martin819 | ef24a2a | 2017-02-14 14:25:57 +0100 | [diff] [blame] | 21 | state_top: |
| 22 | base: |
| 23 | "*": |
| 24 | - horizon |
| 25 | pillars: |
| 26 | top.sls: |
| 27 | base: |
| 28 | "*": |
sgarbuz | 2362281 | 2019-01-04 17:29:12 +0200 | [diff] [blame^] | 29 | - linux_repo_openstack |
| 30 | - release |
Martin819 | ef24a2a | 2017-02-14 14:25:57 +0100 | [diff] [blame] | 31 | - horizon |
| 32 | |
| 33 | verifier: |
| 34 | name: inspec |
| 35 | sudo: true |
| 36 | |
Martin Polreich | 5107c81 | 2018-12-14 14:07:14 +0100 | [diff] [blame] | 37 | docker_images: |
| 38 | - &xenial-20177 <%=ENV['IMAGE_XENIAL_20177'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19'%> |
| 39 | - &xenial-stable <%=ENV['IMAGE_XENIAL_STABLE'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19'%> |
| 40 | |
Martin819 | ef24a2a | 2017-02-14 14:25:57 +0100 | [diff] [blame] | 41 | platforms: |
Martin Polreich | 5107c81 | 2018-12-14 14:07:14 +0100 | [diff] [blame] | 42 | - name: xenial-2017.7 |
Martin819 | ef24a2a | 2017-02-14 14:25:57 +0100 | [diff] [blame] | 43 | driver_config: |
Martin Polreich | 5107c81 | 2018-12-14 14:07:14 +0100 | [diff] [blame] | 44 | image: *xenial-20177 |
| 45 | platform: ubuntu |
| 46 | |
| 47 | - name: xenial-stable |
| 48 | driver_config: |
| 49 | image: *xenial-stable |
Martin819 | ef24a2a | 2017-02-14 14:25:57 +0100 | [diff] [blame] | 50 | platform: ubuntu |
Oleh Hryhorov | fc353c7 | 2018-01-18 17:23:09 +0200 | [diff] [blame] | 51 | |
Martin819 | ef24a2a | 2017-02-14 14:25:57 +0100 | [diff] [blame] | 52 | # - name: centos-7.1 |
| 53 | |
| 54 | suites: |
sgarbuz | 2362281 | 2019-01-04 17:29:12 +0200 | [diff] [blame^] | 55 | <% for os_version in ['ocata','pike', 'queens', 'rocky'] %> |
| 56 | - name: cluster_<%=os_version%> |
Martin819 | ef24a2a | 2017-02-14 14:25:57 +0100 | [diff] [blame] | 57 | provisioner: |
| 58 | pillars-from-files: |
| 59 | horizon.sls: tests/pillar/cluster.sls |
sgarbuz | 2362281 | 2019-01-04 17:29:12 +0200 | [diff] [blame^] | 60 | linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls |
| 61 | pillars: |
| 62 | release.sls: |
| 63 | horizon: |
| 64 | server: |
| 65 | version: <%=os_version%> |
Martin819 | ef24a2a | 2017-02-14 14:25:57 +0100 | [diff] [blame] | 66 | |
sgarbuz | 2362281 | 2019-01-04 17:29:12 +0200 | [diff] [blame^] | 67 | - name: single_<%=os_version%> |
Martin819 | ef24a2a | 2017-02-14 14:25:57 +0100 | [diff] [blame] | 68 | provisioner: |
| 69 | pillars-from-files: |
Martin819 | ef24a2a | 2017-02-14 14:25:57 +0100 | [diff] [blame] | 70 | horizon.sls: tests/pillar/single.sls |
sgarbuz | 2362281 | 2019-01-04 17:29:12 +0200 | [diff] [blame^] | 71 | linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls |
| 72 | pillars: |
| 73 | release.sls: |
| 74 | horizon: |
| 75 | server: |
| 76 | version: <%=os_version%> |
| 77 | <% end %> |
Martin819 | ef24a2a | 2017-02-14 14:25:57 +0100 | [diff] [blame] | 78 | # vim: ft=yaml sw=2 ts=2 sts=2 tw=125 |