| --- |
| driver: |
| name: docker |
| hostname: gnocchi.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: gnocchi |
| grains: |
| noservices: True |
| dependencies: |
| - name: linux |
| repo: git |
| source: https://gerrit.mcp.mirantis.com/salt-formulas/linux |
| branch: <%=ENV['GERRIT_BRANCH'] || 'release/2019.2.0' %> |
| - name: apache |
| repo: git |
| source: https://gerrit.mcp.mirantis.com/salt-formulas/apache |
| branch: <%=ENV['GERRIT_BRANCH'] || 'release/2019.2.0' %> |
| - name: oslo_templates |
| repo: git |
| source: https://gerrit.mcp.mirantis.com/salt-formulas/oslo-templates |
| branch: <%=ENV['GERRIT_BRANCH'] || 'release/2019.2.0' %> |
| - name: keystone |
| repo: git |
| source: https://gerrit.mcp.mirantis.com/salt-formulas/keystone |
| branch: <%=ENV['GERRIT_BRANCH'] || 'release/2019.2.0' %> |
| state_top: |
| base: |
| "*": |
| - linux.system |
| - apache |
| - gnocchi |
| pillars: |
| top.sls: |
| base: |
| "*": |
| - linux_repo_openstack |
| - gnocchi |
| - release |
| - storage |
| |
| 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: |
| <% versions = { "pike" => "4.0", "queens" => "4.2"} %> |
| <% versions.each do |os_version, gnocchi_version| %> |
| - name: server_cluster_<%=os_version%>_<%=gnocchi_version%>_file |
| provisioner: |
| pillars-from-files: |
| gnocchi.sls: tests/pillar/server_cluster.sls |
| linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls |
| pillars: |
| release.sls: |
| gnocchi: |
| common: |
| version: '<%=gnocchi_version%>' |
| storage.sls: |
| gnocchi: |
| common: |
| storage: |
| driver: file |
| |
| - name: server_single_<%=os_version%>_<%=gnocchi_version%>_file |
| provisioner: |
| pillars-from-files: |
| gnocchi.sls: tests/pillar/server_single.sls |
| linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls |
| pillars: |
| release.sls: |
| gnocchi: |
| common: |
| version: '<%=gnocchi_version%>' |
| storage.sls: |
| gnocchi: |
| common: |
| storage: |
| driver: file |
| |
| - name: server_cluster_<%=os_version%>_<%=gnocchi_version%>_redis |
| provisioner: |
| pillars-from-files: |
| gnocchi.sls: tests/pillar/server_cluster.sls |
| linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls |
| pillars: |
| release.sls: |
| gnocchi: |
| common: |
| version: '<%=gnocchi_version%>' |
| storage.sls: |
| gnocchi: |
| common: |
| storage: |
| driver: redis |
| |
| - name: server_single_<%=os_version%>_<%=gnocchi_version%>_redis |
| provisioner: |
| pillars-from-files: |
| gnocchi.sls: tests/pillar/server_single.sls |
| linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls |
| pillars: |
| release.sls: |
| gnocchi: |
| common: |
| version: '<%=gnocchi_version%>' |
| storage.sls: |
| gnocchi: |
| common: |
| storage: |
| driver: redis |
| <% end %> |
| # vim: ft=yaml sw=2 ts=2 sts=2 tw=125 |