Saltstack Official Salt Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

301 lines
8.1KB

  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. ## SALT `3000.3`
  56. - name: debian-10-3000-3-py3
  57. driver:
  58. image: saltimages/salt-3000.3-py3:debian-10
  59. - name: debian-9-3000-3-py3
  60. driver:
  61. image: saltimages/salt-3000.3-py3:debian-9
  62. - name: ubuntu-1804-3000-3-py3
  63. driver:
  64. image: saltimages/salt-3000.3-py3:ubuntu-18.04
  65. - name: centos-8-3000-3-py3
  66. driver:
  67. image: saltimages/salt-3000.3-py3:centos-8
  68. - name: centos-7-3000-3-py3
  69. driver:
  70. image: saltimages/salt-3000.3-py3:centos-7
  71. - name: fedora-31-3000-3-py3
  72. driver:
  73. image: saltimages/salt-3000.3-py3:fedora-31
  74. - name: opensuse-leap-152-3000-3-py3
  75. driver:
  76. image: saltimages/salt-3000.3-py3:opensuse-leap-15.2
  77. run_command: /usr/lib/systemd/systemd
  78. # Workaround to avoid intermittent failures on `opensuse-leap-15.2`:
  79. # => SCP did not finish successfully (255): (Net::SCP::Error)
  80. transport:
  81. max_ssh_sessions: 1
  82. - name: amazonlinux-2-3000-3-py3
  83. driver:
  84. image: saltimages/salt-3000.3-py3:amazonlinux-2
  85. - name: oraclelinux-8-3000-3-py3
  86. driver:
  87. image: saltimages/salt-3000.3-py3:oraclelinux-8
  88. - name: oraclelinux-7-3000-3-py3
  89. driver:
  90. image: saltimages/salt-3000.3-py3:oraclelinux-7
  91. - name: ubuntu-1804-3000-3-py2
  92. driver:
  93. image: saltimages/salt-3000.3-py2:ubuntu-18.04
  94. - name: ubuntu-1604-3000-3-py2
  95. driver:
  96. image: saltimages/salt-3000.3-py2:ubuntu-16.04
  97. ## SALT `2019.2`
  98. - name: debian-10-2019-2-py3
  99. driver:
  100. image: saltimages/salt-2019.2-py3:debian-10
  101. - name: debian-9-2019-2-py3
  102. driver:
  103. image: saltimages/salt-2019.2-py3:debian-9
  104. - name: ubuntu-1804-2019-2-py3
  105. driver:
  106. image: saltimages/salt-2019.2-py3:ubuntu-18.04
  107. - name: ubuntu-1604-2019-2-py3
  108. driver:
  109. image: saltimages/salt-2019.2-py3:ubuntu-16.04
  110. - name: centos-8-2019-2-py3
  111. driver:
  112. image: saltimages/salt-2019.2-py3:centos-8
  113. - name: centos-7-2019-2-py3
  114. driver:
  115. image: saltimages/salt-2019.2-py3:centos-7
  116. - name: fedora-31-2019-2-py3
  117. driver:
  118. image: saltimages/salt-2019.2-py3:fedora-31
  119. - name: opensuse-leap-152-2019-2-py3
  120. driver:
  121. image: saltimages/salt-2019.2-py3:opensuse-leap-15.2
  122. run_command: /usr/lib/systemd/systemd
  123. # Workaround to avoid intermittent failures on `opensuse-leap-15.2`:
  124. # => SCP did not finish successfully (255): (Net::SCP::Error)
  125. transport:
  126. max_ssh_sessions: 1
  127. - name: amazonlinux-2-2019-2-py3
  128. driver:
  129. image: saltimages/salt-2019.2-py3:amazonlinux-2
  130. - name: centos-6-2019-2-py2
  131. driver:
  132. image: saltimages/salt-2019.2-py2:centos-6
  133. run_command: /sbin/init
  134. - name: amazonlinux-1-2019-2-py2
  135. driver:
  136. image: saltimages/salt-2019.2-py2:amazonlinux-1
  137. run_command: /sbin/init
  138. provisioner:
  139. name: salt_solo
  140. log_level: debug
  141. salt_install: none
  142. require_chef: false
  143. formula: salt
  144. salt_copy_filter:
  145. - .kitchen
  146. - .git
  147. verifier:
  148. # https://www.inspec.io/
  149. name: inspec
  150. sudo: true
  151. # cli, documentation, html, progress, json, json-min, json-rspec, junit
  152. reporter:
  153. - cli
  154. suites:
  155. - name: v3001-py3
  156. includes:
  157. - debian-10-3001-py3
  158. - debian-9-3001-py3
  159. - ubuntu-2004-3001-py3
  160. - ubuntu-1804-3001-py3
  161. - centos-8-3001-py3
  162. - centos-7-3001-py3
  163. - fedora-32-3001-py3
  164. - fedora-31-3001-py3
  165. - opensuse-leap-152-3001-py3
  166. - amazonlinux-2-3001-py3
  167. - oraclelinux-8-3001-py3
  168. - oraclelinux-7-3001-py3
  169. provisioner:
  170. state_top:
  171. base:
  172. '*':
  173. - salt.pkgrepo
  174. - salt.master
  175. - salt.minion
  176. pillars:
  177. top.sls:
  178. base:
  179. '*':
  180. - salt
  181. - v3001-py3
  182. pillars_from_files:
  183. salt.sls: test/salt/pillar/salt.sls
  184. v3001-py3.sls: test/salt/pillar/v3001-py3.sls
  185. verifier:
  186. inspec_tests:
  187. - path: test/integration/v3001-py3
  188. - name: v3000-py3
  189. includes:
  190. - debian-10-3000-3-py3
  191. - debian-9-3000-3-py3
  192. - ubuntu-1804-3000-3-py3
  193. - centos-8-3000-3-py3
  194. - centos-7-3000-3-py3
  195. - fedora-31-3000-3-py3
  196. - opensuse-leap-152-3000-3-py3
  197. - amazonlinux-2-3000-3-py3
  198. - oraclelinux-8-3000-3-py3
  199. - oraclelinux-7-3000-3-py3
  200. provisioner:
  201. state_top:
  202. base:
  203. '*':
  204. - salt.pkgrepo
  205. - salt.master
  206. - salt.minion
  207. pillars:
  208. top.sls:
  209. base:
  210. '*':
  211. - salt
  212. - v3000-py3
  213. pillars_from_files:
  214. salt.sls: test/salt/pillar/salt.sls
  215. v3000-py3.sls: test/salt/pillar/v3000-py3.sls
  216. verifier:
  217. inspec_tests:
  218. - path: test/integration/v3000-py3
  219. - name: v3000-py2
  220. includes:
  221. - ubuntu-1804-3000-3-py2
  222. - ubuntu-1604-3000-3-py2
  223. provisioner:
  224. state_top:
  225. base:
  226. '*':
  227. - salt.pkgrepo
  228. - salt.master
  229. - salt.minion
  230. pillars:
  231. top.sls:
  232. base:
  233. '*':
  234. - salt
  235. - v3000-py2
  236. pillars_from_files:
  237. salt.sls: test/salt/pillar/salt.sls
  238. v3000-py2.sls: test/salt/pillar/v3000-py2.sls
  239. verifier:
  240. inspec_tests:
  241. - path: test/integration/v3000-py2
  242. - name: v201902-py3
  243. includes:
  244. - debian-10-2019-2-py3
  245. - debian-9-2019-2-py3
  246. - ubuntu-1804-2019-2-py3
  247. - ubuntu-1604-2019-2-py3
  248. - centos-8-2019-2-py3
  249. - centos-7-2019-2-py3
  250. - fedora-31-2019-2-py3
  251. - opensuse-leap-152-2019-2-py3
  252. - amazonlinux-2-2019-2-py3
  253. provisioner:
  254. state_top:
  255. base:
  256. '*':
  257. - salt.pkgrepo
  258. - salt.master
  259. - salt.minion
  260. pillars:
  261. top.sls:
  262. base:
  263. '*':
  264. - salt
  265. - v201902-py3
  266. pillars_from_files:
  267. salt.sls: test/salt/pillar/salt.sls
  268. v201902-py3.sls: test/salt/pillar/v201902-py3.sls
  269. verifier:
  270. inspec_tests:
  271. - path: test/integration/v201902-py3
  272. - name: v201902-py2
  273. includes:
  274. - centos-6-2019-2-py2
  275. - amazonlinux-1-2019-2-py2
  276. provisioner:
  277. state_top:
  278. base:
  279. '*':
  280. - salt.pkgrepo
  281. - salt.master
  282. - salt.minion
  283. pillars:
  284. top.sls:
  285. base:
  286. '*':
  287. - salt
  288. - v201902-py2
  289. pillars_from_files:
  290. salt.sls: test/salt/pillar/salt.sls
  291. v201902-py2.sls: test/salt/pillar/v201902-py2.sls
  292. verifier:
  293. inspec_tests:
  294. - path: test/integration/v201902-py2