blob: 888f83fa4b599ebc6b4a16e83f825629ab8df859 [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
Oleh Hryhorov7c5dfd32018-01-19 15:43:44 +020011 salt_version: <%=ENV['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
Marcin Iwinski03560d72017-12-22 09:54:40 +010089 minion_env_vars.sls: tests/pillar/minion_env_vars.sls
Martin81992294ff2017-02-17 23:52:17 +010090
91 - name: master-default
92 provisioner:
93 pillars:
94 top.sls:
95 base:
96 "*":
97 - common
Petr Michalece07687e2017-02-09 16:09:24 +010098 - minion_pki
Martin81992294ff2017-02-17 23:52:17 +010099 - master_api
100 - master_acl
101 - master_ssh_key
102 - master_ssh_password
103 - master_ssh_root
Petr Michalece07687e2017-02-09 16:09:24 +0100104 - minion_pki_cert
Petr Michalec7a2f1d22017-05-17 22:08:32 +0200105 - master_formulas
Matthew Mosesohn2de41e32017-07-14 12:23:17 +0300106 common.sls:
107 salt:
108 master:
109 #Use a useless package to avoid upgrading salt-master
110 pkgs:
111 - python-yaml
Martin81992294ff2017-02-17 23:52:17 +0100112 pillars-from-files:
Petr Michalece07687e2017-02-09 16:09:24 +0100113 minion_pki.sls: tests/pillar/minion_pki_ca.sls
114 minion_pki_cert.sls: tests/pillar/minion_pki_cert.sls
Martin81992294ff2017-02-17 23:52:17 +0100115 master_api.sls: tests/pillar/master_api.sls
116 master_acl.sls: tests/pillar/master_acl.sls
117 master_ssh_key.sls: tests/pillar/master_ssh_minion_key.sls
118 master_ssh_password.sls: tests/pillar/master_ssh_minion_password.sls
119 master_ssh_root.sls: tests/pillar/master_ssh_minion_root.sls
Petr Michalec7a2f1d22017-05-17 22:08:32 +0200120 master_formulas.sls: tests/pillar/master_formulas.sls
Martin81992294ff2017-02-17 23:52:17 +0100121
Petr Michalec1f541c42017-08-17 13:30:37 +0200122 - name: master-extpillar-composite
123 provisioner:
124 pillars-from-files:
125 salt.sls: tests/pillar/master_single_extpillars.sls
126
127 - name: master-extpillar-reclass
128 provisioner:
129 pillars-from-files:
130 salt.sls: tests/pillar/master_single_extreclass.sls
131
Petr Michalecdf4e7812017-10-05 14:09:21 +0200132 - name: master-backward-compat
133 provisioner:
134 pillars-from-files:
135 salt.sls: tests/pillar/master_single_extolddays.sls
136
Martin81992294ff2017-02-17 23:52:17 +0100137 - name: control-default
138 provisioner:
139 grains:
140 noservices: true
141 pillars:
142 top.sls:
143 base:
144 "*":
145 - common
146 - control_cloud_digitalocean
147 - control_cloud_openstack
148 - control_virt
149 pillars-from-files:
150 control_cloud_digitalocean.sls: tests/pillar/control_cloud_digitalocean.sls
151 control_cloud_openstack.sls: tests/pillar/control_cloud_openstack.sls
152 control_virt.sls: tests/pillar/control_virt.sls
Mateusz Los4c7cd2d2018-01-09 11:46:07 +0100153 control_virt_custom.sls: tests/pillar/control_virt_custom.sls
Martin81992294ff2017-02-17 23:52:17 +0100154
155 - name: minion_multi_master_failover
156 provisioner:
157 pillars-from-files:
158 salt.sls: tests/pillar/minion_multi_master_failover.sls
159
160
Martin81992294ff2017-02-17 23:52:17 +0100161 # vim: ft=yaml sw=2 ts=2 sts=2 tw=125