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