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