blob: 113ee81ed57aea39b1533bcf051cc18efe2d664c [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
Petr Michalec579e64d2017-03-24 12:54:29 +010017 dependencies:
18 - name: linux
19 repo: git
20 source: https://github.com/salt-formulas/salt-formula-linux
21 state_top:
22 base:
23 "*":
24 - linux
25 - opencontrail
26 pillars:
27 top.sls:
28 base:
29 "*":
Martin Polreich9ea2c472017-04-06 09:59:10 +020030 - linux_repo_openstack
31 - linux_repo_opencontrail
Petr Michalec579e64d2017-03-24 12:54:29 +010032 - linux_repo_cassandra
Petr Michalec579e64d2017-03-24 12:54:29 +010033 - linux
34 - opencontrail
35 - opencontrail_juniper
36 linux.sls:
37 linux:
38 system:
39 enabled: true
40 name: opencontrail
Petr Michalec579e64d2017-03-24 12:54:29 +010041 opencontrail_juniper.sls: {}
42 pillars-from-files:
Petr Michalec579e64d2017-03-24 12:54:29 +010043 linux_repo_cassandra.sls: tests/pillar/repo_cassandra.sls
Marek Celoud29536242017-05-23 16:14:52 +020044 linux_repo_opencontrail.sls: tests/pillar/repo_opencontrail_<%= ENV['OC_REPO'] || 'oc311' %>.sls
Martin Polreich9ea2c472017-04-06 09:59:10 +020045 linux_repo_openstack.sls: tests/pillar/repo_openstack.sls
Petr Michalec579e64d2017-03-24 12:54:29 +010046
47verifier:
48 name: inspec
49 sudo: true
50
51platforms:
Martin Polreich9ea2c472017-04-06 09:59:10 +020052 - name: <%= ENV['PLATFORM'] || 'ubuntu-xenial' %>
Petr Michalec579e64d2017-03-24 12:54:29 +010053 driver_config:
Martin Polreich9ea2c472017-04-06 09:59:10 +020054 image: <%= ENV['PLATFORM'] || 'trevorj/salty-whales:xenial' %>
Petr Michalec579e64d2017-03-24 12:54:29 +010055 platform: ubuntu
56
57suites:
58
Marek Celoud29536242017-05-23 16:14:52 +020059 # - name: single<%= ENV['OC_VERSION'] || '' %>
60 # provisioner:
61 # pillars-from-files:
62 # opencontrail.sls: tests/pillar/single<%= ENV['OC_VERSION'] || '' %>.sls
63 - name: analytics<%= ENV['OC_VERSION'] || '' %>
Petr Michalec579e64d2017-03-24 12:54:29 +010064 provisioner:
65 pillars-from-files:
Marek Celoud29536242017-05-23 16:14:52 +020066 opencontrail.sls: tests/pillar/analytics<%= ENV['OC_VERSION'] || '' %>.sls
67 - name: control<%= ENV['OC_VERSION'] || '' %>
68 provisioner:
69 pillars-from-files:
70 opencontrail.sls: tests/pillar/control<%= ENV['OC_VERSION'] || '' %>.sls
71 # - name: cluster<%= ENV['OC_VERSION'] || '' %>
72 # provisioner:
73 # pillars-from-files:
74 # opencontrail.sls: tests/pillar/cluster<%= ENV['OC_VERSION'] || '' %>.sls
75 - name: tor<%= ENV['OC_VERSION'] || '' %>
76 provisioner:
77 pillars-from-files:
78 opencontrail.sls: tests/pillar/tor<%= ENV['OC_VERSION'] || '' %>.sls
79 - name: vrouter<%= ENV['OC_VERSION'] || '' %>
80 provisioner:
81 pillars-from-files:
82 opencontrail.sls: tests/pillar/vrouter<%= ENV['OC_VERSION'] || '' %>.sls
Petr Michalec579e64d2017-03-24 12:54:29 +010083
84# vim: ft=yaml sw=2 ts=2 sts=2 tw=125