blob: 7488a4093e6a6c2d4ed458b1dc9d70827f707658 [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
Martin Polreich4271eda2019-04-10 08:21:45 +020021 branch: <%=ENV['GERRIT_BRANCH'] || 'master' %>
Matthew Mosesohn65baceb2017-06-21 17:33:27 +030022 - name: contrail
23 repo: git
24 source: https://github.com/salt-formulas/salt-formula-opencontrail
Martin Polreich4271eda2019-04-10 08:21:45 +020025 branch: <%=ENV['GERRIT_BRANCH'] || 'master' %>
Marek Celouddc241dc2017-06-20 16:23:07 +020026
Marek Celoud43d293f2017-06-07 12:29:24 +020027 state_top:
28 base:
29 "*":
30 - linux
31 - kubernetes
32 pillars:
33 top.sls:
34 base:
35 "*":
36 - linux_repo_docker
Marek Celouddc241dc2017-06-20 16:23:07 +020037 - linux_repo_opencontrail
Marek Celoud43d293f2017-06-07 12:29:24 +020038 - linux
39 - kubernetes
Petr Michalec52d4e1f2017-09-11 17:50:54 +020040 - kubernetes_extra
41 kubernetes_extra.sls: {}
Marek Celoud43d293f2017-06-07 12:29:24 +020042 linux.sls:
43 linux:
44 system:
45 enabled: true
46 name: kubernetes
47 pillars-from-files:
48 linux_repo_docker.sls: tests/pillar/repo_docker.sls
Marek Celouddc241dc2017-06-20 16:23:07 +020049 linux_repo_opencontrail.sls: tests/pillar/repo_contrail.sls
Marek Celoud43d293f2017-06-07 12:29:24 +020050
51verifier:
52 name: inspec
53 sudo: true
54
Martin Polreichd3618ed2018-12-21 12:29:50 +010055docker_images:
Martin Polreichd3618ed2018-12-21 12:29:50 +010056 - &xenial-20177 <%=ENV['IMAGE_XENIAL_20177'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19'%>
57 - &xenial-stable <%=ENV['IMAGE_XENIAL_STABLE'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19'%>
58
Marek Celoud43d293f2017-06-07 12:29:24 +020059platforms:
Martin Polreichd3618ed2018-12-21 12:29:50 +010060 - name: xenial-2017.7
61 driver_config:
62 image: *xenial-20177
63 platform: ubuntu
64
65 - name: xenial-stable
66 driver_config:
67 image: *xenial-stable
Marek Celoud43d293f2017-06-07 12:29:24 +020068 platform: ubuntu
69
70suites:
Marek Celoud43d293f2017-06-07 12:29:24 +020071 - name: master_cluster
72 provisioner:
73 pillars-from-files:
74 kubernetes.sls: tests/pillar/master_cluster.sls
Martin Polreichd3618ed2018-12-21 12:29:50 +010075
Marek Celoud43d293f2017-06-07 12:29:24 +020076 - name: pool_cluster
77 provisioner:
78 pillars-from-files:
79 kubernetes.sls: tests/pillar/pool_cluster.sls
80
Tomáš Kukrál23c4df02017-08-28 13:30:42 +020081 - name: pool_cluster_with_domain
82 provisioner:
83 pillars-from-files:
84 kubernetes.sls: tests/pillar/pool_cluster_with_domain.sls
85
Marek Celouddc241dc2017-06-20 16:23:07 +020086 - name: master_contrail4_0
87 provisioner:
88 pillars-from-files:
89 kubernetes.sls: tests/pillar/master_contrail4_0.sls
90
91 - name: pool_contrail4_0
92 provisioner:
93 pillars-from-files:
94 kubernetes.sls: tests/pillar/pool_contrail4_0.sls
Tomáš Kukrál13b1edb2017-06-08 16:47:34 +020095
Petr Michalec52d4e1f2017-09-11 17:50:54 +020096 - name: common_storageclass
97 provisioner:
98 pillars-from-files:
99 kubernetes.sls: tests/pillar/master_cluster.sls
100 kubernetes_extra.sls: tests/pillar/common_storageclass.sls
101
Marek Celoud43d293f2017-06-07 12:29:24 +0200102# vim: ft=yaml sw=2 ts=2 sts=2 tw=125