Petr Michalec | 5f41e6e | 2017-04-10 10:18:12 +0200 | [diff] [blame] | 1 | --- |
| 2 | driver: |
| 3 | name: docker |
| 4 | hostname: nova.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 |
Oleh Hryhorov | b4e8e25 | 2018-01-19 15:59:21 +0200 | [diff] [blame] | 11 | salt_version: <%=ENV['SALT_VERSION'] || 'latest'%> |
Petr Michalec | 5f41e6e | 2017-04-10 10:18:12 +0200 | [diff] [blame] | 12 | require_chef: false |
| 13 | log_level: error |
| 14 | formula: nova |
| 15 | grains: |
| 16 | noservices: True |
| 17 | dependencies: |
| 18 | - name: linux |
| 19 | repo: git |
Michael Polenchuk | f37e5b6 | 2018-11-28 17:55:45 +0400 | [diff] [blame] | 20 | source: https://gerrit.mcp.mirantis.com/salt-formulas/linux |
Martin Polreich | 0bd4340 | 2019-04-10 08:21:45 +0200 | [diff] [blame] | 21 | branch: <%=ENV['GERRIT_BRANCH'] || 'master' %> |
Dmitry Ukov | 3562a08 | 2017-05-04 00:00:48 +0400 | [diff] [blame] | 22 | - name: keystone |
| 23 | repo: git |
Michael Polenchuk | f37e5b6 | 2018-11-28 17:55:45 +0400 | [diff] [blame] | 24 | source: https://gerrit.mcp.mirantis.com/salt-formulas/keystone |
Martin Polreich | 0bd4340 | 2019-04-10 08:21:45 +0200 | [diff] [blame] | 25 | branch: <%=ENV['GERRIT_BRANCH'] || 'master' %> |
Vasyl Saienko | 29656ce | 2018-03-03 05:27:59 +0200 | [diff] [blame] | 26 | - name: apache |
| 27 | repo: git |
Michael Polenchuk | f37e5b6 | 2018-11-28 17:55:45 +0400 | [diff] [blame] | 28 | source: https://gerrit.mcp.mirantis.com/salt-formulas/apache |
Martin Polreich | 0bd4340 | 2019-04-10 08:21:45 +0200 | [diff] [blame] | 29 | branch: <%=ENV['GERRIT_BRANCH'] || 'master' %> |
Michael Polenchuk | f37e5b6 | 2018-11-28 17:55:45 +0400 | [diff] [blame] | 30 | - name: oslo_templates |
| 31 | repo: git |
| 32 | source: https://gerrit.mcp.mirantis.com/salt-formulas/oslo-templates |
Martin Polreich | 0bd4340 | 2019-04-10 08:21:45 +0200 | [diff] [blame] | 33 | branch: <%=ENV['GERRIT_BRANCH'] || 'master' %> |
Petr Michalec | 5f41e6e | 2017-04-10 10:18:12 +0200 | [diff] [blame] | 34 | state_top: |
| 35 | base: |
| 36 | "*": |
| 37 | - linux.system |
| 38 | - nova |
| 39 | pillars: |
| 40 | top.sls: |
| 41 | base: |
| 42 | "*": |
| 43 | - linux_repo_openstack |
| 44 | - nova |
Kirill Bespalov | d9d5954 | 2017-06-30 00:10:33 +0300 | [diff] [blame] | 45 | - release |
Petr Michalec | 5f41e6e | 2017-04-10 10:18:12 +0200 | [diff] [blame] | 46 | |
| 47 | verifier: |
| 48 | name: inspec |
| 49 | sudo: true |
| 50 | |
Martin Polreich | 2408a7a | 2019-01-18 10:17:17 +0100 | [diff] [blame] | 51 | docker_images: |
| 52 | - &xenial-20177 <%=ENV['IMAGE_XENIAL_20177'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19'%> |
| 53 | - &xenial-stable <%=ENV['IMAGE_XENIAL_STABLE'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19'%> |
| 54 | |
Petr Michalec | 5f41e6e | 2017-04-10 10:18:12 +0200 | [diff] [blame] | 55 | platforms: |
Martin Polreich | 2408a7a | 2019-01-18 10:17:17 +0100 | [diff] [blame] | 56 | - name: xenial-2017.7 |
Petr Michalec | 5f41e6e | 2017-04-10 10:18:12 +0200 | [diff] [blame] | 57 | driver_config: |
Martin Polreich | 2408a7a | 2019-01-18 10:17:17 +0100 | [diff] [blame] | 58 | image: *xenial-20177 |
| 59 | platform: ubuntu |
| 60 | |
| 61 | - name: xenial-stable |
| 62 | driver_config: |
| 63 | image: *xenial-stable |
Petr Michalec | 5f41e6e | 2017-04-10 10:18:12 +0200 | [diff] [blame] | 64 | platform: ubuntu |
| 65 | |
| 66 | suites: |
Michael Polenchuk | f37e5b6 | 2018-11-28 17:55:45 +0400 | [diff] [blame] | 67 | <% for os_version in ['mitaka','newton','ocata','pike', 'queens', 'rocky'] %> |
sgarbuz | 37664d8 | 2019-02-01 13:11:12 +0200 | [diff] [blame] | 68 | - name: compute_cluster_<%=os_version%> |
Petr Michalec | 5f41e6e | 2017-04-10 10:18:12 +0200 | [diff] [blame] | 69 | provisioner: |
| 70 | pillars-from-files: |
| 71 | nova.sls: tests/pillar/compute_cluster.sls |
Martin Polreich | 2408a7a | 2019-01-18 10:17:17 +0100 | [diff] [blame] | 72 | linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls |
Kirill Bespalov | d9d5954 | 2017-06-30 00:10:33 +0300 | [diff] [blame] | 73 | pillars: |
| 74 | release.sls: |
| 75 | nova: |
| 76 | compute: |
Martin Polreich | 2408a7a | 2019-01-18 10:17:17 +0100 | [diff] [blame] | 77 | version: <%=os_version%> |
Petr Michalec | 5f41e6e | 2017-04-10 10:18:12 +0200 | [diff] [blame] | 78 | |
sgarbuz | 37664d8 | 2019-02-01 13:11:12 +0200 | [diff] [blame] | 79 | - name: control_cluster_<%=os_version%> |
Petr Michalec | 5f41e6e | 2017-04-10 10:18:12 +0200 | [diff] [blame] | 80 | provisioner: |
| 81 | pillars-from-files: |
| 82 | nova.sls: tests/pillar/control_cluster.sls |
Martin Polreich | 2408a7a | 2019-01-18 10:17:17 +0100 | [diff] [blame] | 83 | linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls |
Kirill Bespalov | d9d5954 | 2017-06-30 00:10:33 +0300 | [diff] [blame] | 84 | pillars: |
| 85 | release.sls: |
| 86 | nova: |
| 87 | controller: |
Martin Polreich | 2408a7a | 2019-01-18 10:17:17 +0100 | [diff] [blame] | 88 | version: <%=os_version%> |
| 89 | <% end %> |
Dmitry Teselkin | 77d9dac | 2019-04-18 16:43:50 +0300 | [diff] [blame] | 90 | <% for os_version in ['queens', ] %> |
| 91 | - name: compute_single_ssl_<%=os_version%> |
| 92 | driver: |
| 93 | devices: |
| 94 | - /dev/mem |
| 95 | cap_add: |
| 96 | - SYS_RAWIO |
| 97 | provisioner: |
| 98 | pillars-from-files: |
| 99 | compute_single.sls: tests/pillar/compute_single.sls |
| 100 | nova.sls: tests/pillar/compute_single_ssl.sls |
| 101 | linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls |
| 102 | pillars: |
| 103 | release.sls: |
| 104 | nova: |
| 105 | compute: |
| 106 | version: <%=os_version%> |
| 107 | <% end %> |
Vasyl Saienko | 29656ce | 2018-03-03 05:27:59 +0200 | [diff] [blame] | 108 | |
Petr Michalec | 5f41e6e | 2017-04-10 10:18:12 +0200 | [diff] [blame] | 109 | # vim: ft=yaml sw=2 ts=2 sts=2 tw=125 |