| --- |
| driver: |
| name: docker |
| hostname: octavia.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: octavia |
| grains: |
| noservices: True |
| dependencies: |
| - name: keystone |
| repo: git |
| source: https://gerrit.mcp.mirantis.com/salt-formulas/keystone |
| branch: <%=ENV['GERRIT_BRANCH'] || 'master' %> |
| - name: linux |
| repo: git |
| source: https://gerrit.mcp.mirantis.com/salt-formulas/linux |
| branch: <%=ENV['GERRIT_BRANCH'] || 'master' %> |
| - name: oslo_templates |
| repo: git |
| source: https://gerrit.mcp.mirantis.com/salt-formulas/oslo-templates |
| branch: <%=ENV['GERRIT_BRANCH'] || 'master' %> |
| state_top: |
| base: |
| "*": |
| - linux.system |
| - octavia |
| pillars: |
| top.sls: |
| base: |
| "*": |
| - linux_repo_openstack |
| - octavia |
| |
| verifier: |
| name: inspec |
| sudo: true |
| |
| docker_images: |
| - &xenial-20177 <%=ENV['IMAGE_XENIAL_20177'] || 'docker-dev-local.docker.mirantis.net/mirantis/drivetrain/salt-formulas-ci/salt-formulas-ci-xenial-2017.7:latest'%> |
| |
| platforms: |
| - name: xenial-2017.7 |
| driver_config: |
| image: *xenial-20177 |
| platform: ubuntu |
| |
| suites: |
| <% for os_version in ['pike','queens'] %> |
| - name: api_single_<%=os_version%> |
| provisioner: |
| pillars-from-files: |
| octavia.sls: tests/pillar/api_single.sls |
| linux_repo_openstack.sls: tests/pillar/repo_openstack_<%=os_version%>.sls |
| pillars: |
| release.sls: |
| octavia: |
| api: |
| version: <%=os_version%> |
| |
| - name: api_cluster_<%=os_version%> |
| provisioner: |
| pillars-from-files: |
| octavia.sls: tests/pillar/api_cluster.sls |
| linux_repo_openstack.sls: tests/pillar/repo_openstack_<%=os_version%>.sls |
| pillars: |
| release.sls: |
| octavia: |
| api: |
| version: <%=os_version%> |
| |
| - name: manager_single_<%=os_version%> |
| provisioner: |
| pillars-from-files: |
| octavia.sls: tests/pillar/manager_single.sls |
| linux_repo_openstack.sls: tests/pillar/repo_openstack_<%=os_version%>.sls |
| pillars: |
| release.sls: |
| octavia: |
| manager: |
| version: <%=os_version%> |
| |
| - name: manager_cluster_<%=os_version%> |
| provisioner: |
| pillars-from-files: |
| octavia.sls: tests/pillar/manager_cluster.sls |
| linux_repo_openstack.sls: tests/pillar/repo_openstack_<%=os_version%>.sls |
| pillars: |
| release.sls: |
| octavia: |
| manager: |
| version: <%=os_version%> |
| <% end %> |
| # vim: ft=yaml sw=2 ts=2 sts=2 tw=125 |