blob: bb64bff16d6ab42cc09933dda1d222c6c3d35205 [file] [log] [blame]
Martin8199c78d942017-02-21 16:03:34 +01001---
2driver:
3 name: docker
4 hostname: reclass.ci.local
5 use_sudo: false
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: reclass
15 grains:
16 noservices: True
17 state_top:
18 base:
19 "*":
20 - reclass
21 pillars:
22 top.sls:
23 base:
24 "*":
25 - reclass
26
27verifier:
28 name: inspec
29 sudo: true
30
31
32platforms:
Martin Polreich5124ae02018-02-21 14:33:25 +010033 - name: <%=ENV['PLATFORM'] || 'saltstack-ubuntu-xenial-salt-stable' %>
Martin8199c78d942017-02-21 16:03:34 +010034 driver_config:
Martin Polreich50ef19e2018-04-25 15:21:48 +020035 image: <%=ENV['PLATFORM'] || 'epcim/salt:saltstack-ubuntu-xenial-salt-stable'%>
Martin8199c78d942017-02-21 16:03:34 +010036 platform: ubuntu
Adam Tenglera2f260a2018-07-12 17:35:28 +000037 provisioner:
38 init_environment: |
39 sudo yum install -y python-netaddr || sudo apt-get install -y python-netaddr || true
Martin8199c78d942017-02-21 16:03:34 +010040
41suites:
42
43 - name: class_mapping
44 provisioner:
45 pillars-from-files:
46 reclass.sls: tests/pillar/class_mapping.sls
47
48 - name: generate_multi
49 provisioner:
50 pillars-from-files:
51 reclass.sls: tests/pillar/generate_multi.sls
52
53 - name: generate_single
54 provisioner:
55 pillars-from-files:
56 reclass.sls: tests/pillar/generate_single.sls
57
58 - name: storage_local
59 provisioner:
60 pillars-from-files:
61 reclass.sls: tests/pillar/storage_local.sls
Elena Ezhovafc761592017-07-27 11:49:40 +040062
Petr Ruzickab4f74632017-11-16 15:47:07 +010063 - name: storage_git
64 provisioner:
65 pillars-from-files:
66 reclass.sls: tests/pillar/storage_git.sls
67
68 - name: storage_pip
69 provisioner:
70 pillars-from-files:
71 reclass.sls: tests/pillar/storage_pip.sls
72
Elena Ezhovafc761592017-07-27 11:49:40 +040073 - name: storage_nodes_uri
74 provisioner:
75 pillars-from-files:
76 reclass.sls: tests/pillar/storage_nodes_uri.sls
77
Martin8199c78d942017-02-21 16:03:34 +010078# vim: ft=yaml sw=2 ts=2 sts=2 tw=125