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: |
Martin Polreich | ff7fdfb | 2019-10-14 18:19:50 +0200 | [diff] [blame] | 39 | - &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 Polreich | 5107c81 | 2018-12-14 14:07:14 +0100 | [diff] [blame] | 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 | |
Martin819 | ef24a2a | 2017-02-14 14:25:57 +0100 | [diff] [blame] | 47 | suites: |
Martin Polreich | ff7fdfb | 2019-10-14 18:19:50 +0200 | [diff] [blame] | 48 | <% for os_version in ['pike', 'queens', 'rocky'] %> |
sgarbuz | 2362281 | 2019-01-04 17:29:12 +0200 | [diff] [blame] | 49 | - name: cluster_<%=os_version%> |
Martin819 | ef24a2a | 2017-02-14 14:25:57 +0100 | [diff] [blame] | 50 | provisioner: |
| 51 | pillars-from-files: |
| 52 | horizon.sls: tests/pillar/cluster.sls |
sgarbuz | 2362281 | 2019-01-04 17:29:12 +0200 | [diff] [blame] | 53 | 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%> |
Martin819 | ef24a2a | 2017-02-14 14:25:57 +0100 | [diff] [blame] | 59 | |
sgarbuz | 2362281 | 2019-01-04 17:29:12 +0200 | [diff] [blame] | 60 | - name: single_<%=os_version%> |
Martin819 | ef24a2a | 2017-02-14 14:25:57 +0100 | [diff] [blame] | 61 | provisioner: |
| 62 | pillars-from-files: |
Martin819 | ef24a2a | 2017-02-14 14:25:57 +0100 | [diff] [blame] | 63 | horizon.sls: tests/pillar/single.sls |
sgarbuz | 2362281 | 2019-01-04 17:29:12 +0200 | [diff] [blame] | 64 | 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 %> |
Martin819 | ef24a2a | 2017-02-14 14:25:57 +0100 | [diff] [blame] | 71 | # vim: ft=yaml sw=2 ts=2 sts=2 tw=125 |