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