blob: 24be1161176fb1c23b6cf58f762833fbdbe4b694 [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: |
azvyagintsev01f96992019-05-29 15:18:10 +030027 sudo apt-get install -y python-netaddr python-pip || true
28 sudo pip install git+http://gerrit.mcp.mirantis.com/packaging/sources/reclass@mcp/xenial/extra
Martin8199c78d942017-02-21 16:03:34 +010029
30verifier:
31 name: inspec
32 sudo: true
33
Martin Polreich428d4172019-01-15 15:09:14 +010034docker_images:
Martin Polreich428d4172019-01-15 15:09:14 +010035 - &xenial-20177 <%=ENV['IMAGE_XENIAL_20177'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19'%>
36 - &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 +010037
38platforms:
Martin Polreich428d4172019-01-15 15:09:14 +010039 - name: xenial-2017.7
40 driver_config:
41 image: *xenial-20177
42 platform: ubuntu
43
44 - name: xenial-stable
45 driver_config:
46 image: *xenial-stable
47 platform: ubuntu
Martin8199c78d942017-02-21 16:03:34 +010048
49suites:
Martin8199c78d942017-02-21 16:03:34 +010050 - name: class_mapping
51 provisioner:
52 pillars-from-files:
53 reclass.sls: tests/pillar/class_mapping.sls
54
55 - name: generate_multi
56 provisioner:
57 pillars-from-files:
58 reclass.sls: tests/pillar/generate_multi.sls
59
60 - name: generate_single
61 provisioner:
62 pillars-from-files:
63 reclass.sls: tests/pillar/generate_single.sls
64
65 - name: storage_local
66 provisioner:
67 pillars-from-files:
68 reclass.sls: tests/pillar/storage_local.sls
Elena Ezhovafc761592017-07-27 11:49:40 +040069
Martin Polreich428d4172019-01-15 15:09:14 +010070 # - name: storage_git
71 # provisioner:
72 # pillars-from-files:
73 # reclass.sls: tests/pillar/storage_git.sls
Petr Ruzickab4f74632017-11-16 15:47:07 +010074
Martin Polreich428d4172019-01-15 15:09:14 +010075 # - name: storage_pip
76 # provisioner:
77 # pillars-from-files:
78 # reclass.sls: tests/pillar/storage_pip.sls
Petr Ruzickab4f74632017-11-16 15:47:07 +010079
Elena Ezhovafc761592017-07-27 11:49:40 +040080 - name: storage_nodes_uri
81 provisioner:
82 pillars-from-files:
83 reclass.sls: tests/pillar/storage_nodes_uri.sls
84
Martin8199c78d942017-02-21 16:03:34 +010085# vim: ft=yaml sw=2 ts=2 sts=2 tw=125