blob: 4fcc1680622dd4cd1010c50075383acb9103a799 [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
Martin81992294ff2017-02-17 23:52:17 +010053 - name: reclass
54 repo: git
Martin Polreich4c54f4f2019-01-15 15:14:31 +010055 source: https://gerrit.mcp.mirantis.com/salt-formulas/reclass
Martin81992294ff2017-02-17 23:52:17 +010056
57verifier:
58 name: inspec
59 sudo: true
60
Martin Polreich4c54f4f2019-01-15 15:14:31 +010061docker_images:
62 - &xenial-20163 <%=ENV['IMAGE_XENIAL_20163'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2016.3/salt:2018_11_19'%>
63 - &xenial-20177 <%=ENV['IMAGE_XENIAL_20177'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19'%>
64 - &xenial-stable <%=ENV['IMAGE_XENIAL_STABLE'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19'%>
65
Martin81992294ff2017-02-17 23:52:17 +010066platforms:
Martin Polreich4c54f4f2019-01-15 15:14:31 +010067 - name: xenial-2016.3
Martin81992294ff2017-02-17 23:52:17 +010068 driver_config:
Martin Polreich4c54f4f2019-01-15 15:14:31 +010069 image: *xenial-20163
70 platform: ubuntu
71
72 - name: xenial-2017.7
73 driver_config:
74 image: *xenial-20177
75 platform: ubuntu
76
77 - name: xenial-stable
78 driver_config:
79 image: *xenial-stable
Martin81992294ff2017-02-17 23:52:17 +010080 platform: ubuntu
81
Martin81992294ff2017-02-17 23:52:17 +010082suites:
Martin81992294ff2017-02-17 23:52:17 +010083 - name: minion-default
84 provisioner:
85 pillars:
86 top.sls:
87 base:
88 "*":
89 - common
90 - minion_pki
91 - minion_mine
92 - minion_graph
93 - minion_handler
94 - minion_local_pillar
95 - minion_local_reclass
96 pillars-from-files:
97 minion_pki.sls: tests/pillar/minion_pki_ca.sls
98 minion_mine.sls: tests/pillar/minion_mine.sls
99 minion_graph.sls: tests/pillar/minion_graph.sls
100 minion_handler.sls: tests/pillar/minion_custom_handler.sls
101 minion_local_pillar.sls: tests/pillar/minion_local_pillar.sls
102 minion_local_reclass.sls: tests/pillar/minion_local_reclass.sls
Sam Stoelingabb4c04b2017-06-26 15:47:19 -0700103 minion_backend_urllib.sls: tests/pillar/minion_backend_urllib.sls
Marcin Iwinski03560d72017-12-22 09:54:40 +0100104 minion_env_vars.sls: tests/pillar/minion_env_vars.sls
Martin81992294ff2017-02-17 23:52:17 +0100105
106 - name: master-default
107 provisioner:
108 pillars:
109 top.sls:
110 base:
111 "*":
112 - common
Petr Michalece07687e2017-02-09 16:09:24 +0100113 - minion_pki
Martin81992294ff2017-02-17 23:52:17 +0100114 - master_api
115 - master_acl
116 - master_ssh_key
117 - master_ssh_password
118 - master_ssh_root
Petr Michalece07687e2017-02-09 16:09:24 +0100119 - minion_pki_cert
Petr Michalec7a2f1d22017-05-17 22:08:32 +0200120 - master_formulas
Matthew Mosesohn2de41e32017-07-14 12:23:17 +0300121 common.sls:
122 salt:
123 master:
124 #Use a useless package to avoid upgrading salt-master
125 pkgs:
126 - python-yaml
Martin81992294ff2017-02-17 23:52:17 +0100127 pillars-from-files:
Petr Michalece07687e2017-02-09 16:09:24 +0100128 minion_pki.sls: tests/pillar/minion_pki_ca.sls
129 minion_pki_cert.sls: tests/pillar/minion_pki_cert.sls
Martin81992294ff2017-02-17 23:52:17 +0100130 master_api.sls: tests/pillar/master_api.sls
131 master_acl.sls: tests/pillar/master_acl.sls
132 master_ssh_key.sls: tests/pillar/master_ssh_minion_key.sls
133 master_ssh_password.sls: tests/pillar/master_ssh_minion_password.sls
134 master_ssh_root.sls: tests/pillar/master_ssh_minion_root.sls
Petr Michalec7a2f1d22017-05-17 22:08:32 +0200135 master_formulas.sls: tests/pillar/master_formulas.sls
Martin81992294ff2017-02-17 23:52:17 +0100136
Martin Polreich4c54f4f2019-01-15 15:14:31 +0100137 # - name: master-extpillar-composite
138 # provisioner:
139 # pillars-from-files:
140 # salt.sls: tests/pillar/master_single_extpillars.sls
Petr Michalec1f541c42017-08-17 13:30:37 +0200141
Martin Polreich4c54f4f2019-01-15 15:14:31 +0100142 # - name: master-extpillar-reclass
143 # provisioner:
144 # pillars-from-files:
145 # salt.sls: tests/pillar/master_single_extreclass.sls
Petr Michalec1f541c42017-08-17 13:30:37 +0200146
Martin Polreich4c54f4f2019-01-15 15:14:31 +0100147 # - name: master-backward-compat
148 # provisioner:
149 # pillars-from-files:
150 # salt.sls: tests/pillar/master_single_extolddays.sls
Petr Michalecdf4e7812017-10-05 14:09:21 +0200151
Martin81992294ff2017-02-17 23:52:17 +0100152 - name: control-default
153 provisioner:
154 grains:
155 noservices: true
156 pillars:
157 top.sls:
158 base:
159 "*":
160 - common
161 - control_cloud_digitalocean
162 - control_cloud_openstack
163 - control_virt
164 pillars-from-files:
165 control_cloud_digitalocean.sls: tests/pillar/control_cloud_digitalocean.sls
166 control_cloud_openstack.sls: tests/pillar/control_cloud_openstack.sls
167 control_virt.sls: tests/pillar/control_virt.sls
Mateusz Los4c7cd2d2018-01-09 11:46:07 +0100168 control_virt_custom.sls: tests/pillar/control_virt_custom.sls
Martin81992294ff2017-02-17 23:52:17 +0100169
170 - name: minion_multi_master_failover
171 provisioner:
172 pillars-from-files:
173 salt.sls: tests/pillar/minion_multi_master_failover.sls
174
175
Martin81992294ff2017-02-17 23:52:17 +0100176 # vim: ft=yaml sw=2 ts=2 sts=2 tw=125