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 |
Martin Polreich | 4c54f4f | 2019-01-15 15:14:31 +0100 | [diff] [blame] | 11 | 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 |
Martin Polreich | 4c54f4f | 2019-01-15 15:14:31 +0100 | [diff] [blame] | 52 | source: https://gerrit.mcp.mirantis.com/salt-formulas/git |
Martin Polreich | 555f0e9 | 2019-04-10 08:21:46 +0200 | [diff] [blame] | 53 | branch: <%=ENV['GERRIT_BRANCH'] || 'master' %> |
Martin819 | 92294ff | 2017-02-17 23:52:17 +0100 | [diff] [blame] | 54 | - name: reclass |
| 55 | repo: git |
Martin Polreich | 4c54f4f | 2019-01-15 15:14:31 +0100 | [diff] [blame] | 56 | source: https://gerrit.mcp.mirantis.com/salt-formulas/reclass |
Martin Polreich | 555f0e9 | 2019-04-10 08:21:46 +0200 | [diff] [blame] | 57 | branch: <%=ENV['GERRIT_BRANCH'] || 'master' %> |
Dzmitry Stremkouski | 1ce1b35 | 2019-11-02 10:47:14 +0100 | [diff] [blame^] | 58 | - name: backupninja |
| 59 | repo: git |
| 60 | source: https://gerrit.mcp.mirantis.com/salt-formulas/backupninja |
| 61 | branch: <%=ENV['GERRIT_BRANCH'] || 'master' %> |
| 62 | - name: logrotate |
| 63 | repo: git |
| 64 | source: https://gerrit.mcp.mirantis.com/salt-formulas/logrotate |
| 65 | branch: <%=ENV['GERRIT_BRANCH'] || 'master' %> |
| 66 | - name: sphinx |
| 67 | repo: git |
| 68 | source: https://gerrit.mcp.mirantis.com/salt-formulas/sphinx |
| 69 | branch: <%=ENV['GERRIT_BRANCH'] || 'master' %> |
| 70 | - name: sensu |
| 71 | repo: git |
| 72 | source: https://gerrit.mcp.mirantis.com/salt-formulas/sensu |
| 73 | branch: <%=ENV['GERRIT_BRANCH'] || 'master' %> |
| 74 | - name: prometheus |
| 75 | repo: git |
| 76 | source: https://gerrit.mcp.mirantis.com/salt-formulas/prometheus |
| 77 | branch: <%=ENV['GERRIT_BRANCH'] || 'master' %> |
| 78 | - name: telegraph |
| 79 | repo: git |
| 80 | source: https://gerrit.mcp.mirantis.com/salt-formulas/telegraph |
| 81 | branch: <%=ENV['GERRIT_BRANCH'] || 'master' %> |
Martin819 | 92294ff | 2017-02-17 23:52:17 +0100 | [diff] [blame] | 82 | |
| 83 | verifier: |
| 84 | name: inspec |
| 85 | sudo: true |
| 86 | |
Martin Polreich | 4c54f4f | 2019-01-15 15:14:31 +0100 | [diff] [blame] | 87 | docker_images: |
Martin Polreich | 7fedd8d | 2019-10-15 14:43:16 +0200 | [diff] [blame] | 88 | - &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 | 4c54f4f | 2019-01-15 15:14:31 +0100 | [diff] [blame] | 89 | |
Martin819 | 92294ff | 2017-02-17 23:52:17 +0100 | [diff] [blame] | 90 | platforms: |
Martin Polreich | 4c54f4f | 2019-01-15 15:14:31 +0100 | [diff] [blame] | 91 | - name: xenial-2017.7 |
| 92 | driver_config: |
| 93 | image: *xenial-20177 |
| 94 | platform: ubuntu |
| 95 | |
Martin819 | 92294ff | 2017-02-17 23:52:17 +0100 | [diff] [blame] | 96 | suites: |
Martin819 | 92294ff | 2017-02-17 23:52:17 +0100 | [diff] [blame] | 97 | - name: minion-default |
| 98 | provisioner: |
| 99 | pillars: |
| 100 | top.sls: |
| 101 | base: |
| 102 | "*": |
| 103 | - common |
| 104 | - minion_pki |
| 105 | - minion_mine |
| 106 | - minion_graph |
| 107 | - minion_handler |
| 108 | - minion_local_pillar |
| 109 | - minion_local_reclass |
| 110 | pillars-from-files: |
| 111 | minion_pki.sls: tests/pillar/minion_pki_ca.sls |
| 112 | minion_mine.sls: tests/pillar/minion_mine.sls |
| 113 | minion_graph.sls: tests/pillar/minion_graph.sls |
| 114 | minion_handler.sls: tests/pillar/minion_custom_handler.sls |
| 115 | minion_local_pillar.sls: tests/pillar/minion_local_pillar.sls |
| 116 | minion_local_reclass.sls: tests/pillar/minion_local_reclass.sls |
Sam Stoelinga | bb4c04b | 2017-06-26 15:47:19 -0700 | [diff] [blame] | 117 | minion_backend_urllib.sls: tests/pillar/minion_backend_urllib.sls |
Marcin Iwinski | 03560d7 | 2017-12-22 09:54:40 +0100 | [diff] [blame] | 118 | minion_env_vars.sls: tests/pillar/minion_env_vars.sls |
Martin819 | 92294ff | 2017-02-17 23:52:17 +0100 | [diff] [blame] | 119 | |
| 120 | - name: master-default |
| 121 | provisioner: |
| 122 | pillars: |
| 123 | top.sls: |
| 124 | base: |
| 125 | "*": |
| 126 | - common |
Petr Michalec | e07687e | 2017-02-09 16:09:24 +0100 | [diff] [blame] | 127 | - minion_pki |
Martin819 | 92294ff | 2017-02-17 23:52:17 +0100 | [diff] [blame] | 128 | - master_api |
| 129 | - master_acl |
| 130 | - master_ssh_key |
| 131 | - master_ssh_password |
| 132 | - master_ssh_root |
Petr Michalec | e07687e | 2017-02-09 16:09:24 +0100 | [diff] [blame] | 133 | - minion_pki_cert |
Petr Michalec | 7a2f1d2 | 2017-05-17 22:08:32 +0200 | [diff] [blame] | 134 | - master_formulas |
Matthew Mosesohn | 2de41e3 | 2017-07-14 12:23:17 +0300 | [diff] [blame] | 135 | common.sls: |
| 136 | salt: |
| 137 | master: |
| 138 | #Use a useless package to avoid upgrading salt-master |
| 139 | pkgs: |
| 140 | - python-yaml |
Martin819 | 92294ff | 2017-02-17 23:52:17 +0100 | [diff] [blame] | 141 | pillars-from-files: |
Petr Michalec | e07687e | 2017-02-09 16:09:24 +0100 | [diff] [blame] | 142 | minion_pki.sls: tests/pillar/minion_pki_ca.sls |
| 143 | minion_pki_cert.sls: tests/pillar/minion_pki_cert.sls |
Martin819 | 92294ff | 2017-02-17 23:52:17 +0100 | [diff] [blame] | 144 | master_api.sls: tests/pillar/master_api.sls |
| 145 | master_acl.sls: tests/pillar/master_acl.sls |
| 146 | master_ssh_key.sls: tests/pillar/master_ssh_minion_key.sls |
| 147 | master_ssh_password.sls: tests/pillar/master_ssh_minion_password.sls |
| 148 | master_ssh_root.sls: tests/pillar/master_ssh_minion_root.sls |
Petr Michalec | 7a2f1d2 | 2017-05-17 22:08:32 +0200 | [diff] [blame] | 149 | master_formulas.sls: tests/pillar/master_formulas.sls |
Martin819 | 92294ff | 2017-02-17 23:52:17 +0100 | [diff] [blame] | 150 | |
Martin Polreich | 4c54f4f | 2019-01-15 15:14:31 +0100 | [diff] [blame] | 151 | # - name: master-extpillar-composite |
| 152 | # provisioner: |
| 153 | # pillars-from-files: |
| 154 | # salt.sls: tests/pillar/master_single_extpillars.sls |
Petr Michalec | 1f541c4 | 2017-08-17 13:30:37 +0200 | [diff] [blame] | 155 | |
Martin Polreich | 4c54f4f | 2019-01-15 15:14:31 +0100 | [diff] [blame] | 156 | # - name: master-extpillar-reclass |
| 157 | # provisioner: |
| 158 | # pillars-from-files: |
| 159 | # salt.sls: tests/pillar/master_single_extreclass.sls |
Petr Michalec | 1f541c4 | 2017-08-17 13:30:37 +0200 | [diff] [blame] | 160 | |
Martin Polreich | 4c54f4f | 2019-01-15 15:14:31 +0100 | [diff] [blame] | 161 | # - name: master-backward-compat |
| 162 | # provisioner: |
| 163 | # pillars-from-files: |
| 164 | # salt.sls: tests/pillar/master_single_extolddays.sls |
Petr Michalec | df4e781 | 2017-10-05 14:09:21 +0200 | [diff] [blame] | 165 | |
Martin819 | 92294ff | 2017-02-17 23:52:17 +0100 | [diff] [blame] | 166 | - name: control-default |
| 167 | provisioner: |
| 168 | grains: |
| 169 | noservices: true |
| 170 | pillars: |
| 171 | top.sls: |
| 172 | base: |
| 173 | "*": |
| 174 | - common |
| 175 | - control_cloud_digitalocean |
| 176 | - control_cloud_openstack |
| 177 | - control_virt |
| 178 | pillars-from-files: |
| 179 | control_cloud_digitalocean.sls: tests/pillar/control_cloud_digitalocean.sls |
| 180 | control_cloud_openstack.sls: tests/pillar/control_cloud_openstack.sls |
| 181 | control_virt.sls: tests/pillar/control_virt.sls |
Mateusz Los | 4c7cd2d | 2018-01-09 11:46:07 +0100 | [diff] [blame] | 182 | control_virt_custom.sls: tests/pillar/control_virt_custom.sls |
Martin819 | 92294ff | 2017-02-17 23:52:17 +0100 | [diff] [blame] | 183 | |
| 184 | - name: minion_multi_master_failover |
| 185 | provisioner: |
| 186 | pillars-from-files: |
| 187 | salt.sls: tests/pillar/minion_multi_master_failover.sls |
| 188 | |
| 189 | |
Martin819 | 92294ff | 2017-02-17 23:52:17 +0100 | [diff] [blame] | 190 | # vim: ft=yaml sw=2 ts=2 sts=2 tw=125 |