blob: 5a065c202ea1e1aedc52c3630f53887df563a9fb [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:
Martin Polreichd3618ed2018-12-21 12:29:50 +010054 - &xenial-20177 <%=ENV['IMAGE_XENIAL_20177'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19'%>
55 - &xenial-stable <%=ENV['IMAGE_XENIAL_STABLE'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19'%>
56
Marek Celoud43d293f2017-06-07 12:29:24 +020057platforms:
Martin Polreichd3618ed2018-12-21 12:29:50 +010058 - name: xenial-2017.7
59 driver_config:
60 image: *xenial-20177
61 platform: ubuntu
62
63 - name: xenial-stable
64 driver_config:
65 image: *xenial-stable
Marek Celoud43d293f2017-06-07 12:29:24 +020066 platform: ubuntu
67
68suites:
Marek Celoud43d293f2017-06-07 12:29:24 +020069 - name: master_cluster
70 provisioner:
71 pillars-from-files:
72 kubernetes.sls: tests/pillar/master_cluster.sls
Martin Polreichd3618ed2018-12-21 12:29:50 +010073
Marek Celoud43d293f2017-06-07 12:29:24 +020074 - name: pool_cluster
75 provisioner:
76 pillars-from-files:
77 kubernetes.sls: tests/pillar/pool_cluster.sls
78
Tomáš Kukrál23c4df02017-08-28 13:30:42 +020079 - name: pool_cluster_with_domain
80 provisioner:
81 pillars-from-files:
82 kubernetes.sls: tests/pillar/pool_cluster_with_domain.sls
83
Marek Celouddc241dc2017-06-20 16:23:07 +020084 - name: master_contrail4_0
85 provisioner:
86 pillars-from-files:
87 kubernetes.sls: tests/pillar/master_contrail4_0.sls
88
89 - name: pool_contrail4_0
90 provisioner:
91 pillars-from-files:
92 kubernetes.sls: tests/pillar/pool_contrail4_0.sls
Tomáš Kukrál13b1edb2017-06-08 16:47:34 +020093
Petr Michalec52d4e1f2017-09-11 17:50:54 +020094 - name: common_storageclass
95 provisioner:
96 pillars-from-files:
97 kubernetes.sls: tests/pillar/master_cluster.sls
98 kubernetes_extra.sls: tests/pillar/common_storageclass.sls
99
Marek Celoud43d293f2017-06-07 12:29:24 +0200100# vim: ft=yaml sw=2 ts=2 sts=2 tw=125