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 |
Marek Celoud | dc241dc | 2017-06-20 16:23:07 +0200 | [diff] [blame^] | 21 | |
Marek Celoud | 43d293f | 2017-06-07 12:29:24 +0200 | [diff] [blame] | 22 | state_top: |
| 23 | base: |
| 24 | "*": |
| 25 | - linux |
| 26 | - kubernetes |
| 27 | pillars: |
| 28 | top.sls: |
| 29 | base: |
| 30 | "*": |
| 31 | - linux_repo_docker |
Marek Celoud | dc241dc | 2017-06-20 16:23:07 +0200 | [diff] [blame^] | 32 | - linux_repo_opencontrail |
Marek Celoud | 43d293f | 2017-06-07 12:29:24 +0200 | [diff] [blame] | 33 | - linux |
| 34 | - kubernetes |
| 35 | linux.sls: |
| 36 | linux: |
| 37 | system: |
| 38 | enabled: true |
| 39 | name: kubernetes |
| 40 | pillars-from-files: |
| 41 | linux_repo_docker.sls: tests/pillar/repo_docker.sls |
Marek Celoud | dc241dc | 2017-06-20 16:23:07 +0200 | [diff] [blame^] | 42 | linux_repo_opencontrail.sls: tests/pillar/repo_contrail.sls |
Marek Celoud | 43d293f | 2017-06-07 12:29:24 +0200 | [diff] [blame] | 43 | |
| 44 | verifier: |
| 45 | name: inspec |
| 46 | sudo: true |
| 47 | |
| 48 | platforms: |
| 49 | - name: <%= ENV['PLATFORM'] || 'ubuntu-xenial' %> |
| 50 | driver_config: |
| 51 | image: <%= ENV['PLATFORM'] || 'trevorj/salty-whales:xenial' %> |
| 52 | platform: ubuntu |
| 53 | |
| 54 | suites: |
| 55 | |
| 56 | - name: master_cluster |
| 57 | provisioner: |
| 58 | pillars-from-files: |
| 59 | kubernetes.sls: tests/pillar/master_cluster.sls |
| 60 | - name: pool_cluster |
| 61 | provisioner: |
| 62 | pillars-from-files: |
| 63 | kubernetes.sls: tests/pillar/pool_cluster.sls |
| 64 | |
Tomáš Kukrál | 13b1edb | 2017-06-08 16:47:34 +0200 | [diff] [blame] | 65 | - name: master_contrail |
| 66 | provisioner: |
| 67 | pillars-from-files: |
| 68 | kubernetes.sls: tests/pillar/master_contrail.sls |
| 69 | |
Marek Celoud | dc241dc | 2017-06-20 16:23:07 +0200 | [diff] [blame^] | 70 | - name: master_contrail4_0 |
| 71 | provisioner: |
| 72 | pillars-from-files: |
| 73 | kubernetes.sls: tests/pillar/master_contrail4_0.sls |
| 74 | |
| 75 | - name: pool_contrail4_0 |
| 76 | provisioner: |
| 77 | pillars-from-files: |
| 78 | kubernetes.sls: tests/pillar/pool_contrail4_0.sls |
Tomáš Kukrál | 13b1edb | 2017-06-08 16:47:34 +0200 | [diff] [blame] | 79 | |
Marek Celoud | 43d293f | 2017-06-07 12:29:24 +0200 | [diff] [blame] | 80 | # vim: ft=yaml sw=2 ts=2 sts=2 tw=125 |