blob: 1f25671b7342ad4acdadbaf4d58a28669f624880 [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
Martin Polreichd27d7e52019-04-10 08:21:45 +020019 branch: <%=ENV['GERRIT_BRANCH'] || 'master' %>
Petr Michalec35277532017-02-28 23:16:58 +010020 grains:
21 noservices: true
22 state_top:
23 base:
24 "*":
25 - linux
26 pillars:
27 top.sls:
28 base:
29 "*":
30 - linux
31
32verifier:
33 name: inspec
34 sudo: true
35
Martin Polreichcceeb3b2019-01-24 14:05:12 +010036docker_images:
Martin Polreichcceeb3b2019-01-24 14:05:12 +010037 - &xenial-20177 <%=ENV['IMAGE_XENIAL_20177'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19'%>
38 - &xenial-stable <%=ENV['IMAGE_XENIAL_STABLE'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19'%>
39
Petr Michalec35277532017-02-28 23:16:58 +010040platforms:
Martin Polreichcceeb3b2019-01-24 14:05:12 +010041 - name: xenial-2017.7
42 driver_config:
43 image: *xenial-20177
44 platform: ubuntu
45
46 - name: xenial-stable
47 driver_config:
48 image: *xenial-stable
49 platform: ubuntu
Petr Michalec35277532017-02-28 23:16:58 +010050
51suites:
Petr Michalec35277532017-02-28 23:16:58 +010052 - name: network
53 provisioner:
54 pillars-from-files:
55 linux.sls: tests/pillar/network.sls
56
57 #- name: storage
58 #provisioner:
59 #pillars-from-files:
60 #linux.sls: tests/pillar/storage.sls
61 #init_environment: |
62 #sudo mkdir -p /tmp/node
63 #sudo dd if=/dev/zero of=/tmp/loop_dev0 bs=1024 count=$((30*1024));
64 #sudo dd if=/dev/zero of=/tmp/loop_dev1 bs=1024 count=$((30*1024));
65 #sudo dd if=/dev/zero of=/tmp/loop_dev2 bs=1024 count=$((30*1024));
66 #sudo dd if=/dev/zero of=/tmp/loop_dev3 bs=1024 count=$((30*1024));
67 #sudo dd if=/dev/zero of=/tmp/loop_dev4 bs=1024 count=$((30*1024));
68 #sudo mkfs.ext4 /tmp/loop_dev1
69 #sudo mkswap /tmp/loop_dev2
70 #sudo chown root /tmp/loop_dev*;
71 #sudo chmod 0600 /tmp/loop_dev*;
72
73 - name: system
74 provisioner:
75 pillars-from-files:
76 linux.sls: tests/pillar/system.sls
77
Gleb Galkin93b9ae92018-10-18 13:57:30 +030078 - name: duo
79 provisioner:
80 pillars-from-files:
81 linux.sls: tests/pillar/system_duo.sls
82
Petr Michalec35277532017-02-28 23:16:58 +010083# vim: ft=yaml sw=2 ts=2 sts=2 tw=125