Mykyta Karpin | d6d078e | 2018-02-16 22:13:01 +0200 | [diff] [blame] | 1 | --- |
| 2 | driver: |
| 3 | name: docker |
| 4 | hostname: panko.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: panko |
| 15 | grains: |
| 16 | noservices: True |
| 17 | dependencies: |
| 18 | - name: linux |
| 19 | repo: git |
Martin Polreich | 6c6d49a | 2019-01-15 14:57:01 +0100 | [diff] [blame] | 20 | source: https://gerrit.mcp.mirantis.com/salt-formulas/linux |
Martin Polreich | 55d2ce4 | 2019-04-10 08:21:45 +0200 | [diff] [blame^] | 21 | branch: <%=ENV['GERRIT_BRANCH'] || 'master' %> |
Mykyta Karpin | d6d078e | 2018-02-16 22:13:01 +0200 | [diff] [blame] | 22 | - name: apache |
| 23 | repo: git |
Martin Polreich | 6c6d49a | 2019-01-15 14:57:01 +0100 | [diff] [blame] | 24 | source: https://gerrit.mcp.mirantis.com/salt-formulas/apache |
Martin Polreich | 55d2ce4 | 2019-04-10 08:21:45 +0200 | [diff] [blame^] | 25 | branch: <%=ENV['GERRIT_BRANCH'] || 'master' %> |
sgarbuz | 656c7be | 2019-02-14 15:33:34 +0200 | [diff] [blame] | 26 | - name: oslo_templates |
| 27 | repo: git |
| 28 | source: https://gerrit.mcp.mirantis.com/salt-formulas/oslo-templates |
Martin Polreich | 55d2ce4 | 2019-04-10 08:21:45 +0200 | [diff] [blame^] | 29 | branch: <%=ENV['GERRIT_BRANCH'] || 'master' %> |
Mykyta Karpin | d6d078e | 2018-02-16 22:13:01 +0200 | [diff] [blame] | 30 | state_top: |
| 31 | base: |
| 32 | "*": |
| 33 | - linux.system |
Mykyta Karpin | d6d078e | 2018-02-16 22:13:01 +0200 | [diff] [blame] | 34 | - panko |
| 35 | pillars: |
| 36 | top.sls: |
| 37 | base: |
| 38 | "*": |
| 39 | - linux_repo_openstack |
| 40 | - panko |
| 41 | - release |
Mykyta Karpin | d6d078e | 2018-02-16 22:13:01 +0200 | [diff] [blame] | 42 | |
| 43 | verifier: |
| 44 | name: inspec |
| 45 | sudo: true |
| 46 | |
Martin Polreich | 6c6d49a | 2019-01-15 14:57:01 +0100 | [diff] [blame] | 47 | docker_images: |
| 48 | - &xenial-20177 <%=ENV['IMAGE_XENIAL_20177'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19'%> |
| 49 | - &xenial-stable <%=ENV['IMAGE_XENIAL_STABLE'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19'%> |
| 50 | |
Mykyta Karpin | d6d078e | 2018-02-16 22:13:01 +0200 | [diff] [blame] | 51 | platforms: |
Martin Polreich | 6c6d49a | 2019-01-15 14:57:01 +0100 | [diff] [blame] | 52 | - name: xenial-2017.7 |
Mykyta Karpin | d6d078e | 2018-02-16 22:13:01 +0200 | [diff] [blame] | 53 | driver_config: |
Martin Polreich | 6c6d49a | 2019-01-15 14:57:01 +0100 | [diff] [blame] | 54 | image: *xenial-20177 |
| 55 | platform: ubuntu |
| 56 | |
| 57 | - name: xenial-stable |
| 58 | driver_config: |
| 59 | image: *xenial-stable |
Mykyta Karpin | d6d078e | 2018-02-16 22:13:01 +0200 | [diff] [blame] | 60 | platform: ubuntu |
| 61 | |
| 62 | suites: |
sgarbuz | 656c7be | 2019-02-14 15:33:34 +0200 | [diff] [blame] | 63 | <% for os_version in ['pike','queens','rocky'] %> |
| 64 | - name: server_cluster_<%=os_version%> |
Mykyta Karpin | d6d078e | 2018-02-16 22:13:01 +0200 | [diff] [blame] | 65 | provisioner: |
| 66 | pillars-from-files: |
| 67 | panko.sls: tests/pillar/server_cluster.sls |
sgarbuz | 656c7be | 2019-02-14 15:33:34 +0200 | [diff] [blame] | 68 | linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls |
Mykyta Karpin | d6d078e | 2018-02-16 22:13:01 +0200 | [diff] [blame] | 69 | pillars: |
| 70 | release.sls: |
| 71 | panko: |
| 72 | server: |
sgarbuz | 656c7be | 2019-02-14 15:33:34 +0200 | [diff] [blame] | 73 | version: <%=os_version%> |
Mykyta Karpin | d6d078e | 2018-02-16 22:13:01 +0200 | [diff] [blame] | 74 | |
sgarbuz | 656c7be | 2019-02-14 15:33:34 +0200 | [diff] [blame] | 75 | - name: server_single_<%=os_version%> |
Mykyta Karpin | d6d078e | 2018-02-16 22:13:01 +0200 | [diff] [blame] | 76 | provisioner: |
| 77 | pillars-from-files: |
| 78 | panko.sls: tests/pillar/server_single.sls |
sgarbuz | 656c7be | 2019-02-14 15:33:34 +0200 | [diff] [blame] | 79 | linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls |
Mykyta Karpin | d6d078e | 2018-02-16 22:13:01 +0200 | [diff] [blame] | 80 | pillars: |
| 81 | release.sls: |
| 82 | panko: |
| 83 | server: |
sgarbuz | 656c7be | 2019-02-14 15:33:34 +0200 | [diff] [blame] | 84 | version: <%=os_version%> |
| 85 | <% end %> |
Mykyta Karpin | d6d078e | 2018-02-16 22:13:01 +0200 | [diff] [blame] | 86 | # vim: ft=yaml sw=2 ts=2 sts=2 tw=125 |