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

221 lines
5.9KB

  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: netmanagers/salt-2019.2-py2:opensuse-leap-15
  61. run_command: /usr/lib/systemd/systemd
  62. # Workaround to avoid intermittent failures on `opensuse-leap-15`:
  63. # => SCP did not finish successfully (255): (Net::SCP::Error)
  64. transport:
  65. max_ssh_sessions: 1
  66. - name: amazonlinux-2-2019-2-py2
  67. driver:
  68. image: netmanagers/salt-2019.2-py2:amazonlinux-2
  69. - name: arch-base-latest-2019-2-py2
  70. driver:
  71. image: netmanagers/salt-2019.2-py2:arch-base-latest
  72. run_command: /usr/lib/systemd/systemd
  73. - name: debian-9-2019-2-py3
  74. driver:
  75. image: netmanagers/salt-2019.2-py3:debian-9
  76. - name: ubuntu-1804-2019-2-py3
  77. driver:
  78. image: netmanagers/salt-2019.2-py3:ubuntu-18.04
  79. - name: centos-7-2019-2-py3
  80. driver:
  81. image: netmanagers/salt-2019.2-py3:centos-7
  82. - name: fedora-30-2019-2-py3
  83. driver:
  84. image: netmanagers/salt-2019.2-py3:fedora-30
  85. - name: opensuse-leap-15-2019-2-py3
  86. driver:
  87. image: netmanagers/salt-2019.2-py3:opensuse-leap-15
  88. run_command: /usr/lib/systemd/systemd
  89. # Workaround to avoid intermittent failures on `opensuse-leap-15`:
  90. # => SCP did not finish successfully (255): (Net::SCP::Error)
  91. transport:
  92. max_ssh_sessions: 1
  93. provisioner:
  94. name: salt_solo
  95. log_level: debug
  96. salt_install: none
  97. require_chef: false
  98. formula: salt
  99. salt_copy_filter:
  100. - .kitchen
  101. - .git
  102. verifier:
  103. # https://www.inspec.io/
  104. name: inspec
  105. sudo: true
  106. # cli, documentation, html, progress, json, json-min, json-rspec, junit
  107. reporter:
  108. - cli
  109. suites:
  110. - name: v201902-py3
  111. includes:
  112. - debian-9-2019-2-py3
  113. - ubuntu-1804-2019-2-py3
  114. - centos-7-2019-2-py3
  115. - fedora-30-2019-2-py3
  116. - opensuse-leap-15-2019-2-py3
  117. provisioner:
  118. state_top:
  119. base:
  120. '*':
  121. - salt.pkgrepo
  122. - salt.master
  123. - salt.minion
  124. pillars:
  125. top.sls:
  126. base:
  127. '*':
  128. - salt
  129. - v201902-py3
  130. pillars_from_files:
  131. salt.sls: test/salt/pillar/salt.sls
  132. v201902-py3.sls: test/salt/pillar/v201902-py3.sls
  133. verifier:
  134. inspec_tests:
  135. - path: test/integration/v201902-py3
  136. - name: v201902-py2
  137. includes:
  138. - debian-9-2019-2-py2
  139. - ubuntu-1804-2019-2-py2
  140. - centos-7-2019-2-py2
  141. - opensuse-leap-15-2019-2-py2
  142. - amazonlinux-2-2019-2-py2
  143. - arch-base-latest-2019-2-py2
  144. provisioner:
  145. state_top:
  146. base:
  147. '*':
  148. - salt.pkgrepo
  149. - salt.master
  150. - salt.minion
  151. pillars:
  152. top.sls:
  153. base:
  154. '*':
  155. - salt
  156. - v201902-py2
  157. pillars_from_files:
  158. salt.sls: test/salt/pillar/salt.sls
  159. v201902-py2.sls: test/salt/pillar/v201902-py2.sls
  160. verifier:
  161. inspec_tests:
  162. - path: test/integration/v201902-py2
  163. - name: v201803-py2
  164. includes:
  165. - debian-9-2018-3-py2
  166. - ubuntu-1604-2018-3-py2
  167. - centos-7-2018-3-py2
  168. - amazonlinux-2-2018-3-py2
  169. - arch-base-latest-2018-3-py2
  170. provisioner:
  171. state_top:
  172. base:
  173. '*':
  174. - salt.pkgrepo
  175. - salt.master
  176. - salt.minion
  177. pillars:
  178. top.sls:
  179. base:
  180. '*':
  181. - salt
  182. - v201803-py2
  183. pillars_from_files:
  184. salt.sls: test/salt/pillar/salt.sls
  185. v201803-py2.sls: test/salt/pillar/v201803-py2.sls
  186. verifier:
  187. inspec_tests:
  188. - path: test/integration/v201803-py2
  189. - name: v201707-py2
  190. includes:
  191. - debian-8-2017-7-py2
  192. - ubuntu-1604-2017-7-py2
  193. - centos-6-2017-7-py2
  194. - amazonlinux-2-2017-7-py2
  195. - arch-base-latest-2017-7-py2
  196. provisioner:
  197. state_top:
  198. base:
  199. '*':
  200. - salt.pkgrepo
  201. - salt.master
  202. - salt.minion
  203. pillars:
  204. top.sls:
  205. base:
  206. '*':
  207. - salt
  208. - v201707-py2
  209. pillars_from_files:
  210. salt.sls: test/salt/pillar/salt.sls
  211. v201707-py2.sls: test/salt/pillar/v201707-py2.sls
  212. verifier:
  213. inspec_tests:
  214. - path: test/integration/v201707-py2