Petr Michalec | 3527753 | 2017-02-28 23:16:58 +0100 | [diff] [blame] | 1 | --- |
| 2 | driver: |
| 3 | name: docker |
azvyagintsev | b7c2ef4 | 2018-08-16 14:21:39 +0300 | [diff] [blame] | 4 | hostname: linux-formula |
| 5 | run_options: -v /dev/log:/dev/log:ro |
Martin Polreich | a93061d | 2019-10-14 18:45:40 +0200 | [diff] [blame] | 6 | build_options: --pull |
Petr Michalec | 3527753 | 2017-02-28 23:16:58 +0100 | [diff] [blame] | 7 | |
| 8 | provisioner: |
| 9 | name: salt_solo |
| 10 | salt_install: bootstrap |
| 11 | salt_bootstrap_url: https://bootstrap.saltstack.com |
| 12 | salt_version: latest |
| 13 | require_chef: false |
| 14 | log_level: error |
| 15 | formula: linux |
azvyagintsev | a3a73d0 | 2018-12-06 14:49:58 +0200 | [diff] [blame] | 16 | dependencies: |
| 17 | - name: salt |
| 18 | repo: git |
| 19 | source: http://gerrit.mcp.mirantis.com/salt-formulas/salt |
Martin Polreich | d27d7e5 | 2019-04-10 08:21:45 +0200 | [diff] [blame] | 20 | branch: <%=ENV['GERRIT_BRANCH'] || 'master' %> |
Petr Michalec | 3527753 | 2017-02-28 23:16:58 +0100 | [diff] [blame] | 21 | grains: |
| 22 | noservices: true |
| 23 | state_top: |
| 24 | base: |
| 25 | "*": |
| 26 | - linux |
| 27 | pillars: |
| 28 | top.sls: |
| 29 | base: |
| 30 | "*": |
| 31 | - linux |
| 32 | |
| 33 | verifier: |
| 34 | name: inspec |
| 35 | sudo: true |
| 36 | |
Martin Polreich | cceeb3b | 2019-01-24 14:05:12 +0100 | [diff] [blame] | 37 | docker_images: |
Martin Polreich | a93061d | 2019-10-14 18:45:40 +0200 | [diff] [blame] | 38 | - &xenial-20177 <%=ENV['IMAGE_XENIAL_20177'] || 'docker-dev-local.docker.mirantis.net/mirantis/drivetrain/salt-formulas-ci/salt-formulas-ci-xenial-2017.7:latest'%> |
Martin Polreich | cceeb3b | 2019-01-24 14:05:12 +0100 | [diff] [blame] | 39 | |
Petr Michalec | 3527753 | 2017-02-28 23:16:58 +0100 | [diff] [blame] | 40 | platforms: |
Martin Polreich | cceeb3b | 2019-01-24 14:05:12 +0100 | [diff] [blame] | 41 | - name: xenial-2017.7 |
| 42 | driver_config: |
| 43 | image: *xenial-20177 |
| 44 | platform: ubuntu |
| 45 | |
Petr Michalec | 3527753 | 2017-02-28 23:16:58 +0100 | [diff] [blame] | 46 | suites: |
Petr Michalec | 3527753 | 2017-02-28 23:16:58 +0100 | [diff] [blame] | 47 | - name: network |
| 48 | provisioner: |
| 49 | pillars-from-files: |
| 50 | linux.sls: tests/pillar/network.sls |
| 51 | |
| 52 | #- name: storage |
| 53 | #provisioner: |
| 54 | #pillars-from-files: |
| 55 | #linux.sls: tests/pillar/storage.sls |
| 56 | #init_environment: | |
| 57 | #sudo mkdir -p /tmp/node |
| 58 | #sudo dd if=/dev/zero of=/tmp/loop_dev0 bs=1024 count=$((30*1024)); |
| 59 | #sudo dd if=/dev/zero of=/tmp/loop_dev1 bs=1024 count=$((30*1024)); |
| 60 | #sudo dd if=/dev/zero of=/tmp/loop_dev2 bs=1024 count=$((30*1024)); |
| 61 | #sudo dd if=/dev/zero of=/tmp/loop_dev3 bs=1024 count=$((30*1024)); |
| 62 | #sudo dd if=/dev/zero of=/tmp/loop_dev4 bs=1024 count=$((30*1024)); |
| 63 | #sudo mkfs.ext4 /tmp/loop_dev1 |
| 64 | #sudo mkswap /tmp/loop_dev2 |
| 65 | #sudo chown root /tmp/loop_dev*; |
| 66 | #sudo chmod 0600 /tmp/loop_dev*; |
| 67 | |
| 68 | - name: system |
| 69 | provisioner: |
| 70 | pillars-from-files: |
| 71 | linux.sls: tests/pillar/system.sls |
| 72 | |
Gleb Galkin | 93b9ae9 | 2018-10-18 13:57:30 +0300 | [diff] [blame] | 73 | - name: duo |
| 74 | provisioner: |
| 75 | pillars-from-files: |
| 76 | linux.sls: tests/pillar/system_duo.sls |
| 77 | |
Petr Michalec | 3527753 | 2017-02-28 23:16:58 +0100 | [diff] [blame] | 78 | # vim: ft=yaml sw=2 ts=2 sts=2 tw=125 |