Saltstack Official Salt Formula
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

213 lines
5.6KB

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