forked from salt-formulas/salt-formula-opencontrail
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.kitchen.yml
125 lines (111 loc) · 2.87 KB
/
.kitchen.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
---
driver:
name: docker
hostname: opencontrail
use_sudo: true
provisioner:
name: salt_solo
salt_install: bootstrap
salt_bootstrap_url: https://bootstrap.saltstack.com
salt_version: latest
require_chef: false
log_level: error
formula: opencontrail
grains:
noservices: True
vendor_repo:
- type: apt
url: http://apt-mk.mirantis.com/trusty
key_url: http://apt-mk.mirantis.com/public.gpg
components: oc303 extra
distribution: nightly
dependencies:
- name: linux
repo: git
source: https://github.com/salt-formulas/salt-formula-linux
state_top:
base:
"*":
- linux
- opencontrail
pillars:
top.sls:
base:
"*":
- linux_repo_cassandra
- linux_repo_mos
- linux
- opencontrail
- opencontrail_juniper
linux.sls:
linux:
system:
enabled: true
name: opencontrail
network:
enabled: true
hostname: opencontrail
interface:
vhost0:
enabled: True
type: eth
opencontrail_juniper.sls: {}
pillars-from-files:
linux_repo_mos.sls: tests/pillar/repo_mos8.sls
linux_repo_cassandra.sls: tests/pillar/repo_cassandra.sls
verifier:
name: inspec
sudo: true
platforms:
- name: <%= ENV['PLATFORM'] || 'ubuntu-trusty' %>
driver_config:
image: <%= ENV['PLATFORM'] || 'trevorj/salty-whales:trusty' %>
platform: ubuntu
suites:
- name: analytics
provisioner:
pillars-from-files:
opencontrail.sls: tests/pillar/analytics.sls
- name: cluster
provisioner:
pillars-from-files:
opencontrail.sls: tests/pillar/cluster.sls
- name: control
provisioner:
pillars-from-files:
opencontrail.sls: tests/pillar/control.sls
- name: single
provisioner:
pillars-from-files:
opencontrail.sls: tests/pillar/single.sls
# Note: require juniper contrail repo available
- name: vendor-juniper
provisioner:
vendor_repo:
- type: apt
url: http://aptly.local/contrail
key_url: http://aptly.local/public.gpg
components: main
distribution: trusty
pillars-from-files:
opencontrail.sls: tests/pillar/control.sls
pillars:
opencontrail_juniper.sls:
opencontrail:
common:
vendor: juniper
# Note: Following suites not pass on docker platform
# the scope of the test may be limited.
- name: tor
provisioner:
pillars-from-files:
opencontrail.sls: tests/pillar/tor.sls
- name: vrouter_kubernetes
provisioner:
pillars-from-files:
opencontrail.sls: tests/pillar/vrouter_kubernetes.sls
- name: vrouter
provisioner:
pillars-from-files:
opencontrail.sls: tests/pillar/vrouter.sls
# vim: ft=yaml sw=2 ts=2 sts=2 tw=125