Mykyta Karpin | db73765 | 2018-02-05 11:11:31 +0200 | [diff] [blame] | 1 | --- |
| 2 | driver: |
| 3 | name: docker |
| 4 | hostname: gnocchi.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 |
| 11 | salt_version: latest |
| 12 | require_chef: false |
| 13 | log_level: error |
| 14 | formula: gnocchi |
| 15 | grains: |
| 16 | noservices: True |
| 17 | dependencies: |
| 18 | - name: linux |
| 19 | repo: git |
Martin Polreich | 0485aa2 | 2018-12-14 13:52:31 +0100 | [diff] [blame] | 20 | source: https://gerrit.mcp.mirantis.com/salt-formulas/linux |
Martin Polreich | 6df1840 | 2019-04-10 08:21:44 +0200 | [diff] [blame] | 21 | branch: <%=ENV['GERRIT_BRANCH'] || 'master' %> |
Mykyta Karpin | db73765 | 2018-02-05 11:11:31 +0200 | [diff] [blame] | 22 | - name: apache |
| 23 | repo: git |
Martin Polreich | 0485aa2 | 2018-12-14 13:52:31 +0100 | [diff] [blame] | 24 | source: https://gerrit.mcp.mirantis.com/salt-formulas/apache |
Martin Polreich | 6df1840 | 2019-04-10 08:21:44 +0200 | [diff] [blame] | 25 | branch: <%=ENV['GERRIT_BRANCH'] || 'master' %> |
Martin Polreich | f28c0ba | 2019-10-14 17:42:00 +0200 | [diff] [blame^] | 26 | - name: oslo_templates |
| 27 | repo: git |
| 28 | source: https://gerrit.mcp.mirantis.com/salt-formulas/oslo-templates |
| 29 | branch: <%=ENV['GERRIT_BRANCH'] || 'master' %> |
Mykyta Karpin | db73765 | 2018-02-05 11:11:31 +0200 | [diff] [blame] | 30 | state_top: |
| 31 | base: |
| 32 | "*": |
| 33 | - linux.system |
| 34 | - apache |
| 35 | - gnocchi |
| 36 | pillars: |
| 37 | top.sls: |
| 38 | base: |
| 39 | "*": |
| 40 | - linux_repo_openstack |
| 41 | - gnocchi |
| 42 | - release |
| 43 | - storage |
Mykyta Karpin | db73765 | 2018-02-05 11:11:31 +0200 | [diff] [blame] | 44 | |
| 45 | verifier: |
| 46 | name: inspec |
| 47 | sudo: true |
| 48 | |
Martin Polreich | 0485aa2 | 2018-12-14 13:52:31 +0100 | [diff] [blame] | 49 | docker_images: |
Martin Polreich | f28c0ba | 2019-10-14 17:42:00 +0200 | [diff] [blame^] | 50 | - &xenial-20177 <%=ENV['IMAGE_XENIAL_20177'] || 'docker-dev-local.docker.mirantis.net/mirantis/drivetrain/salt-formulas-ci/salt-formulas-ci-xenial-2017.7:latest'%> |
Martin Polreich | 0485aa2 | 2018-12-14 13:52:31 +0100 | [diff] [blame] | 51 | |
Mykyta Karpin | db73765 | 2018-02-05 11:11:31 +0200 | [diff] [blame] | 52 | platforms: |
Martin Polreich | 0485aa2 | 2018-12-14 13:52:31 +0100 | [diff] [blame] | 53 | - name: xenial-2017.7 |
Mykyta Karpin | db73765 | 2018-02-05 11:11:31 +0200 | [diff] [blame] | 54 | driver_config: |
Martin Polreich | 0485aa2 | 2018-12-14 13:52:31 +0100 | [diff] [blame] | 55 | image: *xenial-20177 |
| 56 | platform: ubuntu |
| 57 | |
Mykyta Karpin | db73765 | 2018-02-05 11:11:31 +0200 | [diff] [blame] | 58 | suites: |
Martin Polreich | f28c0ba | 2019-10-14 17:42:00 +0200 | [diff] [blame^] | 59 | <% versions = { "pike" => "4.0", "queens" => "4.2" } %> |
| 60 | <% versions.each do |os_version, gnocchi_version| %> |
| 61 | - name: server_cluster_<%=os_version%>_<%=gnocchi_version%>_file |
Mykyta Karpin | db73765 | 2018-02-05 11:11:31 +0200 | [diff] [blame] | 62 | provisioner: |
| 63 | pillars-from-files: |
| 64 | gnocchi.sls: tests/pillar/server_cluster.sls |
Martin Polreich | f28c0ba | 2019-10-14 17:42:00 +0200 | [diff] [blame^] | 65 | linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls |
Mykyta Karpin | db73765 | 2018-02-05 11:11:31 +0200 | [diff] [blame] | 66 | pillars: |
| 67 | release.sls: |
| 68 | gnocchi: |
| 69 | common: |
Martin Polreich | f28c0ba | 2019-10-14 17:42:00 +0200 | [diff] [blame^] | 70 | version: '<%=gnocchi_version%>' |
Mykyta Karpin | db73765 | 2018-02-05 11:11:31 +0200 | [diff] [blame] | 71 | storage.sls: |
| 72 | gnocchi: |
| 73 | common: |
| 74 | storage: |
Martin Polreich | 0485aa2 | 2018-12-14 13:52:31 +0100 | [diff] [blame] | 75 | driver: file |
Mykyta Karpin | db73765 | 2018-02-05 11:11:31 +0200 | [diff] [blame] | 76 | |
Martin Polreich | f28c0ba | 2019-10-14 17:42:00 +0200 | [diff] [blame^] | 77 | - name: server_single_<%=os_version%>_<%=gnocchi_version%>_file |
Mykyta Karpin | db73765 | 2018-02-05 11:11:31 +0200 | [diff] [blame] | 78 | provisioner: |
| 79 | pillars-from-files: |
| 80 | gnocchi.sls: tests/pillar/server_single.sls |
Martin Polreich | f28c0ba | 2019-10-14 17:42:00 +0200 | [diff] [blame^] | 81 | linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls |
Mykyta Karpin | db73765 | 2018-02-05 11:11:31 +0200 | [diff] [blame] | 82 | pillars: |
| 83 | release.sls: |
| 84 | gnocchi: |
| 85 | common: |
Martin Polreich | f28c0ba | 2019-10-14 17:42:00 +0200 | [diff] [blame^] | 86 | version: '<%=gnocchi_version%>' |
Mykyta Karpin | db73765 | 2018-02-05 11:11:31 +0200 | [diff] [blame] | 87 | storage.sls: |
| 88 | gnocchi: |
| 89 | common: |
| 90 | storage: |
Martin Polreich | 0485aa2 | 2018-12-14 13:52:31 +0100 | [diff] [blame] | 91 | driver: file |
Mykyta Karpin | db73765 | 2018-02-05 11:11:31 +0200 | [diff] [blame] | 92 | |
Martin Polreich | f28c0ba | 2019-10-14 17:42:00 +0200 | [diff] [blame^] | 93 | - name: server_cluster_<%=os_version%>_<%=gnocchi_version%>_redis |
Martin Polreich | 0485aa2 | 2018-12-14 13:52:31 +0100 | [diff] [blame] | 94 | provisioner: |
| 95 | pillars-from-files: |
| 96 | gnocchi.sls: tests/pillar/server_cluster.sls |
Martin Polreich | f28c0ba | 2019-10-14 17:42:00 +0200 | [diff] [blame^] | 97 | linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls |
Martin Polreich | 0485aa2 | 2018-12-14 13:52:31 +0100 | [diff] [blame] | 98 | pillars: |
| 99 | release.sls: |
| 100 | gnocchi: |
| 101 | common: |
Martin Polreich | f28c0ba | 2019-10-14 17:42:00 +0200 | [diff] [blame^] | 102 | version: '<%=gnocchi_version%>' |
Martin Polreich | 0485aa2 | 2018-12-14 13:52:31 +0100 | [diff] [blame] | 103 | storage.sls: |
| 104 | gnocchi: |
| 105 | common: |
| 106 | storage: |
| 107 | driver: redis |
| 108 | |
Martin Polreich | f28c0ba | 2019-10-14 17:42:00 +0200 | [diff] [blame^] | 109 | - name: server_single_<%=os_version%>_<%=gnocchi_version%>_redis |
Martin Polreich | 0485aa2 | 2018-12-14 13:52:31 +0100 | [diff] [blame] | 110 | provisioner: |
| 111 | pillars-from-files: |
| 112 | gnocchi.sls: tests/pillar/server_single.sls |
Martin Polreich | f28c0ba | 2019-10-14 17:42:00 +0200 | [diff] [blame^] | 113 | linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls |
Martin Polreich | 0485aa2 | 2018-12-14 13:52:31 +0100 | [diff] [blame] | 114 | pillars: |
| 115 | release.sls: |
| 116 | gnocchi: |
| 117 | common: |
Martin Polreich | f28c0ba | 2019-10-14 17:42:00 +0200 | [diff] [blame^] | 118 | version: '<%=gnocchi_version%>' |
Martin Polreich | 0485aa2 | 2018-12-14 13:52:31 +0100 | [diff] [blame] | 119 | storage.sls: |
| 120 | gnocchi: |
| 121 | common: |
| 122 | storage: |
| 123 | driver: redis |
Martin Polreich | f28c0ba | 2019-10-14 17:42:00 +0200 | [diff] [blame^] | 124 | <% end %> |
Mykyta Karpin | db73765 | 2018-02-05 11:11:31 +0200 | [diff] [blame] | 125 | # vim: ft=yaml sw=2 ts=2 sts=2 tw=125 |