blob: 41f524c3050f4926f112fd8ccbd1bba4e8b6f09b [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 Polreich7fedd8d2019-10-15 14:43:16 +020064 - &xenial-20177 <%=ENV['IMAGE_XENIAL_20177'] || 'docker-dev-local.docker.mirantis.net/mirantis/drivetrain/salt-formulas-ci/salt-formulas-ci-xenial-2017.7:latest'%>
Martin Polreich4c54f4f2019-01-15 15:14:31 +010065
Martin81992294ff2017-02-17 23:52:17 +010066platforms:
Martin Polreich4c54f4f2019-01-15 15:14:31 +010067 - name: xenial-2017.7
68 driver_config:
69 image: *xenial-20177
70 platform: ubuntu
71
Martin81992294ff2017-02-17 23:52:17 +010072suites:
Martin81992294ff2017-02-17 23:52:17 +010073 - name: minion-default
74 provisioner:
75 pillars:
76 top.sls:
77 base:
78 "*":
79 - common
80 - minion_pki
81 - minion_mine
82 - minion_graph
83 - minion_handler
84 - minion_local_pillar
85 - minion_local_reclass
86 pillars-from-files:
87 minion_pki.sls: tests/pillar/minion_pki_ca.sls
88 minion_mine.sls: tests/pillar/minion_mine.sls
89 minion_graph.sls: tests/pillar/minion_graph.sls
90 minion_handler.sls: tests/pillar/minion_custom_handler.sls
91 minion_local_pillar.sls: tests/pillar/minion_local_pillar.sls
92 minion_local_reclass.sls: tests/pillar/minion_local_reclass.sls
Sam Stoelingabb4c04b2017-06-26 15:47:19 -070093 minion_backend_urllib.sls: tests/pillar/minion_backend_urllib.sls
Marcin Iwinski03560d72017-12-22 09:54:40 +010094 minion_env_vars.sls: tests/pillar/minion_env_vars.sls
Martin81992294ff2017-02-17 23:52:17 +010095
96 - name: master-default
97 provisioner:
98 pillars:
99 top.sls:
100 base:
101 "*":
102 - common
Petr Michalece07687e2017-02-09 16:09:24 +0100103 - minion_pki
Martin81992294ff2017-02-17 23:52:17 +0100104 - master_api
105 - master_acl
106 - master_ssh_key
107 - master_ssh_password
108 - master_ssh_root
Petr Michalece07687e2017-02-09 16:09:24 +0100109 - minion_pki_cert
Petr Michalec7a2f1d22017-05-17 22:08:32 +0200110 - master_formulas
Matthew Mosesohn2de41e32017-07-14 12:23:17 +0300111 common.sls:
112 salt:
113 master:
114 #Use a useless package to avoid upgrading salt-master
115 pkgs:
116 - python-yaml
Martin81992294ff2017-02-17 23:52:17 +0100117 pillars-from-files:
Petr Michalece07687e2017-02-09 16:09:24 +0100118 minion_pki.sls: tests/pillar/minion_pki_ca.sls
119 minion_pki_cert.sls: tests/pillar/minion_pki_cert.sls
Martin81992294ff2017-02-17 23:52:17 +0100120 master_api.sls: tests/pillar/master_api.sls
121 master_acl.sls: tests/pillar/master_acl.sls
122 master_ssh_key.sls: tests/pillar/master_ssh_minion_key.sls
123 master_ssh_password.sls: tests/pillar/master_ssh_minion_password.sls
124 master_ssh_root.sls: tests/pillar/master_ssh_minion_root.sls
Petr Michalec7a2f1d22017-05-17 22:08:32 +0200125 master_formulas.sls: tests/pillar/master_formulas.sls
Martin81992294ff2017-02-17 23:52:17 +0100126
Martin Polreich4c54f4f2019-01-15 15:14:31 +0100127 # - name: master-extpillar-composite
128 # provisioner:
129 # pillars-from-files:
130 # salt.sls: tests/pillar/master_single_extpillars.sls
Petr Michalec1f541c42017-08-17 13:30:37 +0200131
Martin Polreich4c54f4f2019-01-15 15:14:31 +0100132 # - name: master-extpillar-reclass
133 # provisioner:
134 # pillars-from-files:
135 # salt.sls: tests/pillar/master_single_extreclass.sls
Petr Michalec1f541c42017-08-17 13:30:37 +0200136
Martin Polreich4c54f4f2019-01-15 15:14:31 +0100137 # - name: master-backward-compat
138 # provisioner:
139 # pillars-from-files:
140 # salt.sls: tests/pillar/master_single_extolddays.sls
Petr Michalecdf4e7812017-10-05 14:09:21 +0200141
Martin81992294ff2017-02-17 23:52:17 +0100142 - name: control-default
143 provisioner:
144 grains:
145 noservices: true
146 pillars:
147 top.sls:
148 base:
149 "*":
150 - common
151 - control_cloud_digitalocean
152 - control_cloud_openstack
153 - control_virt
154 pillars-from-files:
155 control_cloud_digitalocean.sls: tests/pillar/control_cloud_digitalocean.sls
156 control_cloud_openstack.sls: tests/pillar/control_cloud_openstack.sls
157 control_virt.sls: tests/pillar/control_virt.sls
Mateusz Los4c7cd2d2018-01-09 11:46:07 +0100158 control_virt_custom.sls: tests/pillar/control_virt_custom.sls
Martin81992294ff2017-02-17 23:52:17 +0100159
160 - name: minion_multi_master_failover
161 provisioner:
162 pillars-from-files:
163 salt.sls: tests/pillar/minion_multi_master_failover.sls
164
165
Martin81992294ff2017-02-17 23:52:17 +0100166 # vim: ft=yaml sw=2 ts=2 sts=2 tw=125