blob: 379123cb6d1d3a2717489eb129ade633f1758fd9 [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
Matthew Mosesohn2de41e32017-07-14 12:23:17 +030040 pkgs:
41 - python-m2crypto
42 - python-psutil
43 - python-yaml
Martin81992294ff2017-02-17 23:52:17 +010044 linux:
45 system:
46 enabled: true
47 name: salt
48 domain: ci.local
49 dependencies:
50 - name: git
51 repo: git
52 source: https://github.com/salt-formulas/salt-formula-git.git
53 - name: reclass
54 repo: git
55 source: https://github.com/salt-formulas/salt-formula-reclass.git
56
57verifier:
58 name: inspec
59 sudo: true
60
61platforms:
62 - name: <%=ENV['PLATFORM'] || 'ubuntu-xenial'%>
63 driver_config:
64 image: <%=ENV['PLATFORM'] || 'trevorj/salty-whales:xenial'%>
65 platform: ubuntu
66
Martin81992294ff2017-02-17 23:52:17 +010067suites:
Martin81992294ff2017-02-17 23:52:17 +010068 - name: minion-default
69 provisioner:
70 pillars:
71 top.sls:
72 base:
73 "*":
74 - common
75 - minion_pki
76 - minion_mine
77 - minion_graph
78 - minion_handler
79 - minion_local_pillar
80 - minion_local_reclass
81 pillars-from-files:
82 minion_pki.sls: tests/pillar/minion_pki_ca.sls
83 minion_mine.sls: tests/pillar/minion_mine.sls
84 minion_graph.sls: tests/pillar/minion_graph.sls
85 minion_handler.sls: tests/pillar/minion_custom_handler.sls
86 minion_local_pillar.sls: tests/pillar/minion_local_pillar.sls
87 minion_local_reclass.sls: tests/pillar/minion_local_reclass.sls
Sam Stoelingabb4c04b2017-06-26 15:47:19 -070088 minion_backend_urllib.sls: tests/pillar/minion_backend_urllib.sls
Martin81992294ff2017-02-17 23:52:17 +010089
90 - name: master-default
91 provisioner:
92 pillars:
93 top.sls:
94 base:
95 "*":
96 - common
Petr Michalece07687e2017-02-09 16:09:24 +010097 - minion_pki
Martin81992294ff2017-02-17 23:52:17 +010098 - master_api
99 - master_acl
100 - master_ssh_key
101 - master_ssh_password
102 - master_ssh_root
Petr Michalece07687e2017-02-09 16:09:24 +0100103 - minion_pki_cert
Petr Michalec7a2f1d22017-05-17 22:08:32 +0200104 - master_formulas
Matthew Mosesohn2de41e32017-07-14 12:23:17 +0300105 common.sls:
106 salt:
107 master:
108 #Use a useless package to avoid upgrading salt-master
109 pkgs:
110 - python-yaml
Martin81992294ff2017-02-17 23:52:17 +0100111 pillars-from-files:
Petr Michalece07687e2017-02-09 16:09:24 +0100112 minion_pki.sls: tests/pillar/minion_pki_ca.sls
113 minion_pki_cert.sls: tests/pillar/minion_pki_cert.sls
Martin81992294ff2017-02-17 23:52:17 +0100114 master_api.sls: tests/pillar/master_api.sls
115 master_acl.sls: tests/pillar/master_acl.sls
116 master_ssh_key.sls: tests/pillar/master_ssh_minion_key.sls
117 master_ssh_password.sls: tests/pillar/master_ssh_minion_password.sls
118 master_ssh_root.sls: tests/pillar/master_ssh_minion_root.sls
Petr Michalec7a2f1d22017-05-17 22:08:32 +0200119 master_formulas.sls: tests/pillar/master_formulas.sls
Martin81992294ff2017-02-17 23:52:17 +0100120
Petr Michalec1f541c42017-08-17 13:30:37 +0200121 - name: master-extpillar-composite
122 provisioner:
123 pillars-from-files:
124 salt.sls: tests/pillar/master_single_extpillars.sls
125
126 - name: master-extpillar-reclass
127 provisioner:
128 pillars-from-files:
129 salt.sls: tests/pillar/master_single_extreclass.sls
130
Petr Michalecdf4e7812017-10-05 14:09:21 +0200131 - name: master-backward-compat
132 provisioner:
133 pillars-from-files:
134 salt.sls: tests/pillar/master_single_extolddays.sls
135
Martin81992294ff2017-02-17 23:52:17 +0100136 - name: control-default
137 provisioner:
138 grains:
139 noservices: true
140 pillars:
141 top.sls:
142 base:
143 "*":
144 - common
145 - control_cloud_digitalocean
146 - control_cloud_openstack
147 - control_virt
148 pillars-from-files:
149 control_cloud_digitalocean.sls: tests/pillar/control_cloud_digitalocean.sls
150 control_cloud_openstack.sls: tests/pillar/control_cloud_openstack.sls
151 control_virt.sls: tests/pillar/control_virt.sls
Mateusz Los4c7cd2d2018-01-09 11:46:07 +0100152 control_virt_custom.sls: tests/pillar/control_virt_custom.sls
Martin81992294ff2017-02-17 23:52:17 +0100153
154 - name: minion_multi_master_failover
155 provisioner:
156 pillars-from-files:
157 salt.sls: tests/pillar/minion_multi_master_failover.sls
158
159
Martin81992294ff2017-02-17 23:52:17 +0100160 # vim: ft=yaml sw=2 ts=2 sts=2 tw=125