blob: f3fc5b60bc1ee07a11cebe78a92a7d0a8560b089 [file] [log] [blame]
Petr Michalec35277532017-02-28 23:16:58 +01001---
2driver:
3 name: docker
4 hostname: linux.ci.local
Jakub Josef6a872062017-05-11 15:00:52 +02005 use_sudo: false
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:
32 - name: <%=ENV['PLATFORM'] || 'ubuntu-xenial'%>
33 driver_config:
34 image: <%=ENV['PLATFORM'] || 'trevorj/salty-whales:xenial'%>
35 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