Saltstack Official Salt Formula
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

235 lines
6.5KB

  1. # -*- coding: utf-8 -*-
  2. # vim: ft=yaml
  3. ---
  4. # For help on this file's format, see https://kitchen.ci/
  5. driver:
  6. name: docker
  7. use_sudo: false
  8. privileged: true
  9. run_command: /lib/systemd/systemd
  10. # Make sure the platforms listed below match up with
  11. # the `env.matrix` instances defined in `.travis.yml`
  12. platforms:
  13. ## SALT `2017.7`
  14. - name: debian-8-2017-7-py2
  15. driver:
  16. image: netmanagers/salt-2017.7-py2:debian-8
  17. - name: ubuntu-1604-2017-7-py2
  18. driver:
  19. image: netmanagers/salt-2017.7-py2:ubuntu-16.04
  20. - name: centos-6-2017-7-py2
  21. driver:
  22. image: netmanagers/salt-2017.7-py2:centos-6
  23. run_command: /sbin/init
  24. - name: amazonlinux-2-2017-7-py2
  25. driver:
  26. image: netmanagers/salt-2017.7-py2:amazonlinux-2
  27. - name: arch-base-latest-2017-7-py2
  28. driver:
  29. image: netmanagers/salt-2017.7-py2:arch-base-latest
  30. run_command: /usr/lib/systemd/systemd
  31. ## SALT `2018.3`
  32. - name: debian-9-2018-3-py2
  33. driver:
  34. image: netmanagers/salt-2018.3-py2:debian-9
  35. - name: ubuntu-1604-2018-3-py2
  36. driver:
  37. image: netmanagers/salt-2018.3-py2:ubuntu-16.04
  38. - name: centos-7-2018-3-py2
  39. driver:
  40. image: netmanagers/salt-2018.3-py2:centos-7
  41. - name: amazonlinux-2-2018-3-py2
  42. driver:
  43. image: netmanagers/salt-2018.3-py2:amazonlinux-2
  44. - name: arch-base-latest-2018-3-py2
  45. driver:
  46. image: netmanagers/salt-2018.3-py2:arch-base-latest
  47. run_command: /usr/lib/systemd/systemd
  48. ## SALT `2019.2`
  49. - name: debian-9-2019-2-py2
  50. driver:
  51. image: netmanagers/salt-2019.2-py2:debian-9
  52. - name: ubuntu-1804-2019-2-py2
  53. driver:
  54. image: netmanagers/salt-2019.2-py2:ubuntu-18.04
  55. - name: centos-7-2019-2-py2
  56. driver:
  57. image: netmanagers/salt-2019.2-py2:centos-7
  58. - name: opensuse-leap-15-2019-2-py2
  59. driver:
  60. image: opensuse/leap:15
  61. provision_command:
  62. # yamllint disable-line rule:line-length
  63. - zypper install -y glibc-locale net-tools net-tools-deprecated python-xml python2-pip
  64. - systemctl enable sshd.service
  65. run_command: /usr/lib/systemd/systemd
  66. provisioner:
  67. salt_bootstrap_options: -XdPfrq -x python2 git 2019.2
  68. salt_install: bootstrap
  69. # Workaround to avoid intermittent failures on `opensuse-leap-15`:
  70. # => SCP did not finish successfully (255): (Net::SCP::Error)
  71. transport:
  72. max_ssh_sessions: 1
  73. - name: amazonlinux-2-2019-2-py2
  74. driver:
  75. image: netmanagers/salt-2019.2-py2:amazonlinux-2
  76. - name: arch-base-latest-2019-2-py2
  77. driver:
  78. image: netmanagers/salt-2019.2-py2:arch-base-latest
  79. run_command: /usr/lib/systemd/systemd
  80. - name: debian-9-2019-2-py3
  81. driver:
  82. image: netmanagers/salt-2019.2-py3:debian-9
  83. - name: ubuntu-1804-2019-2-py3
  84. driver:
  85. image: netmanagers/salt-2019.2-py3:ubuntu-18.04
  86. - name: centos-7-2019-2-py3
  87. driver:
  88. image: netmanagers/salt-2019.2-py3:centos-7
  89. - name: fedora-30-2019-2-py3
  90. driver:
  91. image: netmanagers/salt-2019.2-py3:fedora-30
  92. - name: opensuse-leap-15-2019-2-py3
  93. driver:
  94. image: opensuse/leap:15
  95. provision_command:
  96. # yamllint disable-line rule:line-length
  97. - zypper install -y glibc-locale net-tools net-tools-deprecated python-xml python3-pip
  98. - systemctl enable sshd.service
  99. run_command: /usr/lib/systemd/systemd
  100. provisioner:
  101. salt_bootstrap_options: -XdPfrq -x python3 git 2019.2
  102. salt_install: bootstrap
  103. # Workaround to avoid intermittent failures on `opensuse-leap-15`:
  104. # => SCP did not finish successfully (255): (Net::SCP::Error)
  105. transport:
  106. max_ssh_sessions: 1
  107. provisioner:
  108. name: salt_solo
  109. log_level: debug
  110. salt_install: none
  111. require_chef: false
  112. formula: salt
  113. salt_copy_filter:
  114. - .kitchen
  115. - .git
  116. verifier:
  117. # https://www.inspec.io/
  118. name: inspec
  119. sudo: true
  120. # cli, documentation, html, progress, json, json-min, json-rspec, junit
  121. reporter:
  122. - cli
  123. suites:
  124. - name: v201902-py3
  125. includes:
  126. - debian-9-2019-2-py3
  127. - ubuntu-1804-2019-2-py3
  128. - centos-7-2019-2-py3
  129. - fedora-30-2019-2-py3
  130. - opensuse-leap-15-2019-2-py3
  131. provisioner:
  132. state_top:
  133. base:
  134. '*':
  135. - salt.pkgrepo
  136. - salt.master
  137. - salt.minion
  138. pillars:
  139. top.sls:
  140. base:
  141. '*':
  142. - salt
  143. - v201902-py3
  144. pillars_from_files:
  145. salt.sls: test/salt/pillar/salt.sls
  146. v201902-py3.sls: test/salt/pillar/v201902-py3.sls
  147. verifier:
  148. inspec_tests:
  149. - path: test/integration/v201902-py3
  150. - name: v201902-py2
  151. includes:
  152. - debian-9-2019-2-py2
  153. - ubuntu-1804-2019-2-py2
  154. - centos-7-2019-2-py2
  155. - opensuse-leap-15-2019-2-py2
  156. - amazonlinux-2-2019-2-py2
  157. - arch-base-latest-2019-2-py2
  158. provisioner:
  159. state_top:
  160. base:
  161. '*':
  162. - salt.pkgrepo
  163. - salt.master
  164. - salt.minion
  165. pillars:
  166. top.sls:
  167. base:
  168. '*':
  169. - salt
  170. - v201902-py2
  171. pillars_from_files:
  172. salt.sls: test/salt/pillar/salt.sls
  173. v201902-py2.sls: test/salt/pillar/v201902-py2.sls
  174. verifier:
  175. inspec_tests:
  176. - path: test/integration/v201902-py2
  177. - name: v201803-py2
  178. includes:
  179. - debian-9-2018-3-py2
  180. - ubuntu-1604-2018-3-py2
  181. - centos-7-2018-3-py2
  182. - amazonlinux-2-2018-3-py2
  183. - arch-base-latest-2018-3-py2
  184. provisioner:
  185. state_top:
  186. base:
  187. '*':
  188. - salt.pkgrepo
  189. - salt.master
  190. - salt.minion
  191. pillars:
  192. top.sls:
  193. base:
  194. '*':
  195. - salt
  196. - v201803-py2
  197. pillars_from_files:
  198. salt.sls: test/salt/pillar/salt.sls
  199. v201803-py2.sls: test/salt/pillar/v201803-py2.sls
  200. verifier:
  201. inspec_tests:
  202. - path: test/integration/v201803-py2
  203. - name: v201707-py2
  204. includes:
  205. - debian-8-2017-7-py2
  206. - ubuntu-1604-2017-7-py2
  207. - centos-6-2017-7-py2
  208. - amazonlinux-2-2017-7-py2
  209. - arch-base-latest-2017-7-py2
  210. provisioner:
  211. state_top:
  212. base:
  213. '*':
  214. - salt.pkgrepo
  215. - salt.master
  216. - salt.minion
  217. pillars:
  218. top.sls:
  219. base:
  220. '*':
  221. - salt
  222. - v201707-py2
  223. pillars_from_files:
  224. salt.sls: test/salt/pillar/salt.sls
  225. v201707-py2.sls: test/salt/pillar/v201707-py2.sls
  226. verifier:
  227. inspec_tests:
  228. - path: test/integration/v201707-py2