Saltstack Official Salt Formula
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

217 lines
5.7KB

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