blob: 8cf4245406d446098506688daffca1415b1287eb [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
Martin Polreich4c54f4f2019-01-15 15:14:31 +010011 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
Martin Polreich8ecddf02018-02-16 11:25:17 +010020 url: http://apt.mirantis.com/xenial
21 key_url: http://apt.mirantis.com/public.gpg
Petr Michalec7a2f1d22017-05-17 22:08:32 +020022 components: salt
Martin Polreich8ecddf02018-02-16 11:25:17 +010023 distribution: nightly
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
Martin Polreich4c54f4f2019-01-15 15:14:31 +010052 source: https://gerrit.mcp.mirantis.com/salt-formulas/git
Martin Polreich555f0e92019-04-10 08:21:46 +020053 branch: <%=ENV['GERRIT_BRANCH'] || 'master' %>
Martin81992294ff2017-02-17 23:52:17 +010054 - name: reclass
55 repo: git
Martin Polreich4c54f4f2019-01-15 15:14:31 +010056 source: https://gerrit.mcp.mirantis.com/salt-formulas/reclass
Martin Polreich555f0e92019-04-10 08:21:46 +020057 branch: <%=ENV['GERRIT_BRANCH'] || 'master' %>
Martin81992294ff2017-02-17 23:52:17 +010058
59verifier:
60 name: inspec
61 sudo: true
62
Martin Polreich4c54f4f2019-01-15 15:14:31 +010063docker_images:
Martin Polreich4c54f4f2019-01-15 15:14:31 +010064 - &xenial-20177 <%=ENV['IMAGE_XENIAL_20177'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19'%>
65 - &xenial-stable <%=ENV['IMAGE_XENIAL_STABLE'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19'%>
66
Martin81992294ff2017-02-17 23:52:17 +010067platforms:
Martin Polreich4c54f4f2019-01-15 15:14:31 +010068 - name: xenial-2017.7
69 driver_config:
70 image: *xenial-20177
71 platform: ubuntu
72
73 - name: xenial-stable
74 driver_config:
75 image: *xenial-stable
Martin81992294ff2017-02-17 23:52:17 +010076 platform: ubuntu
77
Martin81992294ff2017-02-17 23:52:17 +010078suites:
Martin81992294ff2017-02-17 23:52:17 +010079 - name: minion-default
80 provisioner:
81 pillars:
82 top.sls:
83 base:
84 "*":
85 - common
86 - minion_pki
87 - minion_mine
88 - minion_graph
89 - minion_handler
90 - minion_local_pillar
91 - minion_local_reclass
92 pillars-from-files:
93 minion_pki.sls: tests/pillar/minion_pki_ca.sls
94 minion_mine.sls: tests/pillar/minion_mine.sls
95 minion_graph.sls: tests/pillar/minion_graph.sls
96 minion_handler.sls: tests/pillar/minion_custom_handler.sls
97 minion_local_pillar.sls: tests/pillar/minion_local_pillar.sls
98 minion_local_reclass.sls: tests/pillar/minion_local_reclass.sls
Sam Stoelingabb4c04b2017-06-26 15:47:19 -070099 minion_backend_urllib.sls: tests/pillar/minion_backend_urllib.sls
Marcin Iwinski03560d72017-12-22 09:54:40 +0100100 minion_env_vars.sls: tests/pillar/minion_env_vars.sls
Martin81992294ff2017-02-17 23:52:17 +0100101
102 - name: master-default
103 provisioner:
104 pillars:
105 top.sls:
106 base:
107 "*":
108 - common
Petr Michalece07687e2017-02-09 16:09:24 +0100109 - minion_pki
Martin81992294ff2017-02-17 23:52:17 +0100110 - master_api
111 - master_acl
112 - master_ssh_key
113 - master_ssh_password
114 - master_ssh_root
Petr Michalece07687e2017-02-09 16:09:24 +0100115 - minion_pki_cert
Petr Michalec7a2f1d22017-05-17 22:08:32 +0200116 - master_formulas
Matthew Mosesohn2de41e32017-07-14 12:23:17 +0300117 common.sls:
118 salt:
119 master:
120 #Use a useless package to avoid upgrading salt-master
121 pkgs:
122 - python-yaml
Martin81992294ff2017-02-17 23:52:17 +0100123 pillars-from-files:
Petr Michalece07687e2017-02-09 16:09:24 +0100124 minion_pki.sls: tests/pillar/minion_pki_ca.sls
125 minion_pki_cert.sls: tests/pillar/minion_pki_cert.sls
Martin81992294ff2017-02-17 23:52:17 +0100126 master_api.sls: tests/pillar/master_api.sls
127 master_acl.sls: tests/pillar/master_acl.sls
128 master_ssh_key.sls: tests/pillar/master_ssh_minion_key.sls
129 master_ssh_password.sls: tests/pillar/master_ssh_minion_password.sls
130 master_ssh_root.sls: tests/pillar/master_ssh_minion_root.sls
Petr Michalec7a2f1d22017-05-17 22:08:32 +0200131 master_formulas.sls: tests/pillar/master_formulas.sls
Martin81992294ff2017-02-17 23:52:17 +0100132
Martin Polreich4c54f4f2019-01-15 15:14:31 +0100133 # - name: master-extpillar-composite
134 # provisioner:
135 # pillars-from-files:
136 # salt.sls: tests/pillar/master_single_extpillars.sls
Petr Michalec1f541c42017-08-17 13:30:37 +0200137
Martin Polreich4c54f4f2019-01-15 15:14:31 +0100138 # - name: master-extpillar-reclass
139 # provisioner:
140 # pillars-from-files:
141 # salt.sls: tests/pillar/master_single_extreclass.sls
Petr Michalec1f541c42017-08-17 13:30:37 +0200142
Martin Polreich4c54f4f2019-01-15 15:14:31 +0100143 # - name: master-backward-compat
144 # provisioner:
145 # pillars-from-files:
146 # salt.sls: tests/pillar/master_single_extolddays.sls
Petr Michalecdf4e7812017-10-05 14:09:21 +0200147
Martin81992294ff2017-02-17 23:52:17 +0100148 - name: control-default
149 provisioner:
150 grains:
151 noservices: true
152 pillars:
153 top.sls:
154 base:
155 "*":
156 - common
157 - control_cloud_digitalocean
158 - control_cloud_openstack
159 - control_virt
160 pillars-from-files:
161 control_cloud_digitalocean.sls: tests/pillar/control_cloud_digitalocean.sls
162 control_cloud_openstack.sls: tests/pillar/control_cloud_openstack.sls
163 control_virt.sls: tests/pillar/control_virt.sls
Mateusz Los4c7cd2d2018-01-09 11:46:07 +0100164 control_virt_custom.sls: tests/pillar/control_virt_custom.sls
Martin81992294ff2017-02-17 23:52:17 +0100165
166 - name: minion_multi_master_failover
167 provisioner:
168 pillars-from-files:
169 salt.sls: tests/pillar/minion_multi_master_failover.sls
170
171
Martin81992294ff2017-02-17 23:52:17 +0100172 # vim: ft=yaml sw=2 ts=2 sts=2 tw=125