blob: 74272ff2d4c7d48568fabc573caadc32f5dffed6 [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
Martin Polreichd3618ed2018-12-21 12:29:50 +010053docker_images:
54 - &xenial-20163 <%=ENV['IMAGE_XENIAL_20163'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2016.3/salt:2018_11_19'%>
55 - &xenial-20177 <%=ENV['IMAGE_XENIAL_20177'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19'%>
56 - &xenial-stable <%=ENV['IMAGE_XENIAL_STABLE'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19'%>
57
Marek Celoud43d293f2017-06-07 12:29:24 +020058platforms:
Martin Polreichd3618ed2018-12-21 12:29:50 +010059 - name: xenial-2016.3
Marek Celoud43d293f2017-06-07 12:29:24 +020060 driver_config:
Martin Polreichd3618ed2018-12-21 12:29:50 +010061 image: *xenial-20163
62 platform: ubuntu
63
64 - name: xenial-2017.7
65 driver_config:
66 image: *xenial-20177
67 platform: ubuntu
68
69 - name: xenial-stable
70 driver_config:
71 image: *xenial-stable
Marek Celoud43d293f2017-06-07 12:29:24 +020072 platform: ubuntu
73
74suites:
Marek Celoud43d293f2017-06-07 12:29:24 +020075 - name: master_cluster
76 provisioner:
77 pillars-from-files:
78 kubernetes.sls: tests/pillar/master_cluster.sls
Martin Polreichd3618ed2018-12-21 12:29:50 +010079
Marek Celoud43d293f2017-06-07 12:29:24 +020080 - name: pool_cluster
81 provisioner:
82 pillars-from-files:
83 kubernetes.sls: tests/pillar/pool_cluster.sls
84
Tomáš Kukrál23c4df02017-08-28 13:30:42 +020085 - name: pool_cluster_with_domain
86 provisioner:
87 pillars-from-files:
88 kubernetes.sls: tests/pillar/pool_cluster_with_domain.sls
89
Marek Celouddc241dc2017-06-20 16:23:07 +020090 - name: master_contrail4_0
91 provisioner:
92 pillars-from-files:
93 kubernetes.sls: tests/pillar/master_contrail4_0.sls
94
95 - name: pool_contrail4_0
96 provisioner:
97 pillars-from-files:
98 kubernetes.sls: tests/pillar/pool_contrail4_0.sls
Tomáš Kukrál13b1edb2017-06-08 16:47:34 +020099
Petr Michalec52d4e1f2017-09-11 17:50:54 +0200100 - name: common_storageclass
101 provisioner:
102 pillars-from-files:
103 kubernetes.sls: tests/pillar/master_cluster.sls
104 kubernetes_extra.sls: tests/pillar/common_storageclass.sls
105
Marek Celoud43d293f2017-06-07 12:29:24 +0200106# vim: ft=yaml sw=2 ts=2 sts=2 tw=125