blob: 5789f7c18153212b6a9a6b038723ac2bafc980bc [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:
Martin Polreich4c54f4f2019-01-15 15:14:31 +010062 - &xenial-20177 <%=ENV['IMAGE_XENIAL_20177'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19'%>
63 - &xenial-stable <%=ENV['IMAGE_XENIAL_STABLE'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19'%>
64
Martin81992294ff2017-02-17 23:52:17 +010065platforms:
Martin Polreich4c54f4f2019-01-15 15:14:31 +010066 - name: xenial-2017.7
67 driver_config:
68 image: *xenial-20177
69 platform: ubuntu
70
71 - name: xenial-stable
72 driver_config:
73 image: *xenial-stable
Martin81992294ff2017-02-17 23:52:17 +010074 platform: ubuntu
75
Martin81992294ff2017-02-17 23:52:17 +010076suites:
Martin81992294ff2017-02-17 23:52:17 +010077 - name: minion-default
78 provisioner:
79 pillars:
80 top.sls:
81 base:
82 "*":
83 - common
84 - minion_pki
85 - minion_mine
86 - minion_graph
87 - minion_handler
88 - minion_local_pillar
89 - minion_local_reclass
90 pillars-from-files:
91 minion_pki.sls: tests/pillar/minion_pki_ca.sls
92 minion_mine.sls: tests/pillar/minion_mine.sls
93 minion_graph.sls: tests/pillar/minion_graph.sls
94 minion_handler.sls: tests/pillar/minion_custom_handler.sls
95 minion_local_pillar.sls: tests/pillar/minion_local_pillar.sls
96 minion_local_reclass.sls: tests/pillar/minion_local_reclass.sls
Sam Stoelingabb4c04b2017-06-26 15:47:19 -070097 minion_backend_urllib.sls: tests/pillar/minion_backend_urllib.sls
Marcin Iwinski03560d72017-12-22 09:54:40 +010098 minion_env_vars.sls: tests/pillar/minion_env_vars.sls
Martin81992294ff2017-02-17 23:52:17 +010099
100 - name: master-default
101 provisioner:
102 pillars:
103 top.sls:
104 base:
105 "*":
106 - common
Petr Michalece07687e2017-02-09 16:09:24 +0100107 - minion_pki
Martin81992294ff2017-02-17 23:52:17 +0100108 - master_api
109 - master_acl
110 - master_ssh_key
111 - master_ssh_password
112 - master_ssh_root
Petr Michalece07687e2017-02-09 16:09:24 +0100113 - minion_pki_cert
Petr Michalec7a2f1d22017-05-17 22:08:32 +0200114 - master_formulas
Matthew Mosesohn2de41e32017-07-14 12:23:17 +0300115 common.sls:
116 salt:
117 master:
118 #Use a useless package to avoid upgrading salt-master
119 pkgs:
120 - python-yaml
Martin81992294ff2017-02-17 23:52:17 +0100121 pillars-from-files:
Petr Michalece07687e2017-02-09 16:09:24 +0100122 minion_pki.sls: tests/pillar/minion_pki_ca.sls
123 minion_pki_cert.sls: tests/pillar/minion_pki_cert.sls
Martin81992294ff2017-02-17 23:52:17 +0100124 master_api.sls: tests/pillar/master_api.sls
125 master_acl.sls: tests/pillar/master_acl.sls
126 master_ssh_key.sls: tests/pillar/master_ssh_minion_key.sls
127 master_ssh_password.sls: tests/pillar/master_ssh_minion_password.sls
128 master_ssh_root.sls: tests/pillar/master_ssh_minion_root.sls
Petr Michalec7a2f1d22017-05-17 22:08:32 +0200129 master_formulas.sls: tests/pillar/master_formulas.sls
Martin81992294ff2017-02-17 23:52:17 +0100130
Martin Polreich4c54f4f2019-01-15 15:14:31 +0100131 # - name: master-extpillar-composite
132 # provisioner:
133 # pillars-from-files:
134 # salt.sls: tests/pillar/master_single_extpillars.sls
Petr Michalec1f541c42017-08-17 13:30:37 +0200135
Martin Polreich4c54f4f2019-01-15 15:14:31 +0100136 # - name: master-extpillar-reclass
137 # provisioner:
138 # pillars-from-files:
139 # salt.sls: tests/pillar/master_single_extreclass.sls
Petr Michalec1f541c42017-08-17 13:30:37 +0200140
Martin Polreich4c54f4f2019-01-15 15:14:31 +0100141 # - name: master-backward-compat
142 # provisioner:
143 # pillars-from-files:
144 # salt.sls: tests/pillar/master_single_extolddays.sls
Petr Michalecdf4e7812017-10-05 14:09:21 +0200145
Martin81992294ff2017-02-17 23:52:17 +0100146 - name: control-default
147 provisioner:
148 grains:
149 noservices: true
150 pillars:
151 top.sls:
152 base:
153 "*":
154 - common
155 - control_cloud_digitalocean
156 - control_cloud_openstack
157 - control_virt
158 pillars-from-files:
159 control_cloud_digitalocean.sls: tests/pillar/control_cloud_digitalocean.sls
160 control_cloud_openstack.sls: tests/pillar/control_cloud_openstack.sls
161 control_virt.sls: tests/pillar/control_virt.sls
Mateusz Los4c7cd2d2018-01-09 11:46:07 +0100162 control_virt_custom.sls: tests/pillar/control_virt_custom.sls
Martin81992294ff2017-02-17 23:52:17 +0100163
164 - name: minion_multi_master_failover
165 provisioner:
166 pillars-from-files:
167 salt.sls: tests/pillar/minion_multi_master_failover.sls
168
169
Martin81992294ff2017-02-17 23:52:17 +0100170 # vim: ft=yaml sw=2 ts=2 sts=2 tw=125