blob: 776e756f0fbfd512bc9a393463f126edda51f71e [file] [log] [blame]
Martin81992294ff2017-02-17 23:52:17 +01001---
2driver:
3 name: docker
4 hostname: salt.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
Petr Michalece07687e2017-02-09 16:09:24 +010012 salt_minion_id: salt.ci.local
Martin81992294ff2017-02-17 23:52:17 +010013 require_chef: false
14 log_level: error
15 formula: salt
16 grains:
17 noservices: true
Petr Michalec7a2f1d22017-05-17 22:08:32 +020018 vendor_repo:
19 - type: apt
Sam Stoelingadfdb5152017-07-01 16:30:46 -070020 url: http://apt-mk.mirantis.com/xenial
Petr Michalec7a2f1d22017-05-17 22:08:32 +020021 key_url: http://apt-mk.mirantis.com/public.gpg
22 components: salt
23 distribution: testing
Martin81992294ff2017-02-17 23:52:17 +010024 state_top:
25 base:
26 "*":
27 - salt
28 pillars:
29 top.sls:
30 base:
31 "*":
32 - salt
33 - common
34 common.sls:
35 salt:
36 minion:
37 enabled: true
38 master:
39 host: localhost
40 linux:
41 system:
42 enabled: true
43 name: salt
44 domain: ci.local
45 dependencies:
46 - name: git
47 repo: git
48 source: https://github.com/salt-formulas/salt-formula-git.git
49 - name: reclass
50 repo: git
51 source: https://github.com/salt-formulas/salt-formula-reclass.git
52
53verifier:
54 name: inspec
55 sudo: true
56
57platforms:
58 - name: <%=ENV['PLATFORM'] || 'ubuntu-xenial'%>
59 driver_config:
60 image: <%=ENV['PLATFORM'] || 'trevorj/salty-whales:xenial'%>
61 platform: ubuntu
62
Martin81992294ff2017-02-17 23:52:17 +010063suites:
Martin81992294ff2017-02-17 23:52:17 +010064 - name: minion-default
65 provisioner:
66 pillars:
67 top.sls:
68 base:
69 "*":
70 - common
71 - minion_pki
72 - minion_mine
73 - minion_graph
74 - minion_handler
75 - minion_local_pillar
76 - minion_local_reclass
77 pillars-from-files:
78 minion_pki.sls: tests/pillar/minion_pki_ca.sls
79 minion_mine.sls: tests/pillar/minion_mine.sls
80 minion_graph.sls: tests/pillar/minion_graph.sls
81 minion_handler.sls: tests/pillar/minion_custom_handler.sls
82 minion_local_pillar.sls: tests/pillar/minion_local_pillar.sls
83 minion_local_reclass.sls: tests/pillar/minion_local_reclass.sls
84
85 - name: master-default
86 provisioner:
87 pillars:
88 top.sls:
89 base:
90 "*":
91 - common
Petr Michalece07687e2017-02-09 16:09:24 +010092 - minion_pki
Martin81992294ff2017-02-17 23:52:17 +010093 - master_api
94 - master_acl
95 - master_ssh_key
96 - master_ssh_password
97 - master_ssh_root
Petr Michalece07687e2017-02-09 16:09:24 +010098 - minion_pki_cert
Petr Michalec7a2f1d22017-05-17 22:08:32 +020099 - master_formulas
Martin81992294ff2017-02-17 23:52:17 +0100100 pillars-from-files:
Petr Michalece07687e2017-02-09 16:09:24 +0100101 minion_pki.sls: tests/pillar/minion_pki_ca.sls
102 minion_pki_cert.sls: tests/pillar/minion_pki_cert.sls
Martin81992294ff2017-02-17 23:52:17 +0100103 master_api.sls: tests/pillar/master_api.sls
104 master_acl.sls: tests/pillar/master_acl.sls
105 master_ssh_key.sls: tests/pillar/master_ssh_minion_key.sls
106 master_ssh_password.sls: tests/pillar/master_ssh_minion_password.sls
107 master_ssh_root.sls: tests/pillar/master_ssh_minion_root.sls
Petr Michalec7a2f1d22017-05-17 22:08:32 +0200108 master_formulas.sls: tests/pillar/master_formulas.sls
Martin81992294ff2017-02-17 23:52:17 +0100109
110 - name: control-default
111 provisioner:
112 grains:
113 noservices: true
114 pillars:
115 top.sls:
116 base:
117 "*":
118 - common
119 - control_cloud_digitalocean
120 - control_cloud_openstack
121 - control_virt
122 pillars-from-files:
123 control_cloud_digitalocean.sls: tests/pillar/control_cloud_digitalocean.sls
124 control_cloud_openstack.sls: tests/pillar/control_cloud_openstack.sls
125 control_virt.sls: tests/pillar/control_virt.sls
126
127 - name: minion_multi_master_failover
128 provisioner:
129 pillars-from-files:
130 salt.sls: tests/pillar/minion_multi_master_failover.sls
131
132
Martin81992294ff2017-02-17 23:52:17 +0100133 # vim: ft=yaml sw=2 ts=2 sts=2 tw=125