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

206 lines
5.3KB

  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. ## SALT `2018.3`
  28. - name: debian-9-2018-3-py2
  29. driver:
  30. image: netmanagers/salt-2018.3-py2:debian-9
  31. - name: ubuntu-1604-2018-3-py2
  32. driver:
  33. image: netmanagers/salt-2018.3-py2:ubuntu-16.04
  34. - name: centos-7-2018-3-py2
  35. driver:
  36. image: netmanagers/salt-2018.3-py2:centos-7
  37. - name: amazonlinux-2-2018-3-py2
  38. driver:
  39. image: netmanagers/salt-2018.3-py2:amazonlinux-2
  40. ## SALT `2019.2`
  41. - name: debian-9-2019-2-py2
  42. driver:
  43. image: netmanagers/salt-2019.2-py2:debian-9
  44. - name: ubuntu-1804-2019-2-py2
  45. driver:
  46. image: netmanagers/salt-2019.2-py2:ubuntu-18.04
  47. - name: centos-7-2019-2-py2
  48. driver:
  49. image: netmanagers/salt-2019.2-py2:centos-7
  50. - name: opensuse-leap-15-2019-2-py2
  51. driver:
  52. image: netmanagers/salt-2019.2-py2:opensuse-leap-15
  53. run_command: /usr/lib/systemd/systemd
  54. # Workaround to avoid intermittent failures on `opensuse-leap-15`:
  55. # => SCP did not finish successfully (255): (Net::SCP::Error)
  56. transport:
  57. max_ssh_sessions: 1
  58. - name: amazonlinux-2-2019-2-py2
  59. driver:
  60. image: netmanagers/salt-2019.2-py2:amazonlinux-2
  61. - name: debian-9-2019-2-py3
  62. driver:
  63. image: netmanagers/salt-2019.2-py3:debian-9
  64. - name: ubuntu-1804-2019-2-py3
  65. driver:
  66. image: netmanagers/salt-2019.2-py3:ubuntu-18.04
  67. - name: centos-7-2019-2-py3
  68. driver:
  69. image: netmanagers/salt-2019.2-py3:centos-7
  70. - name: fedora-30-2019-2-py3
  71. driver:
  72. image: netmanagers/salt-2019.2-py3:fedora-30
  73. - name: opensuse-leap-15-2019-2-py3
  74. driver:
  75. image: netmanagers/salt-2019.2-py3:opensuse-leap-15
  76. run_command: /usr/lib/systemd/systemd
  77. # Workaround to avoid intermittent failures on `opensuse-leap-15`:
  78. # => SCP did not finish successfully (255): (Net::SCP::Error)
  79. transport:
  80. max_ssh_sessions: 1
  81. provisioner:
  82. name: salt_solo
  83. log_level: debug
  84. salt_install: none
  85. require_chef: false
  86. formula: salt
  87. salt_copy_filter:
  88. - .kitchen
  89. - .git
  90. verifier:
  91. # https://www.inspec.io/
  92. name: inspec
  93. sudo: true
  94. # cli, documentation, html, progress, json, json-min, json-rspec, junit
  95. reporter:
  96. - cli
  97. suites:
  98. - name: v201902-py3
  99. includes:
  100. - debian-9-2019-2-py3
  101. - ubuntu-1804-2019-2-py3
  102. - centos-7-2019-2-py3
  103. - fedora-30-2019-2-py3
  104. - opensuse-leap-15-2019-2-py3
  105. provisioner:
  106. state_top:
  107. base:
  108. '*':
  109. - salt.pkgrepo
  110. - salt.master
  111. - salt.minion
  112. pillars:
  113. top.sls:
  114. base:
  115. '*':
  116. - salt
  117. - v201902-py3
  118. pillars_from_files:
  119. salt.sls: test/salt/pillar/salt.sls
  120. v201902-py3.sls: test/salt/pillar/v201902-py3.sls
  121. verifier:
  122. inspec_tests:
  123. - path: test/integration/v201902-py3
  124. - name: v201902-py2
  125. includes:
  126. - debian-9-2019-2-py2
  127. - ubuntu-1804-2019-2-py2
  128. - centos-7-2019-2-py2
  129. - opensuse-leap-15-2019-2-py2
  130. - amazonlinux-2-2019-2-py2
  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-py2
  144. pillars_from_files:
  145. salt.sls: test/salt/pillar/salt.sls
  146. v201902-py2.sls: test/salt/pillar/v201902-py2.sls
  147. verifier:
  148. inspec_tests:
  149. - path: test/integration/v201902-py2
  150. - name: v201803-py2
  151. includes:
  152. - debian-9-2018-3-py2
  153. - ubuntu-1604-2018-3-py2
  154. - centos-7-2018-3-py2
  155. - amazonlinux-2-2018-3-py2
  156. provisioner:
  157. state_top:
  158. base:
  159. '*':
  160. - salt.pkgrepo
  161. - salt.master
  162. - salt.minion
  163. pillars:
  164. top.sls:
  165. base:
  166. '*':
  167. - salt
  168. - v201803-py2
  169. pillars_from_files:
  170. salt.sls: test/salt/pillar/salt.sls
  171. v201803-py2.sls: test/salt/pillar/v201803-py2.sls
  172. verifier:
  173. inspec_tests:
  174. - path: test/integration/v201803-py2
  175. - name: v201707-py2
  176. includes:
  177. - debian-8-2017-7-py2
  178. - ubuntu-1604-2017-7-py2
  179. - centos-6-2017-7-py2
  180. - amazonlinux-2-2017-7-py2
  181. provisioner:
  182. state_top:
  183. base:
  184. '*':
  185. - salt.pkgrepo
  186. - salt.master
  187. - salt.minion
  188. pillars:
  189. top.sls:
  190. base:
  191. '*':
  192. - salt
  193. - v201707-py2
  194. pillars_from_files:
  195. salt.sls: test/salt/pillar/salt.sls
  196. v201707-py2.sls: test/salt/pillar/v201707-py2.sls
  197. verifier:
  198. inspec_tests:
  199. - path: test/integration/v201707-py2