blob: 9997178c2800e38c6825f8e9864e903429ef8a51 [file] [log] [blame]
Petr Michalec17240a92016-07-28 16:33:48 +02001---
2driver:
3 name: vagrant
4 vm_hostname: opencontrail.ci.local
5 use_sudo: false
6 customize:
7 memory: 512
8
9
10provisioner:
11 name: salt_solo
12 salt_install: bootstrap
13 salt_bootstrap_url: https://bootstrap.saltstack.com
14 salt_version: latest
15 formula: opencontrail
16 #dependencies:
17 #- { name: 'linux', path: '../../tcpcloud/linux'}
18 log_level: info
19 state_top:
20 base:
21 "*":
22 - opencontrail
23 pillars:
24 linux.sls:
25 linux:
26 system:
27 name: opencontrail.ci.local
28 network:
29 interface:
30 vhost0:
31 enabled: True
32 top.sls:
33 base:
34 "*":
35 - opencontrail
36 - linux
37 grains:
38 noservices: False
39
40
41verifier:
42 name: inspec
43 sudo: true
44
45
46platforms:
47
48 # NOTE: on oc 2.22 some of the converge tests fails - as we are focused now to 3.x will keep it ootb commented
49 #
50 #- name: ubuntu-14.04-oc2
51 # # NOTE, workaround for dependencies until kitchen salt will install SPM/PKG dependencies
52 # driver:
53 # provision_command:
54 # - apt-get install -y wget
55 # - wget -O - http://apt.tcpcloud.eu/public.gpg | sudo apt-key add -
56 # - echo "deb http://apt.tcpcloud.eu/nightly/ trusty main security extra tcp tcp-salt oc222 liberty" > /etc/apt/sources.list
57 # - apt-get update
58 # - apt-get install -y salt-minion salt-formula-linux
59 - name: ubuntu-14.04
60 # NOTE, workaround for dependencies until kitchen salt will install SPM/PKG dependencies
61 driver:
62 provision_command:
63 - apt-get install -y wget
64 - wget -O - http://apt.tcpcloud.eu/public.gpg | sudo apt-key add -
65 - echo "deb http://apt.tcpcloud.eu/nightly/ trusty main security extra tcp tcp-salt oc30 liberty" > /etc/apt/sources.list
66 - apt-get update
67 - apt-get install -y salt-minion salt-formula-linux
68
69 # FIXME, on xenial converge fails, missing packages etc..
70 #
71 #- name: ubuntu-16.04
72 # # NOTE, workaround for dependencies until kitchen salt will install SPM/PKG dependencies
73 # driver:
74 # provision_command:
75 # - apt-get install -y wget
76 # - wget -O - http://apt.tcpcloud.eu/public.gpg | sudo apt-key add -
77 # - echo "deb http://apt.tcpcloud.eu/nightly/ trusty main security extra tcp tcp-salt oc30 liberty" > /etc/apt/sources.list
78 # - apt-get update
79 # - apt-get install -y salt-minion salt-formula-linux
80 # name: ubuntu-16.04-mitaka
81 # # NOTE, workaround for dependencies until kitchen salt will install SPM/PKG dependencies
82 # driver:
83 # provision_command:
84 # - apt-get install -y wget
85 # - wget -O - http://apt.tcpcloud.eu/public.gpg | sudo apt-key add -
86 # - echo "deb http://apt.tcpcloud.eu/nightly/ trusty main security extra tcp tcp-salt oc30 mitaka" > /etc/apt/sources.list
87 # - apt-get update
88 # - apt-get install -y salt-minion salt-formula-linux
89
90 #- name: centos-7.1
91
92suites:
93
94 - name: analytics
95 provisioner:
96 pillars-from-files:
97 opencontrail.sls: tests/pillar/analytics.sls
98
99 - name: cluster
100 provisioner:
101 pillars-from-files:
102 opencontrail.sls: tests/pillar/cluster.sls
103
104 - name: control
105 provisioner:
106 pillars-from-files:
107 opencontrail.sls: tests/pillar/control.sls
108
109 - name: single
110 provisioner:
111 pillars-from-files:
112 opencontrail.sls: tests/pillar/single.sls
113
114 - name: tor
115 provisioner:
116 pillars-from-files:
117 opencontrail.sls: tests/pillar/tor.sls
118
119 - name: vrouter_kubernetes
120 provisioner:
121 pillars-from-files:
122 opencontrail.sls: tests/pillar/vrouter_kubernetes.sls
123
124 - name: vrouter
125 provisioner:
126 pillars-from-files:
127 opencontrail.sls: tests/pillar/vrouter.sls
128
129# vim: ft=yaml sw=2 ts=2 sts=2 tw=125