Marek Celoud | 43d293f | 2017-06-07 12:29:24 +0200 | [diff] [blame] | 1 | --- |
| 2 | driver: |
| 3 | name: docker |
| 4 | hostname: kubernetes |
| 5 | use_sudo: true |
| 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: kubernetes |
| 15 | grains: |
| 16 | noservices: True |
| 17 | dependencies: |
| 18 | - name: linux |
| 19 | repo: git |
| 20 | source: https://github.com/salt-formulas/salt-formula-linux |
Matthew Mosesohn | 65baceb | 2017-06-21 17:33:27 +0300 | [diff] [blame] | 21 | - name: contrail |
| 22 | repo: git |
| 23 | source: https://github.com/salt-formulas/salt-formula-opencontrail |
Marek Celoud | dc241dc | 2017-06-20 16:23:07 +0200 | [diff] [blame] | 24 | |
Marek Celoud | 43d293f | 2017-06-07 12:29:24 +0200 | [diff] [blame] | 25 | state_top: |
| 26 | base: |
| 27 | "*": |
| 28 | - linux |
| 29 | - kubernetes |
| 30 | pillars: |
| 31 | top.sls: |
| 32 | base: |
| 33 | "*": |
| 34 | - linux_repo_docker |
Marek Celoud | dc241dc | 2017-06-20 16:23:07 +0200 | [diff] [blame] | 35 | - linux_repo_opencontrail |
Marek Celoud | 43d293f | 2017-06-07 12:29:24 +0200 | [diff] [blame] | 36 | - linux |
| 37 | - kubernetes |
Petr Michalec | 52d4e1f | 2017-09-11 17:50:54 +0200 | [diff] [blame] | 38 | - kubernetes_extra |
| 39 | kubernetes_extra.sls: {} |
Marek Celoud | 43d293f | 2017-06-07 12:29:24 +0200 | [diff] [blame] | 40 | linux.sls: |
| 41 | linux: |
| 42 | system: |
| 43 | enabled: true |
| 44 | name: kubernetes |
| 45 | pillars-from-files: |
| 46 | linux_repo_docker.sls: tests/pillar/repo_docker.sls |
Marek Celoud | dc241dc | 2017-06-20 16:23:07 +0200 | [diff] [blame] | 47 | linux_repo_opencontrail.sls: tests/pillar/repo_contrail.sls |
Marek Celoud | 43d293f | 2017-06-07 12:29:24 +0200 | [diff] [blame] | 48 | |
| 49 | verifier: |
| 50 | name: inspec |
| 51 | sudo: true |
| 52 | |
Martin Polreich | d3618ed | 2018-12-21 12:29:50 +0100 | [diff] [blame] | 53 | docker_images: |
Martin Polreich | d3618ed | 2018-12-21 12:29:50 +0100 | [diff] [blame] | 54 | - &xenial-20177 <%=ENV['IMAGE_XENIAL_20177'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19'%> |
| 55 | - &xenial-stable <%=ENV['IMAGE_XENIAL_STABLE'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19'%> |
| 56 | |
Marek Celoud | 43d293f | 2017-06-07 12:29:24 +0200 | [diff] [blame] | 57 | platforms: |
Martin Polreich | d3618ed | 2018-12-21 12:29:50 +0100 | [diff] [blame] | 58 | - name: xenial-2017.7 |
| 59 | driver_config: |
| 60 | image: *xenial-20177 |
| 61 | platform: ubuntu |
| 62 | |
| 63 | - name: xenial-stable |
| 64 | driver_config: |
| 65 | image: *xenial-stable |
Marek Celoud | 43d293f | 2017-06-07 12:29:24 +0200 | [diff] [blame] | 66 | platform: ubuntu |
| 67 | |
| 68 | suites: |
Marek Celoud | 43d293f | 2017-06-07 12:29:24 +0200 | [diff] [blame] | 69 | - name: master_cluster |
| 70 | provisioner: |
| 71 | pillars-from-files: |
| 72 | kubernetes.sls: tests/pillar/master_cluster.sls |
Martin Polreich | d3618ed | 2018-12-21 12:29:50 +0100 | [diff] [blame] | 73 | |
Marek Celoud | 43d293f | 2017-06-07 12:29:24 +0200 | [diff] [blame] | 74 | - name: pool_cluster |
| 75 | provisioner: |
| 76 | pillars-from-files: |
| 77 | kubernetes.sls: tests/pillar/pool_cluster.sls |
| 78 | |
Tomáš Kukrál | 23c4df0 | 2017-08-28 13:30:42 +0200 | [diff] [blame] | 79 | - name: pool_cluster_with_domain |
| 80 | provisioner: |
| 81 | pillars-from-files: |
| 82 | kubernetes.sls: tests/pillar/pool_cluster_with_domain.sls |
| 83 | |
Marek Celoud | dc241dc | 2017-06-20 16:23:07 +0200 | [diff] [blame] | 84 | - name: master_contrail4_0 |
| 85 | provisioner: |
| 86 | pillars-from-files: |
| 87 | kubernetes.sls: tests/pillar/master_contrail4_0.sls |
| 88 | |
| 89 | - name: pool_contrail4_0 |
| 90 | provisioner: |
| 91 | pillars-from-files: |
| 92 | kubernetes.sls: tests/pillar/pool_contrail4_0.sls |
Tomáš Kukrál | 13b1edb | 2017-06-08 16:47:34 +0200 | [diff] [blame] | 93 | |
Petr Michalec | 52d4e1f | 2017-09-11 17:50:54 +0200 | [diff] [blame] | 94 | - name: common_storageclass |
| 95 | provisioner: |
| 96 | pillars-from-files: |
| 97 | kubernetes.sls: tests/pillar/master_cluster.sls |
| 98 | kubernetes_extra.sls: tests/pillar/common_storageclass.sls |
| 99 | |
Marek Celoud | 43d293f | 2017-06-07 12:29:24 +0200 | [diff] [blame] | 100 | # vim: ft=yaml sw=2 ts=2 sts=2 tw=125 |