Martin819 | 9c78d94 | 2017-02-21 16:03:34 +0100 | [diff] [blame] | 1 | --- |
| 2 | driver: |
| 3 | name: docker |
| 4 | hostname: reclass.ci.local |
| 5 | use_sudo: false |
| 6 | |
| 7 | provisioner: |
| 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: reclass |
| 15 | grains: |
| 16 | noservices: True |
| 17 | state_top: |
| 18 | base: |
| 19 | "*": |
| 20 | - reclass |
| 21 | pillars: |
| 22 | top.sls: |
| 23 | base: |
| 24 | "*": |
| 25 | - reclass |
| 26 | |
| 27 | verifier: |
| 28 | name: inspec |
| 29 | sudo: true |
| 30 | |
| 31 | |
| 32 | platforms: |
Martin Polreich | 5124ae0 | 2018-02-21 14:33:25 +0100 | [diff] [blame] | 33 | - name: <%=ENV['PLATFORM'] || 'saltstack-ubuntu-xenial-salt-stable' %> |
Martin819 | 9c78d94 | 2017-02-21 16:03:34 +0100 | [diff] [blame] | 34 | driver_config: |
Martin Polreich | bba5167 | 2018-11-20 15:10:36 +0100 | [diff] [blame] | 35 | image: <%=ENV['PLATFORM'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19'%> |
Martin819 | 9c78d94 | 2017-02-21 16:03:34 +0100 | [diff] [blame] | 36 | platform: ubuntu |
Adam Tengler | a2f260a | 2018-07-12 17:35:28 +0000 | [diff] [blame] | 37 | provisioner: |
| 38 | init_environment: | |
| 39 | sudo yum install -y python-netaddr || sudo apt-get install -y python-netaddr || true |
Martin819 | 9c78d94 | 2017-02-21 16:03:34 +0100 | [diff] [blame] | 40 | |
| 41 | suites: |
| 42 | |
| 43 | - name: class_mapping |
| 44 | provisioner: |
| 45 | pillars-from-files: |
| 46 | reclass.sls: tests/pillar/class_mapping.sls |
| 47 | |
| 48 | - name: generate_multi |
| 49 | provisioner: |
| 50 | pillars-from-files: |
| 51 | reclass.sls: tests/pillar/generate_multi.sls |
| 52 | |
| 53 | - name: generate_single |
| 54 | provisioner: |
| 55 | pillars-from-files: |
| 56 | reclass.sls: tests/pillar/generate_single.sls |
| 57 | |
| 58 | - name: storage_local |
| 59 | provisioner: |
| 60 | pillars-from-files: |
| 61 | reclass.sls: tests/pillar/storage_local.sls |
Elena Ezhova | fc76159 | 2017-07-27 11:49:40 +0400 | [diff] [blame] | 62 | |
Petr Ruzicka | b4f7463 | 2017-11-16 15:47:07 +0100 | [diff] [blame] | 63 | - name: storage_git |
| 64 | provisioner: |
| 65 | pillars-from-files: |
| 66 | reclass.sls: tests/pillar/storage_git.sls |
| 67 | |
| 68 | - name: storage_pip |
| 69 | provisioner: |
| 70 | pillars-from-files: |
| 71 | reclass.sls: tests/pillar/storage_pip.sls |
| 72 | |
Elena Ezhova | fc76159 | 2017-07-27 11:49:40 +0400 | [diff] [blame] | 73 | - name: storage_nodes_uri |
| 74 | provisioner: |
| 75 | pillars-from-files: |
| 76 | reclass.sls: tests/pillar/storage_nodes_uri.sls |
| 77 | |
Martin819 | 9c78d94 | 2017-02-21 16:03:34 +0100 | [diff] [blame] | 78 | # vim: ft=yaml sw=2 ts=2 sts=2 tw=125 |