blob: eeaf317f6b0138e2b4490912a8ff2be9e7160188 [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
azvyagintseva3a73d02018-12-06 14:49:58 +020015 dependencies:
16 - name: salt
17 repo: git
18 source: http://gerrit.mcp.mirantis.com/salt-formulas/salt
Petr Michalec35277532017-02-28 23:16:58 +010019 grains:
20 noservices: true
21 state_top:
22 base:
23 "*":
24 - linux
25 pillars:
26 top.sls:
27 base:
28 "*":
29 - linux
30
31verifier:
32 name: inspec
33 sudo: true
34
Martin Polreichcceeb3b2019-01-24 14:05:12 +010035docker_images:
Martin Polreichcceeb3b2019-01-24 14:05:12 +010036 - &xenial-20177 <%=ENV['IMAGE_XENIAL_20177'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19'%>
37 - &xenial-stable <%=ENV['IMAGE_XENIAL_STABLE'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19'%>
38
Petr Michalec35277532017-02-28 23:16:58 +010039platforms:
Martin Polreichcceeb3b2019-01-24 14:05:12 +010040 - name: xenial-2017.7
41 driver_config:
42 image: *xenial-20177
43 platform: ubuntu
44
45 - name: xenial-stable
46 driver_config:
47 image: *xenial-stable
48 platform: ubuntu
Petr Michalec35277532017-02-28 23:16:58 +010049
50suites:
Petr Michalec35277532017-02-28 23:16:58 +010051 - name: network
52 provisioner:
53 pillars-from-files:
54 linux.sls: tests/pillar/network.sls
55
56 #- name: storage
57 #provisioner:
58 #pillars-from-files:
59 #linux.sls: tests/pillar/storage.sls
60 #init_environment: |
61 #sudo mkdir -p /tmp/node
62 #sudo dd if=/dev/zero of=/tmp/loop_dev0 bs=1024 count=$((30*1024));
63 #sudo dd if=/dev/zero of=/tmp/loop_dev1 bs=1024 count=$((30*1024));
64 #sudo dd if=/dev/zero of=/tmp/loop_dev2 bs=1024 count=$((30*1024));
65 #sudo dd if=/dev/zero of=/tmp/loop_dev3 bs=1024 count=$((30*1024));
66 #sudo dd if=/dev/zero of=/tmp/loop_dev4 bs=1024 count=$((30*1024));
67 #sudo mkfs.ext4 /tmp/loop_dev1
68 #sudo mkswap /tmp/loop_dev2
69 #sudo chown root /tmp/loop_dev*;
70 #sudo chmod 0600 /tmp/loop_dev*;
71
72 - name: system
73 provisioner:
74 pillars-from-files:
75 linux.sls: tests/pillar/system.sls
76
Gleb Galkin93b9ae92018-10-18 13:57:30 +030077 - name: duo
78 provisioner:
79 pillars-from-files:
80 linux.sls: tests/pillar/system_duo.sls
81
Petr Michalec35277532017-02-28 23:16:58 +010082# vim: ft=yaml sw=2 ts=2 sts=2 tw=125