| --- |
| driver: |
| name: docker |
| hostname: nginx.ci.local |
| use_sudo: false |
| |
| provisioner: |
| name: salt_solo |
| salt_install: bootstrap |
| salt_bootstrap_url: https://bootstrap.saltstack.com |
| salt_version: latest |
| require_chef: false |
| log_level: error |
| formula: nginx |
| grains: |
| noservices: True |
| dependencies: |
| - name: horizon |
| repo: git |
| source: https://github.com/salt-formulas/salt-formula-horizon |
| state_top: |
| base: |
| "*": |
| - nginx |
| pillars: |
| top.sls: |
| base: |
| "*": |
| - nginx |
| |
| verifier: |
| name: inspec |
| sudo: true |
| |
| docker_images: |
| - &xenial-20163 <%=ENV['IMAGE_XENIAL_20163'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2016.3/salt:2018_11_19'%> |
| - &xenial-20177 <%=ENV['IMAGE_XENIAL_20177'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19'%> |
| - &xenial-stable <%=ENV['IMAGE_XENIAL_STABLE'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19'%> |
| |
| platforms: |
| - name: xenial-2016.3 |
| driver_config: |
| image: *xenial-20163 |
| platform: ubuntu |
| |
| - name: xenial-2017.7 |
| driver_config: |
| image: *xenial-20177 |
| platform: ubuntu |
| |
| - name: xenial-stable |
| driver_config: |
| image: *xenial-stable |
| platform: ubuntu |
| |
| suites: |
| - name: horizon_no_ssl |
| provisioner: |
| pillars-from-files: |
| nginx.sls: tests/pillar/horizon_no_ssl.sls |
| |
| - name: horizon_with_ssl |
| provisioner: |
| pillars-from-files: |
| nginx.sls: tests/pillar/horizon_with_ssl.sls |
| |
| - name: horizon_with_ssl_options |
| provisioner: |
| pillars-from-files: |
| nginx.sls: tests/pillar/horizon_with_ssl_options.sls |
| |
| - name: proxy |
| provisioner: |
| pillars-from-files: |
| nginx.sls: tests/pillar/proxy.sls |
| |
| - name: proxy-rate-limit |
| provisioner: |
| pillars-from-files: |
| nginx.sls: tests/pillar/proxy_rate_limit.sls |
| |
| - name: redirect |
| provisioner: |
| pillars-from-files: |
| nginx.sls: tests/pillar/redirect.sls |
| |
| - name: static |
| provisioner: |
| pillars-from-files: |
| nginx.sls: tests/pillar/static.sls |
| |
| - name: stats |
| provisioner: |
| pillars-from-files: |
| nginx.sls: tests/pillar/stats.sls |
| |
| - name: proxy_with_ssl |
| provisioner: |
| pillars-from-files: |
| nginx.sls: tests/pillar/proxy_with_ssl.sls |
| # vim: ft=yaml sw=2 ts=2 sts=2 tw=125 |