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 | |
| 53 | platforms: |
Victor Ryzhenkin | 7609aee | 2018-02-19 17:09:58 +0400 | [diff] [blame] | 54 | - name: <%= ENV['PLATFORM'] || 'saltstack-ubuntu-xenial-salt-stable' %> |
Marek Celoud | 43d293f | 2017-06-07 12:29:24 +0200 | [diff] [blame] | 55 | driver_config: |
Martin Polreich | 92fbc9c | 2018-04-18 12:25:59 +0200 | [diff] [blame] | 56 | image: <%= ENV['PLATFORM'] || 'epcim/salt:saltstack-ubuntu-xenial-salt-stable' %> |
Marek Celoud | 43d293f | 2017-06-07 12:29:24 +0200 | [diff] [blame] | 57 | platform: ubuntu |
| 58 | |
| 59 | suites: |
| 60 | |
| 61 | - name: master_cluster |
| 62 | provisioner: |
| 63 | pillars-from-files: |
| 64 | kubernetes.sls: tests/pillar/master_cluster.sls |
| 65 | - name: pool_cluster |
| 66 | provisioner: |
| 67 | pillars-from-files: |
| 68 | kubernetes.sls: tests/pillar/pool_cluster.sls |
| 69 | |
Tomáš Kukrál | 23c4df0 | 2017-08-28 13:30:42 +0200 | [diff] [blame] | 70 | - name: pool_cluster_with_domain |
| 71 | provisioner: |
| 72 | pillars-from-files: |
| 73 | kubernetes.sls: tests/pillar/pool_cluster_with_domain.sls |
| 74 | |
Tomáš Kukrál | 13b1edb | 2017-06-08 16:47:34 +0200 | [diff] [blame] | 75 | - name: master_contrail |
| 76 | provisioner: |
| 77 | pillars-from-files: |
| 78 | kubernetes.sls: tests/pillar/master_contrail.sls |
| 79 | |
Marek Celoud | dc241dc | 2017-06-20 16:23:07 +0200 | [diff] [blame] | 80 | - name: master_contrail4_0 |
| 81 | provisioner: |
| 82 | pillars-from-files: |
| 83 | kubernetes.sls: tests/pillar/master_contrail4_0.sls |
| 84 | |
| 85 | - name: pool_contrail4_0 |
| 86 | provisioner: |
| 87 | pillars-from-files: |
| 88 | kubernetes.sls: tests/pillar/pool_contrail4_0.sls |
Tomáš Kukrál | 13b1edb | 2017-06-08 16:47:34 +0200 | [diff] [blame] | 89 | |
Petr Michalec | 52d4e1f | 2017-09-11 17:50:54 +0200 | [diff] [blame] | 90 | - name: common_storageclass |
| 91 | provisioner: |
| 92 | pillars-from-files: |
| 93 | kubernetes.sls: tests/pillar/master_cluster.sls |
| 94 | kubernetes_extra.sls: tests/pillar/common_storageclass.sls |
| 95 | |
Marek Celoud | 43d293f | 2017-06-07 12:29:24 +0200 | [diff] [blame] | 96 | # vim: ft=yaml sw=2 ts=2 sts=2 tw=125 |