blob: 177281b2cd8a7a672e69acf9d6b2f141f3d14f59 [file] [log] [blame]
Mykyta Karpindb737652018-02-05 11:11:31 +02001---
2driver:
3 name: docker
4 hostname: gnocchi.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: gnocchi
15 grains:
16 noservices: True
17 dependencies:
18 - name: linux
19 repo: git
20 source: https://github.com/salt-formulas/salt-formula-linux
21 - name: apache
22 repo: git
23 source: https://github.com/salt-formulas/salt-formula-apache
24 state_top:
25 base:
26 "*":
27 - linux.system
28 - apache
29 - gnocchi
30 pillars:
31 top.sls:
32 base:
33 "*":
34 - linux_repo_openstack
35 - gnocchi
36 - release
37 - storage
38 pillars-from-files:
39 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%= ENV['OS_VERSION'] || 'pike' %>.sls
40
41verifier:
42 name: inspec
43 sudo: true
44
45platforms:
46 - name: <%= ENV['PLATFORM'] || 'ubuntu-xenial' %>
47 driver_config:
48 image: <%= ENV['PLATFORM'] || 'epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2016.3' %>
49 platform: ubuntu
50
51suites:
52
53 - name: server_cluster
54 provisioner:
55 pillars-from-files:
56 gnocchi.sls: tests/pillar/server_cluster.sls
57 pillars:
58 release.sls:
59 gnocchi:
60 common:
61 version: <%= ENV['GNOCCHI_VERSION'] || '4.0' %>
62 storage.sls:
63 gnocchi:
64 common:
65 storage:
66 driver: <%= ENV['GNOCCHI_STORAGE'] || 'file' %>
67
68 - name: server_single
69 provisioner:
70 pillars-from-files:
71 gnocchi.sls: tests/pillar/server_single.sls
72 pillars:
73 release.sls:
74 gnocchi:
75 common:
76 version: <%= ENV['GNOCCHI_VERSION'] || '4.0' %>
77 storage.sls:
78 gnocchi:
79 common:
80 storage:
81 driver: <%= ENV['GNOCCHI_STORAGE'] || 'file' %>
82
83# vim: ft=yaml sw=2 ts=2 sts=2 tw=125