blob: 9901242ac68b1fb5217980cbb45fedcbece30555 [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:
36 - &xenial-20163 <%=ENV['IMAGE_XENIAL_20163'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2016.3/salt:2018_11_19'%>
37 - &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-2016.3
Petr Michalec35277532017-02-28 23:16:58 +010042 driver_config:
Martin Polreichcceeb3b2019-01-24 14:05:12 +010043 image: *xenial-20163
Petr Michalec35277532017-02-28 23:16:58 +010044 platform: ubuntu
45
Martin Polreichcceeb3b2019-01-24 14:05:12 +010046 - name: xenial-2017.7
47 driver_config:
48 image: *xenial-20177
49 platform: ubuntu
50
51 - name: xenial-stable
52 driver_config:
53 image: *xenial-stable
54 platform: ubuntu
Petr Michalec35277532017-02-28 23:16:58 +010055
56suites:
Petr Michalec35277532017-02-28 23:16:58 +010057 - name: network
58 provisioner:
59 pillars-from-files:
60 linux.sls: tests/pillar/network.sls
61
62 #- name: storage
63 #provisioner:
64 #pillars-from-files:
65 #linux.sls: tests/pillar/storage.sls
66 #init_environment: |
67 #sudo mkdir -p /tmp/node
68 #sudo dd if=/dev/zero of=/tmp/loop_dev0 bs=1024 count=$((30*1024));
69 #sudo dd if=/dev/zero of=/tmp/loop_dev1 bs=1024 count=$((30*1024));
70 #sudo dd if=/dev/zero of=/tmp/loop_dev2 bs=1024 count=$((30*1024));
71 #sudo dd if=/dev/zero of=/tmp/loop_dev3 bs=1024 count=$((30*1024));
72 #sudo dd if=/dev/zero of=/tmp/loop_dev4 bs=1024 count=$((30*1024));
73 #sudo mkfs.ext4 /tmp/loop_dev1
74 #sudo mkswap /tmp/loop_dev2
75 #sudo chown root /tmp/loop_dev*;
76 #sudo chmod 0600 /tmp/loop_dev*;
77
78 - name: system
79 provisioner:
80 pillars-from-files:
81 linux.sls: tests/pillar/system.sls
82
Gleb Galkin93b9ae92018-10-18 13:57:30 +030083 - name: duo
84 provisioner:
85 pillars-from-files:
86 linux.sls: tests/pillar/system_duo.sls
87
Petr Michalec35277532017-02-28 23:16:58 +010088# vim: ft=yaml sw=2 ts=2 sts=2 tw=125