blob: c22713856b5658a55060e8c45dc13a9fc20b549f [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
Matthew Mosesohn65baceb2017-06-21 17:33:27 +030021 - name: contrail
22 repo: git
23 source: https://github.com/salt-formulas/salt-formula-opencontrail
Marek Celouddc241dc2017-06-20 16:23:07 +020024
Marek Celoud43d293f2017-06-07 12:29:24 +020025 state_top:
26 base:
27 "*":
28 - linux
29 - kubernetes
30 pillars:
31 top.sls:
32 base:
33 "*":
34 - linux_repo_docker
Marek Celouddc241dc2017-06-20 16:23:07 +020035 - linux_repo_opencontrail
Marek Celoud43d293f2017-06-07 12:29:24 +020036 - linux
37 - kubernetes
38 linux.sls:
39 linux:
40 system:
41 enabled: true
42 name: kubernetes
43 pillars-from-files:
44 linux_repo_docker.sls: tests/pillar/repo_docker.sls
Marek Celouddc241dc2017-06-20 16:23:07 +020045 linux_repo_opencontrail.sls: tests/pillar/repo_contrail.sls
Marek Celoud43d293f2017-06-07 12:29:24 +020046
47verifier:
48 name: inspec
49 sudo: true
50
51platforms:
52 - name: <%= ENV['PLATFORM'] || 'ubuntu-xenial' %>
53 driver_config:
54 image: <%= ENV['PLATFORM'] || 'trevorj/salty-whales:xenial' %>
55 platform: ubuntu
56
57suites:
58
59 - name: master_cluster
60 provisioner:
61 pillars-from-files:
62 kubernetes.sls: tests/pillar/master_cluster.sls
63 - name: pool_cluster
64 provisioner:
65 pillars-from-files:
66 kubernetes.sls: tests/pillar/pool_cluster.sls
67
Tomáš Kukrál13b1edb2017-06-08 16:47:34 +020068 - name: master_contrail
69 provisioner:
70 pillars-from-files:
71 kubernetes.sls: tests/pillar/master_contrail.sls
72
Marek Celouddc241dc2017-06-20 16:23:07 +020073 - name: master_contrail4_0
74 provisioner:
75 pillars-from-files:
76 kubernetes.sls: tests/pillar/master_contrail4_0.sls
77
78 - name: pool_contrail4_0
79 provisioner:
80 pillars-from-files:
81 kubernetes.sls: tests/pillar/pool_contrail4_0.sls
Tomáš Kukrál13b1edb2017-06-08 16:47:34 +020082
Marek Celoud43d293f2017-06-07 12:29:24 +020083# vim: ft=yaml sw=2 ts=2 sts=2 tw=125