| --- |
| driver: |
| name: docker |
| hostname: haproxy.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: haproxy |
| grains: |
| noservices: True |
| dependencies: |
| - name: salt |
| repo: git |
| source: https://gerrit.mcp.mirantis.com/salt-formulas/salt |
| branch: <%=ENV['GERRIT_BRANCH'] || 'master' %> |
| state_top: |
| base: |
| "*": |
| - haproxy |
| pillars: |
| top.sls: |
| base: |
| "*": |
| - haproxy |
| |
| verifier: |
| name: inspec |
| sudo: true |
| |
| docker_images: |
| - &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-2017.7 |
| driver_config: |
| image: *xenial-20177 |
| platform: ubuntu |
| |
| - name: xenial-stable |
| driver_config: |
| image: *xenial-stable |
| platform: ubuntu |
| |
| suites: |
| - name: admin |
| provisioner: |
| pillars-from-files: |
| haproxy.sls: tests/pillar/admin.sls |
| |
| - name: single_contrail |
| provisioner: |
| pillars-from-files: |
| haproxy.sls: tests/pillar/single_contrail.sls |
| |
| - name: single_general_service |
| provisioner: |
| pillars-from-files: |
| haproxy.sls: tests/pillar/single_general_service.sls |
| |
| - name: single_openstack_service |
| provisioner: |
| pillars-from-files: |
| haproxy.sls: tests/pillar/single_openstack_service.sls |
| |
| - name: stats |
| provisioner: |
| pillars-from-files: |
| haproxy.sls: tests/pillar/stats.sls |
| |
| - name: single_rate_limiting |
| provisioner: |
| pillars-from-files: |
| haproxy.sls: tests/pillar/single_rate_limiting.sls |
| # vim: ft=yaml sw=2 ts=2 sts=2 tw=125 |