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 |
Oleh Hryhorov | fc353c7 | 2018-01-18 17:23:09 +0200 | [diff] [blame] | 11 | salt_version: <%=ENV['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: |
Michael Senin | 7018af0 | 2017-03-06 12:10:14 +0400 | [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 |
| 20 | source: https://github.com/salt-formulas/salt-formula-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 | "*": |
Vasyl Saienko | 3d516be | 2018-08-16 07:01:24 +0000 | [diff] [blame] | 29 | - apache_single |
Martin819 | ef24a2a | 2017-02-14 14:25:57 +0100 | [diff] [blame] | 30 | - horizon |
| 31 | |
| 32 | verifier: |
| 33 | name: inspec |
| 34 | sudo: true |
| 35 | |
| 36 | platforms: |
Martin Polreich | bd0d11e | 2018-02-16 16:15:02 +0100 | [diff] [blame] | 37 | - name: <%=ENV['PLATFORM'] || 'saltstack-ubuntu-xenial-salt-stable' %> |
Martin819 | ef24a2a | 2017-02-14 14:25:57 +0100 | [diff] [blame] | 38 | driver_config: |
Martin Polreich | a656880 | 2018-11-20 15:08:19 +0100 | [diff] [blame] | 39 | image: <%=ENV['PLATFORM'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19'%> |
Martin819 | ef24a2a | 2017-02-14 14:25:57 +0100 | [diff] [blame] | 40 | platform: ubuntu |
Oleh Hryhorov | fc353c7 | 2018-01-18 17:23:09 +0200 | [diff] [blame] | 41 | |
Martin819 | ef24a2a | 2017-02-14 14:25:57 +0100 | [diff] [blame] | 42 | # - name: centos-7.1 |
| 43 | |
| 44 | suites: |
| 45 | |
| 46 | - name: cluster |
| 47 | provisioner: |
| 48 | pillars-from-files: |
Vasyl Saienko | 3d516be | 2018-08-16 07:01:24 +0000 | [diff] [blame] | 49 | apache_single.sls: tests/pillar/apache_single.sls |
Martin819 | ef24a2a | 2017-02-14 14:25:57 +0100 | [diff] [blame] | 50 | horizon.sls: tests/pillar/cluster.sls |
| 51 | |
| 52 | - name: single |
| 53 | provisioner: |
| 54 | pillars-from-files: |
Vasyl Saienko | 3d516be | 2018-08-16 07:01:24 +0000 | [diff] [blame] | 55 | apache_single.sls: tests/pillar/apache_single.sls |
Martin819 | ef24a2a | 2017-02-14 14:25:57 +0100 | [diff] [blame] | 56 | horizon.sls: tests/pillar/single.sls |
| 57 | # vim: ft=yaml sw=2 ts=2 sts=2 tw=125 |