Saltstack Official Salt Formula
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

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