blob: 2ff7c427c95e9f1f9dc2aab422ec231d4ecd67f5 [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:
34 - &xenial-20163 <%=ENV['IMAGE_XENIAL_20163'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2016.3/salt:2018_11_19'%>
35 - &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-2016.3
Martin8199c78d942017-02-21 16:03:34 +010040 driver_config:
Martin Polreich428d4172019-01-15 15:09:14 +010041 image: *xenial-20163
Martin8199c78d942017-02-21 16:03:34 +010042 platform: ubuntu
Martin Polreich428d4172019-01-15 15:09:14 +010043
44 - name: xenial-2017.7
45 driver_config:
46 image: *xenial-20177
47 platform: ubuntu
48
49 - name: xenial-stable
50 driver_config:
51 image: *xenial-stable
52 platform: ubuntu
Martin8199c78d942017-02-21 16:03:34 +010053
54suites:
Martin8199c78d942017-02-21 16:03:34 +010055 - name: class_mapping
56 provisioner:
57 pillars-from-files:
58 reclass.sls: tests/pillar/class_mapping.sls
59
60 - name: generate_multi
61 provisioner:
62 pillars-from-files:
63 reclass.sls: tests/pillar/generate_multi.sls
64
65 - name: generate_single
66 provisioner:
67 pillars-from-files:
68 reclass.sls: tests/pillar/generate_single.sls
69
70 - name: storage_local
71 provisioner:
72 pillars-from-files:
73 reclass.sls: tests/pillar/storage_local.sls
Elena Ezhovafc761592017-07-27 11:49:40 +040074
Martin Polreich428d4172019-01-15 15:09:14 +010075 # - name: storage_git
76 # provisioner:
77 # pillars-from-files:
78 # reclass.sls: tests/pillar/storage_git.sls
Petr Ruzickab4f74632017-11-16 15:47:07 +010079
Martin Polreich428d4172019-01-15 15:09:14 +010080 # - name: storage_pip
81 # provisioner:
82 # pillars-from-files:
83 # reclass.sls: tests/pillar/storage_pip.sls
Petr Ruzickab4f74632017-11-16 15:47:07 +010084
Elena Ezhovafc761592017-07-27 11:49:40 +040085 - name: storage_nodes_uri
86 provisioner:
87 pillars-from-files:
88 reclass.sls: tests/pillar/storage_nodes_uri.sls
89
Martin8199c78d942017-02-21 16:03:34 +010090# vim: ft=yaml sw=2 ts=2 sts=2 tw=125