Martin819 | 92294ff | 2017-02-17 23:52:17 +0100 | [diff] [blame] | 1 | --- |
| 2 | driver: |
| 3 | name: docker |
| 4 | hostname: salt.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 |
Oleh Hryhorov | 7c5dfd3 | 2018-01-19 15:43:44 +0200 | [diff] [blame] | 11 | salt_version: <%=ENV['SALT_VERSION'] || 'latest'%> |
Petr Michalec | e07687e | 2017-02-09 16:09:24 +0100 | [diff] [blame] | 12 | salt_minion_id: salt.ci.local |
Martin819 | 92294ff | 2017-02-17 23:52:17 +0100 | [diff] [blame] | 13 | require_chef: false |
| 14 | log_level: error |
| 15 | formula: salt |
| 16 | grains: |
| 17 | noservices: true |
Petr Michalec | 7a2f1d2 | 2017-05-17 22:08:32 +0200 | [diff] [blame] | 18 | vendor_repo: |
| 19 | - type: apt |
Martin Polreich | 8ecddf0 | 2018-02-16 11:25:17 +0100 | [diff] [blame^] | 20 | url: http://apt.mirantis.com/xenial |
| 21 | key_url: http://apt.mirantis.com/public.gpg |
Petr Michalec | 7a2f1d2 | 2017-05-17 22:08:32 +0200 | [diff] [blame] | 22 | components: salt |
Martin Polreich | 8ecddf0 | 2018-02-16 11:25:17 +0100 | [diff] [blame^] | 23 | distribution: nightly |
Martin819 | 92294ff | 2017-02-17 23:52:17 +0100 | [diff] [blame] | 24 | state_top: |
| 25 | base: |
| 26 | "*": |
| 27 | - salt |
| 28 | pillars: |
| 29 | top.sls: |
| 30 | base: |
| 31 | "*": |
| 32 | - salt |
| 33 | - common |
| 34 | common.sls: |
| 35 | salt: |
| 36 | minion: |
| 37 | enabled: true |
| 38 | master: |
| 39 | host: localhost |
Matthew Mosesohn | 2de41e3 | 2017-07-14 12:23:17 +0300 | [diff] [blame] | 40 | pkgs: |
| 41 | - python-m2crypto |
| 42 | - python-psutil |
| 43 | - python-yaml |
Martin819 | 92294ff | 2017-02-17 23:52:17 +0100 | [diff] [blame] | 44 | linux: |
| 45 | system: |
| 46 | enabled: true |
| 47 | name: salt |
| 48 | domain: ci.local |
| 49 | dependencies: |
| 50 | - name: git |
| 51 | repo: git |
| 52 | source: https://github.com/salt-formulas/salt-formula-git.git |
| 53 | - name: reclass |
| 54 | repo: git |
| 55 | source: https://github.com/salt-formulas/salt-formula-reclass.git |
| 56 | |
| 57 | verifier: |
| 58 | name: inspec |
| 59 | sudo: true |
| 60 | |
| 61 | platforms: |
Martin Polreich | 8ecddf0 | 2018-02-16 11:25:17 +0100 | [diff] [blame^] | 62 | - name: <%=ENV['PLATFORM'] || 'saltstack-ubuntu-xenial-salt-stable' %> |
Martin819 | 92294ff | 2017-02-17 23:52:17 +0100 | [diff] [blame] | 63 | driver_config: |
Martin Polreich | 8ecddf0 | 2018-02-16 11:25:17 +0100 | [diff] [blame^] | 64 | image: <%=ENV['PLATFORM'] || 'epcim/salt-formulas:saltstack-ubuntu-xenial-salt-stable'%> |
Martin819 | 92294ff | 2017-02-17 23:52:17 +0100 | [diff] [blame] | 65 | platform: ubuntu |
| 66 | |
Martin819 | 92294ff | 2017-02-17 23:52:17 +0100 | [diff] [blame] | 67 | suites: |
Martin819 | 92294ff | 2017-02-17 23:52:17 +0100 | [diff] [blame] | 68 | - name: minion-default |
| 69 | provisioner: |
| 70 | pillars: |
| 71 | top.sls: |
| 72 | base: |
| 73 | "*": |
| 74 | - common |
| 75 | - minion_pki |
| 76 | - minion_mine |
| 77 | - minion_graph |
| 78 | - minion_handler |
| 79 | - minion_local_pillar |
| 80 | - minion_local_reclass |
| 81 | pillars-from-files: |
| 82 | minion_pki.sls: tests/pillar/minion_pki_ca.sls |
| 83 | minion_mine.sls: tests/pillar/minion_mine.sls |
| 84 | minion_graph.sls: tests/pillar/minion_graph.sls |
| 85 | minion_handler.sls: tests/pillar/minion_custom_handler.sls |
| 86 | minion_local_pillar.sls: tests/pillar/minion_local_pillar.sls |
| 87 | minion_local_reclass.sls: tests/pillar/minion_local_reclass.sls |
Sam Stoelinga | bb4c04b | 2017-06-26 15:47:19 -0700 | [diff] [blame] | 88 | minion_backend_urllib.sls: tests/pillar/minion_backend_urllib.sls |
Marcin Iwinski | 03560d7 | 2017-12-22 09:54:40 +0100 | [diff] [blame] | 89 | minion_env_vars.sls: tests/pillar/minion_env_vars.sls |
Martin819 | 92294ff | 2017-02-17 23:52:17 +0100 | [diff] [blame] | 90 | |
| 91 | - name: master-default |
| 92 | provisioner: |
| 93 | pillars: |
| 94 | top.sls: |
| 95 | base: |
| 96 | "*": |
| 97 | - common |
Petr Michalec | e07687e | 2017-02-09 16:09:24 +0100 | [diff] [blame] | 98 | - minion_pki |
Martin819 | 92294ff | 2017-02-17 23:52:17 +0100 | [diff] [blame] | 99 | - master_api |
| 100 | - master_acl |
| 101 | - master_ssh_key |
| 102 | - master_ssh_password |
| 103 | - master_ssh_root |
Petr Michalec | e07687e | 2017-02-09 16:09:24 +0100 | [diff] [blame] | 104 | - minion_pki_cert |
Petr Michalec | 7a2f1d2 | 2017-05-17 22:08:32 +0200 | [diff] [blame] | 105 | - master_formulas |
Matthew Mosesohn | 2de41e3 | 2017-07-14 12:23:17 +0300 | [diff] [blame] | 106 | common.sls: |
| 107 | salt: |
| 108 | master: |
| 109 | #Use a useless package to avoid upgrading salt-master |
| 110 | pkgs: |
| 111 | - python-yaml |
Martin819 | 92294ff | 2017-02-17 23:52:17 +0100 | [diff] [blame] | 112 | pillars-from-files: |
Petr Michalec | e07687e | 2017-02-09 16:09:24 +0100 | [diff] [blame] | 113 | minion_pki.sls: tests/pillar/minion_pki_ca.sls |
| 114 | minion_pki_cert.sls: tests/pillar/minion_pki_cert.sls |
Martin819 | 92294ff | 2017-02-17 23:52:17 +0100 | [diff] [blame] | 115 | master_api.sls: tests/pillar/master_api.sls |
| 116 | master_acl.sls: tests/pillar/master_acl.sls |
| 117 | master_ssh_key.sls: tests/pillar/master_ssh_minion_key.sls |
| 118 | master_ssh_password.sls: tests/pillar/master_ssh_minion_password.sls |
| 119 | master_ssh_root.sls: tests/pillar/master_ssh_minion_root.sls |
Petr Michalec | 7a2f1d2 | 2017-05-17 22:08:32 +0200 | [diff] [blame] | 120 | master_formulas.sls: tests/pillar/master_formulas.sls |
Martin819 | 92294ff | 2017-02-17 23:52:17 +0100 | [diff] [blame] | 121 | |
Petr Michalec | 1f541c4 | 2017-08-17 13:30:37 +0200 | [diff] [blame] | 122 | - name: master-extpillar-composite |
| 123 | provisioner: |
| 124 | pillars-from-files: |
| 125 | salt.sls: tests/pillar/master_single_extpillars.sls |
| 126 | |
| 127 | - name: master-extpillar-reclass |
| 128 | provisioner: |
| 129 | pillars-from-files: |
| 130 | salt.sls: tests/pillar/master_single_extreclass.sls |
| 131 | |
Petr Michalec | df4e781 | 2017-10-05 14:09:21 +0200 | [diff] [blame] | 132 | - name: master-backward-compat |
| 133 | provisioner: |
| 134 | pillars-from-files: |
| 135 | salt.sls: tests/pillar/master_single_extolddays.sls |
| 136 | |
Martin819 | 92294ff | 2017-02-17 23:52:17 +0100 | [diff] [blame] | 137 | - name: control-default |
| 138 | provisioner: |
| 139 | grains: |
| 140 | noservices: true |
| 141 | pillars: |
| 142 | top.sls: |
| 143 | base: |
| 144 | "*": |
| 145 | - common |
| 146 | - control_cloud_digitalocean |
| 147 | - control_cloud_openstack |
| 148 | - control_virt |
| 149 | pillars-from-files: |
| 150 | control_cloud_digitalocean.sls: tests/pillar/control_cloud_digitalocean.sls |
| 151 | control_cloud_openstack.sls: tests/pillar/control_cloud_openstack.sls |
| 152 | control_virt.sls: tests/pillar/control_virt.sls |
Mateusz Los | 4c7cd2d | 2018-01-09 11:46:07 +0100 | [diff] [blame] | 153 | control_virt_custom.sls: tests/pillar/control_virt_custom.sls |
Martin819 | 92294ff | 2017-02-17 23:52:17 +0100 | [diff] [blame] | 154 | |
| 155 | - name: minion_multi_master_failover |
| 156 | provisioner: |
| 157 | pillars-from-files: |
| 158 | salt.sls: tests/pillar/minion_multi_master_failover.sls |
| 159 | |
| 160 | |
Martin819 | 92294ff | 2017-02-17 23:52:17 +0100 | [diff] [blame] | 161 | # vim: ft=yaml sw=2 ts=2 sts=2 tw=125 |