blob: 3c5f6beac5eaf10b6ed9668fc2a3888319665484 [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
Petr Michalec52d4e1f2017-09-11 17:50:54 +020038 - kubernetes_extra
39 kubernetes_extra.sls: {}
Marek Celoud43d293f2017-06-07 12:29:24 +020040 linux.sls:
41 linux:
42 system:
43 enabled: true
44 name: kubernetes
45 pillars-from-files:
46 linux_repo_docker.sls: tests/pillar/repo_docker.sls
Marek Celouddc241dc2017-06-20 16:23:07 +020047 linux_repo_opencontrail.sls: tests/pillar/repo_contrail.sls
Marek Celoud43d293f2017-06-07 12:29:24 +020048
49verifier:
50 name: inspec
51 sudo: true
52
53platforms:
Victor Ryzhenkin7609aee2018-02-19 17:09:58 +040054 - name: <%= ENV['PLATFORM'] || 'saltstack-ubuntu-xenial-salt-stable' %>
Marek Celoud43d293f2017-06-07 12:29:24 +020055 driver_config:
Martin Polreicha8795142018-11-20 15:08:49 +010056 image: <%= ENV['PLATFORM'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19' %>
Marek Celoud43d293f2017-06-07 12:29:24 +020057 platform: ubuntu
58
59suites:
60
61 - name: master_cluster
62 provisioner:
63 pillars-from-files:
64 kubernetes.sls: tests/pillar/master_cluster.sls
65 - name: pool_cluster
66 provisioner:
67 pillars-from-files:
68 kubernetes.sls: tests/pillar/pool_cluster.sls
69
Tomáš Kukrál23c4df02017-08-28 13:30:42 +020070 - name: pool_cluster_with_domain
71 provisioner:
72 pillars-from-files:
73 kubernetes.sls: tests/pillar/pool_cluster_with_domain.sls
74
Marek Celouddc241dc2017-06-20 16:23:07 +020075 - name: master_contrail4_0
76 provisioner:
77 pillars-from-files:
78 kubernetes.sls: tests/pillar/master_contrail4_0.sls
79
80 - name: pool_contrail4_0
81 provisioner:
82 pillars-from-files:
83 kubernetes.sls: tests/pillar/pool_contrail4_0.sls
Tomáš Kukrál13b1edb2017-06-08 16:47:34 +020084
Petr Michalec52d4e1f2017-09-11 17:50:54 +020085 - name: common_storageclass
86 provisioner:
87 pillars-from-files:
88 kubernetes.sls: tests/pillar/master_cluster.sls
89 kubernetes_extra.sls: tests/pillar/common_storageclass.sls
90
Marek Celoud43d293f2017-06-07 12:29:24 +020091# vim: ft=yaml sw=2 ts=2 sts=2 tw=125