blob: c9cc94659ed64ecac79f9db5aac6d66d90b15f26 [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
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
41verifier:
42 name: inspec
43 sudo: true
44
45platforms:
46 - name: <%= ENV['PLATFORM'] || 'ubuntu-xenial' %>
47 driver_config:
48 image: <%= ENV['PLATFORM'] || 'trevorj/salty-whales:xenial' %>
49 platform: ubuntu
50
51suites:
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
62# vim: ft=yaml sw=2 ts=2 sts=2 tw=125