Saltstack Official Salt Formula
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

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