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

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