blob: 1c7b65f7360bad8e867b10fc3eabfae4c1e1268c [file] [log] [blame]
Martin8199c78d942017-02-21 16:03:34 +01001---
2driver:
3 name: docker
4 hostname: reclass.ci.local
5 use_sudo: false
6
7provisioner:
8 name: salt_solo
9 salt_install: bootstrap
10 salt_bootstrap_url: https://bootstrap.saltstack.com
11 salt_version: latest
12 require_chef: false
13 log_level: error
14 formula: reclass
15 grains:
16 noservices: True
17 state_top:
18 base:
19 "*":
20 - reclass
21 pillars:
22 top.sls:
23 base:
24 "*":
25 - reclass
Martin Polreich428d4172019-01-15 15:09:14 +010026 init_environment: |
27 sudo yum install -y python-netaddr || sudo apt-get install -y python-netaddr || true
Martin8199c78d942017-02-21 16:03:34 +010028
29verifier:
30 name: inspec
31 sudo: true
32
Martin Polreich428d4172019-01-15 15:09:14 +010033docker_images:
Martin Polreich428d4172019-01-15 15:09:14 +010034 - &xenial-20177 <%=ENV['IMAGE_XENIAL_20177'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19'%>
35 - &xenial-stable <%=ENV['IMAGE_XENIAL_STABLE'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19'%>
Martin8199c78d942017-02-21 16:03:34 +010036
37platforms:
Martin Polreich428d4172019-01-15 15:09:14 +010038 - name: xenial-2017.7
39 driver_config:
40 image: *xenial-20177
41 platform: ubuntu
42
43 - name: xenial-stable
44 driver_config:
45 image: *xenial-stable
46 platform: ubuntu
Martin8199c78d942017-02-21 16:03:34 +010047
48suites:
Martin8199c78d942017-02-21 16:03:34 +010049 - name: class_mapping
50 provisioner:
51 pillars-from-files:
52 reclass.sls: tests/pillar/class_mapping.sls
53
54 - name: generate_multi
55 provisioner:
56 pillars-from-files:
57 reclass.sls: tests/pillar/generate_multi.sls
58
59 - name: generate_single
60 provisioner:
61 pillars-from-files:
62 reclass.sls: tests/pillar/generate_single.sls
63
64 - name: storage_local
65 provisioner:
66 pillars-from-files:
67 reclass.sls: tests/pillar/storage_local.sls
Elena Ezhovafc761592017-07-27 11:49:40 +040068
Martin Polreich428d4172019-01-15 15:09:14 +010069 # - name: storage_git
70 # provisioner:
71 # pillars-from-files:
72 # reclass.sls: tests/pillar/storage_git.sls
Petr Ruzickab4f74632017-11-16 15:47:07 +010073
Martin Polreich428d4172019-01-15 15:09:14 +010074 # - name: storage_pip
75 # provisioner:
76 # pillars-from-files:
77 # reclass.sls: tests/pillar/storage_pip.sls
Petr Ruzickab4f74632017-11-16 15:47:07 +010078
Elena Ezhovafc761592017-07-27 11:49:40 +040079 - name: storage_nodes_uri
80 provisioner:
81 pillars-from-files:
82 reclass.sls: tests/pillar/storage_nodes_uri.sls
83
Martin8199c78d942017-02-21 16:03:34 +010084# vim: ft=yaml sw=2 ts=2 sts=2 tw=125