blob: 51d6a26f60def6eac6690d6c12b5a4bc8bdb9000 [file] [log] [blame]
Petr Michalec35277532017-02-28 23:16:58 +01001---
2driver:
3 name: docker
azvyagintsevb7c2ef42018-08-16 14:21:39 +03004 hostname: linux-formula
5 run_options: -v /dev/log:/dev/log:ro
Petr Michalec35277532017-02-28 23:16:58 +01006
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: linux
15 grains:
16 noservices: true
17 state_top:
18 base:
19 "*":
20 - linux
21 pillars:
22 top.sls:
23 base:
24 "*":
25 - linux
26
27verifier:
28 name: inspec
29 sudo: true
30
31platforms:
Jakub Josef495245a2018-03-05 15:41:01 +010032 - name: <%=ENV['PLATFORM'] || 'saltstack-ubuntu-xenial-salt-stable' %>
Petr Michalec35277532017-02-28 23:16:58 +010033 driver_config:
Martin Polreich69ce4992018-04-18 15:32:09 +020034 image: <%=ENV['PLATFORM'] || 'epcim/salt:saltstack-ubuntu-xenial-salt-stable'%>
Petr Michalec35277532017-02-28 23:16:58 +010035 platform: ubuntu
36
37
38suites:
39
40 - name: network
41 provisioner:
42 pillars-from-files:
43 linux.sls: tests/pillar/network.sls
44
45 #- name: storage
46 #provisioner:
47 #pillars-from-files:
48 #linux.sls: tests/pillar/storage.sls
49 #init_environment: |
50 #sudo mkdir -p /tmp/node
51 #sudo dd if=/dev/zero of=/tmp/loop_dev0 bs=1024 count=$((30*1024));
52 #sudo dd if=/dev/zero of=/tmp/loop_dev1 bs=1024 count=$((30*1024));
53 #sudo dd if=/dev/zero of=/tmp/loop_dev2 bs=1024 count=$((30*1024));
54 #sudo dd if=/dev/zero of=/tmp/loop_dev3 bs=1024 count=$((30*1024));
55 #sudo dd if=/dev/zero of=/tmp/loop_dev4 bs=1024 count=$((30*1024));
56 #sudo mkfs.ext4 /tmp/loop_dev1
57 #sudo mkswap /tmp/loop_dev2
58 #sudo chown root /tmp/loop_dev*;
59 #sudo chmod 0600 /tmp/loop_dev*;
60
61 - name: system
62 provisioner:
63 pillars-from-files:
64 linux.sls: tests/pillar/system.sls
65
66# vim: ft=yaml sw=2 ts=2 sts=2 tw=125