Elena Ezhova | a3a4323 | 2017-06-02 17:53:00 +0400 | [diff] [blame] | 1 | --- |
| 2 | driver: |
| 3 | name: docker |
| 4 | hostname: octavia.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: octavia |
| 15 | grains: |
| 16 | noservices: True |
| 17 | dependencies: |
Elena Ezhova | 26bab1f | 2017-06-15 16:34:59 +0400 | [diff] [blame] | 18 | - name: linux |
Elena Ezhova | a3a4323 | 2017-06-02 17:53:00 +0400 | [diff] [blame] | 19 | repo: git |
Martin Polreich | 980212d | 2019-01-24 17:28:22 +0100 | [diff] [blame] | 20 | source: https://gerrit.mcp.mirantis.com/salt-formulas/linux |
Martin Polreich | 34d1363 | 2019-04-08 14:37:01 +0200 | [diff] [blame] | 21 | branch: <%=ENV['GERRIT_BRANCH'] || 'master' %> |
Ann Kamyshnikova | 3c331d4 | 2019-01-17 14:50:11 +0400 | [diff] [blame] | 22 | - name: oslo_templates |
| 23 | repo: git |
Martin Polreich | 980212d | 2019-01-24 17:28:22 +0100 | [diff] [blame] | 24 | source: https://gerrit.mcp.mirantis.com/salt-formulas/oslo-templates |
Martin Polreich | 34d1363 | 2019-04-08 14:37:01 +0200 | [diff] [blame] | 25 | branch: <%=ENV['GERRIT_BRANCH'] || 'master' %> |
Elena Ezhova | a3a4323 | 2017-06-02 17:53:00 +0400 | [diff] [blame] | 26 | state_top: |
| 27 | base: |
| 28 | "*": |
Elena Ezhova | 26bab1f | 2017-06-15 16:34:59 +0400 | [diff] [blame] | 29 | - linux.system |
Elena Ezhova | a3a4323 | 2017-06-02 17:53:00 +0400 | [diff] [blame] | 30 | - octavia |
| 31 | pillars: |
| 32 | top.sls: |
| 33 | base: |
| 34 | "*": |
Elena Ezhova | 26bab1f | 2017-06-15 16:34:59 +0400 | [diff] [blame] | 35 | - linux_repo_openstack |
Elena Ezhova | a3a4323 | 2017-06-02 17:53:00 +0400 | [diff] [blame] | 36 | - octavia |
| 37 | |
| 38 | verifier: |
| 39 | name: inspec |
| 40 | sudo: true |
| 41 | |
Martin Polreich | 980212d | 2019-01-24 17:28:22 +0100 | [diff] [blame] | 42 | docker_images: |
Martin Polreich | 980212d | 2019-01-24 17:28:22 +0100 | [diff] [blame] | 43 | - &xenial-20177 <%=ENV['IMAGE_XENIAL_20177'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19'%> |
| 44 | - &xenial-stable <%=ENV['IMAGE_XENIAL_STABLE'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19'%> |
| 45 | |
Elena Ezhova | a3a4323 | 2017-06-02 17:53:00 +0400 | [diff] [blame] | 46 | platforms: |
Martin Polreich | 980212d | 2019-01-24 17:28:22 +0100 | [diff] [blame] | 47 | - name: xenial-2017.7 |
| 48 | driver_config: |
| 49 | image: *xenial-20177 |
| 50 | platform: ubuntu |
| 51 | |
| 52 | - name: xenial-stable |
| 53 | driver_config: |
| 54 | image: *xenial-stable |
Elena Ezhova | a3a4323 | 2017-06-02 17:53:00 +0400 | [diff] [blame] | 55 | platform: ubuntu |
| 56 | |
| 57 | suites: |
Martin Polreich | 980212d | 2019-01-24 17:28:22 +0100 | [diff] [blame] | 58 | <% for os_version in ['ocata','pike','queens'] %> |
| 59 | - name: api_single_<%=os_version%> |
Elena Ezhova | a3a4323 | 2017-06-02 17:53:00 +0400 | [diff] [blame] | 60 | provisioner: |
| 61 | pillars-from-files: |
Elena Ezhova | 26bab1f | 2017-06-15 16:34:59 +0400 | [diff] [blame] | 62 | octavia.sls: tests/pillar/api_single.sls |
Martin Polreich | 980212d | 2019-01-24 17:28:22 +0100 | [diff] [blame] | 63 | linux_repo_openstack.sls: tests/pillar/repo_openstack_<%=os_version%>.sls |
Ann Taraday | 4a50643 | 2018-09-07 16:48:20 +0400 | [diff] [blame] | 64 | pillars: |
| 65 | release.sls: |
| 66 | octavia: |
| 67 | api: |
Martin Polreich | 980212d | 2019-01-24 17:28:22 +0100 | [diff] [blame] | 68 | version: <%=os_version%> |
Elena Ezhova | 26bab1f | 2017-06-15 16:34:59 +0400 | [diff] [blame] | 69 | |
Martin Polreich | 980212d | 2019-01-24 17:28:22 +0100 | [diff] [blame] | 70 | - name: api_cluster_<%=os_version%> |
Elena Ezhova | 26bab1f | 2017-06-15 16:34:59 +0400 | [diff] [blame] | 71 | provisioner: |
| 72 | pillars-from-files: |
| 73 | octavia.sls: tests/pillar/api_cluster.sls |
Martin Polreich | 980212d | 2019-01-24 17:28:22 +0100 | [diff] [blame] | 74 | linux_repo_openstack.sls: tests/pillar/repo_openstack_<%=os_version%>.sls |
Ann Taraday | 4a50643 | 2018-09-07 16:48:20 +0400 | [diff] [blame] | 75 | pillars: |
| 76 | release.sls: |
| 77 | octavia: |
| 78 | api: |
Martin Polreich | 980212d | 2019-01-24 17:28:22 +0100 | [diff] [blame] | 79 | version: <%=os_version%> |
Elena Ezhova | 26bab1f | 2017-06-15 16:34:59 +0400 | [diff] [blame] | 80 | |
Martin Polreich | 980212d | 2019-01-24 17:28:22 +0100 | [diff] [blame] | 81 | - name: manager_single_<%=os_version%> |
Elena Ezhova | 26bab1f | 2017-06-15 16:34:59 +0400 | [diff] [blame] | 82 | provisioner: |
| 83 | pillars-from-files: |
| 84 | octavia.sls: tests/pillar/manager_single.sls |
Martin Polreich | 980212d | 2019-01-24 17:28:22 +0100 | [diff] [blame] | 85 | linux_repo_openstack.sls: tests/pillar/repo_openstack_<%=os_version%>.sls |
Ann Taraday | 4a50643 | 2018-09-07 16:48:20 +0400 | [diff] [blame] | 86 | pillars: |
| 87 | release.sls: |
| 88 | octavia: |
| 89 | manager: |
Martin Polreich | 980212d | 2019-01-24 17:28:22 +0100 | [diff] [blame] | 90 | version: <%=os_version%> |
Elena Ezhova | 26bab1f | 2017-06-15 16:34:59 +0400 | [diff] [blame] | 91 | |
Martin Polreich | 980212d | 2019-01-24 17:28:22 +0100 | [diff] [blame] | 92 | - name: manager_cluster_<%=os_version%> |
Ann Kamyshnikova | 34f98b3 | 2018-11-28 16:08:06 +0400 | [diff] [blame] | 93 | provisioner: |
| 94 | pillars-from-files: |
| 95 | octavia.sls: tests/pillar/manager_cluster.sls |
Martin Polreich | 980212d | 2019-01-24 17:28:22 +0100 | [diff] [blame] | 96 | linux_repo_openstack.sls: tests/pillar/repo_openstack_<%=os_version%>.sls |
Ann Kamyshnikova | 34f98b3 | 2018-11-28 16:08:06 +0400 | [diff] [blame] | 97 | pillars: |
| 98 | release.sls: |
| 99 | octavia: |
| 100 | manager: |
Martin Polreich | 980212d | 2019-01-24 17:28:22 +0100 | [diff] [blame] | 101 | version: <%=os_version%> |
| 102 | <% end %> |
Elena Ezhova | a3a4323 | 2017-06-02 17:53:00 +0400 | [diff] [blame] | 103 | # vim: ft=yaml sw=2 ts=2 sts=2 tw=125 |