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