blob: 8d54651ebcf101c931dfb159ef8a9a37351297ad [file] [log] [blame]
Marek Celoud43d293f2017-06-07 12:29:24 +02001---
2driver:
3 name: docker
4 hostname: kubernetes
5 use_sudo: true
6
7provisioner:
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 Celouddc241dc2017-06-20 16:23:07 +020021
Marek Celoud43d293f2017-06-07 12:29:24 +020022 state_top:
23 base:
24 "*":
25 - linux
26 - kubernetes
27 pillars:
28 top.sls:
29 base:
30 "*":
31 - linux_repo_docker
Marek Celouddc241dc2017-06-20 16:23:07 +020032 - linux_repo_opencontrail
Marek Celoud43d293f2017-06-07 12:29:24 +020033 - 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 Celouddc241dc2017-06-20 16:23:07 +020042 linux_repo_opencontrail.sls: tests/pillar/repo_contrail.sls
Marek Celoud43d293f2017-06-07 12:29:24 +020043
44verifier:
45 name: inspec
46 sudo: true
47
48platforms:
49 - name: <%= ENV['PLATFORM'] || 'ubuntu-xenial' %>
50 driver_config:
51 image: <%= ENV['PLATFORM'] || 'trevorj/salty-whales:xenial' %>
52 platform: ubuntu
53
54suites:
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ál13b1edb2017-06-08 16:47:34 +020065 - name: master_contrail
66 provisioner:
67 pillars-from-files:
68 kubernetes.sls: tests/pillar/master_contrail.sls
69
Marek Celouddc241dc2017-06-20 16:23:07 +020070 - 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ál13b1edb2017-06-08 16:47:34 +020079
Marek Celoud43d293f2017-06-07 12:29:24 +020080# vim: ft=yaml sw=2 ts=2 sts=2 tw=125