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.

415 lines
12KB

  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 `tiamat`
  14. - name: debian-10-tiamat-py3
  15. driver:
  16. image: saltimages/salt-tiamat-py3:debian-10
  17. - name: debian-9-tiamat-py3
  18. driver:
  19. image: saltimages/salt-tiamat-py3:debian-9
  20. - name: ubuntu-2004-tiamat-py3
  21. driver:
  22. image: saltimages/salt-tiamat-py3:ubuntu-20.04
  23. - name: ubuntu-1804-tiamat-py3
  24. driver:
  25. image: saltimages/salt-tiamat-py3:ubuntu-18.04
  26. - name: ubuntu-1604-tiamat-py3
  27. driver:
  28. image: saltimages/salt-tiamat-py3:ubuntu-16.04
  29. - name: centos-8-tiamat-py3
  30. driver:
  31. image: saltimages/salt-tiamat-py3:centos-8
  32. - name: centos-7-tiamat-py3
  33. driver:
  34. image: saltimages/salt-tiamat-py3:centos-7
  35. - name: amazonlinux-2-tiamat-py3
  36. driver:
  37. image: saltimages/salt-tiamat-py3:amazonlinux-2
  38. - name: oraclelinux-8-tiamat-py3
  39. driver:
  40. image: saltimages/salt-tiamat-py3:oraclelinux-8
  41. - name: oraclelinux-7-tiamat-py3
  42. driver:
  43. image: saltimages/salt-tiamat-py3:oraclelinux-7
  44. ## SALT `master`
  45. - name: debian-10-master-py3
  46. driver:
  47. image: saltimages/salt-master-py3:debian-10
  48. - name: debian-9-master-py3
  49. driver:
  50. image: saltimages/salt-master-py3:debian-9
  51. - name: ubuntu-2004-master-py3
  52. driver:
  53. image: saltimages/salt-master-py3:ubuntu-20.04
  54. - name: ubuntu-1804-master-py3
  55. driver:
  56. image: saltimages/salt-master-py3:ubuntu-18.04
  57. - name: ubuntu-1604-master-py3
  58. driver:
  59. image: saltimages/salt-master-py3:ubuntu-16.04
  60. - name: centos-8-master-py3
  61. driver:
  62. image: saltimages/salt-master-py3:centos-8
  63. - name: centos-7-master-py3
  64. driver:
  65. image: saltimages/salt-master-py3:centos-7
  66. - name: fedora-33-master-py3
  67. driver:
  68. image: saltimages/salt-master-py3:fedora-33
  69. - name: fedora-32-master-py3
  70. driver:
  71. image: saltimages/salt-master-py3:fedora-32
  72. - name: opensuse-leap-152-master-py3
  73. driver:
  74. image: saltimages/salt-master-py3:opensuse-leap-15.2
  75. run_command: /usr/lib/systemd/systemd
  76. # Workaround to avoid intermittent failures on `opensuse-leap-15.2`:
  77. # => SCP did not finish successfully (255): (Net::SCP::Error)
  78. transport:
  79. max_ssh_sessions: 1
  80. - name: amazonlinux-2-master-py3
  81. driver:
  82. image: saltimages/salt-master-py3:amazonlinux-2
  83. - name: oraclelinux-8-master-py3
  84. driver:
  85. image: saltimages/salt-master-py3:oraclelinux-8
  86. - name: gentoo-stage3-latest-master-py3
  87. driver:
  88. image: saltimages/salt-master-py3:gentoo-stage3-latest
  89. run_command: /sbin/init
  90. - name: gentoo-stage3-systemd-master-py3
  91. driver:
  92. image: saltimages/salt-master-py3:gentoo-stage3-systemd
  93. ## SALT `3002.2`
  94. - name: debian-10-3002-2-py3
  95. driver:
  96. image: saltimages/salt-3002.2-py3:debian-10
  97. - name: debian-9-3002-2-py3
  98. driver:
  99. image: saltimages/salt-3002.2-py3:debian-9
  100. - name: ubuntu-2004-3002-2-py3
  101. driver:
  102. image: saltimages/salt-3002.2-py3:ubuntu-20.04
  103. - name: ubuntu-1804-3002-2-py3
  104. driver:
  105. image: saltimages/salt-3002.2-py3:ubuntu-18.04
  106. - name: ubuntu-1604-3002-2-py3
  107. driver:
  108. image: saltimages/salt-3002.2-py3:ubuntu-16.04
  109. - name: centos-8-3002-2-py3
  110. driver:
  111. image: saltimages/salt-3002.2-py3:centos-8
  112. - name: centos-7-3002-2-py3
  113. driver:
  114. image: saltimages/salt-3002.2-py3:centos-7
  115. - name: fedora-33-3002-2-py3
  116. driver:
  117. image: saltimages/salt-3002.2-py3:fedora-33
  118. - name: fedora-32-3002-2-py3
  119. driver:
  120. image: saltimages/salt-3002.2-py3:fedora-32
  121. - name: opensuse-leap-152-3002-2-py3
  122. driver:
  123. image: saltimages/salt-3002.2-py3:opensuse-leap-15.2
  124. run_command: /usr/lib/systemd/systemd
  125. # Workaround to avoid intermittent failures on `opensuse-leap-15.2`:
  126. # => SCP did not finish successfully (255): (Net::SCP::Error)
  127. transport:
  128. max_ssh_sessions: 1
  129. - name: amazonlinux-2-3002-2-py3
  130. driver:
  131. image: saltimages/salt-3002.2-py3:amazonlinux-2
  132. - name: oraclelinux-8-3002-2-py3
  133. driver:
  134. image: saltimages/salt-3002.2-py3:oraclelinux-8
  135. - name: oraclelinux-7-3002-2-py3
  136. driver:
  137. image: saltimages/salt-3002.2-py3:oraclelinux-7
  138. - name: arch-base-latest-3002-2-py3
  139. driver:
  140. image: saltimages/salt-3002.2-py3:arch-base-latest
  141. run_command: /usr/lib/systemd/systemd
  142. - name: gentoo-stage3-latest-3002-2-py3
  143. driver:
  144. image: saltimages/salt-3002.2-py3:gentoo-stage3-latest
  145. run_command: /sbin/init
  146. - name: gentoo-stage3-systemd-3002-2-py3
  147. driver:
  148. image: saltimages/salt-3002.2-py3:gentoo-stage3-systemd
  149. ## SALT `3001.4`
  150. - name: debian-10-3001-4-py3
  151. driver:
  152. image: saltimages/salt-3001.4-py3:debian-10
  153. - name: debian-9-3001-4-py3
  154. driver:
  155. image: saltimages/salt-3001.4-py3:debian-9
  156. - name: ubuntu-2004-3001-4-py3
  157. driver:
  158. image: saltimages/salt-3001.4-py3:ubuntu-20.04
  159. - name: ubuntu-1804-3001-4-py3
  160. driver:
  161. image: saltimages/salt-3001.4-py3:ubuntu-18.04
  162. - name: ubuntu-1604-3001-4-py3
  163. driver:
  164. image: saltimages/salt-3001.4-py3:ubuntu-16.04
  165. - name: centos-8-3001-4-py3
  166. driver:
  167. image: saltimages/salt-3001.4-py3:centos-8
  168. - name: centos-7-3001-4-py3
  169. driver:
  170. image: saltimages/salt-3001.4-py3:centos-7
  171. - name: fedora-33-3001-4-py3
  172. driver:
  173. image: saltimages/salt-3001.4-py3:fedora-33
  174. - name: fedora-32-3001-4-py3
  175. driver:
  176. image: saltimages/salt-3001.4-py3:fedora-32
  177. - name: opensuse-leap-152-3001-4-py3
  178. driver:
  179. image: saltimages/salt-3001.4-py3:opensuse-leap-15.2
  180. run_command: /usr/lib/systemd/systemd
  181. # Workaround to avoid intermittent failures on `opensuse-leap-15.2`:
  182. # => SCP did not finish successfully (255): (Net::SCP::Error)
  183. transport:
  184. max_ssh_sessions: 1
  185. - name: amazonlinux-2-3001-4-py3
  186. driver:
  187. image: saltimages/salt-3001.4-py3:amazonlinux-2
  188. - name: oraclelinux-8-3001-4-py3
  189. driver:
  190. image: saltimages/salt-3001.4-py3:oraclelinux-8
  191. - name: oraclelinux-7-3001-4-py3
  192. driver:
  193. image: saltimages/salt-3001.4-py3:oraclelinux-7
  194. - name: arch-base-latest-3001-4-py3
  195. driver:
  196. image: saltimages/salt-3001.4-py3:arch-base-latest
  197. run_command: /usr/lib/systemd/systemd
  198. - name: gentoo-stage3-latest-3001-4-py3
  199. driver:
  200. image: saltimages/salt-3001.4-py3:gentoo-stage3-latest
  201. run_command: /sbin/init
  202. - name: gentoo-stage3-systemd-3001-4-py3
  203. driver:
  204. image: saltimages/salt-3001.4-py3:gentoo-stage3-systemd
  205. ## SALT `3000.6`
  206. - name: debian-10-3000-6-py3
  207. driver:
  208. image: saltimages/salt-3000.6-py3:debian-10
  209. - name: debian-9-3000-6-py3
  210. driver:
  211. image: saltimages/salt-3000.6-py3:debian-9
  212. - name: ubuntu-1804-3000-6-py3
  213. driver:
  214. image: saltimages/salt-3000.6-py3:ubuntu-18.04
  215. - name: ubuntu-1604-3000-6-py3
  216. driver:
  217. image: saltimages/salt-3000.6-py3:ubuntu-16.04
  218. - name: centos-8-3000-6-py3
  219. driver:
  220. image: saltimages/salt-3000.6-py3:centos-8
  221. - name: centos-7-3000-6-py3
  222. driver:
  223. image: saltimages/salt-3000.6-py3:centos-7
  224. - name: opensuse-leap-152-3000-6-py3
  225. driver:
  226. image: saltimages/salt-3000.6-py3:opensuse-leap-15.2
  227. run_command: /usr/lib/systemd/systemd
  228. # Workaround to avoid intermittent failures on `opensuse-leap-15.2`:
  229. # => SCP did not finish successfully (255): (Net::SCP::Error)
  230. transport:
  231. max_ssh_sessions: 1
  232. - name: amazonlinux-2-3000-6-py3
  233. driver:
  234. image: saltimages/salt-3000.6-py3:amazonlinux-2
  235. - name: oraclelinux-8-3000-6-py3
  236. driver:
  237. image: saltimages/salt-3000.6-py3:oraclelinux-8
  238. - name: oraclelinux-7-3000-6-py3
  239. driver:
  240. image: saltimages/salt-3000.6-py3:oraclelinux-7
  241. - name: gentoo-stage3-latest-3000-6-py3
  242. driver:
  243. image: saltimages/salt-3000.6-py3:gentoo-stage3-latest
  244. run_command: /sbin/init
  245. - name: gentoo-stage3-systemd-3000-6-py3
  246. driver:
  247. image: saltimages/salt-3000.6-py3:gentoo-stage3-systemd
  248. - name: ubuntu-1804-3000-6-py2
  249. driver:
  250. image: saltimages/salt-3000.6-py2:ubuntu-18.04
  251. - name: ubuntu-1604-3000-6-py2
  252. driver:
  253. image: saltimages/salt-3000.6-py2:ubuntu-16.04
  254. - name: arch-base-latest-3000-6-py2
  255. driver:
  256. image: saltimages/salt-3000.6-py2:arch-base-latest
  257. run_command: /usr/lib/systemd/systemd
  258. provisioner:
  259. name: salt_solo
  260. log_level: debug
  261. salt_install: none
  262. require_chef: false
  263. formula: salt
  264. salt_copy_filter:
  265. - .kitchen
  266. - .git
  267. verifier:
  268. # https://www.inspec.io/
  269. name: inspec
  270. sudo: true
  271. # cli, documentation, html, progress, json, json-min, json-rspec, junit
  272. reporter:
  273. - cli
  274. suites:
  275. - name: v3002-py3
  276. includes:
  277. - debian-10-3002-2-py3
  278. - debian-9-3002-2-py3
  279. - ubuntu-2004-3002-2-py3
  280. - ubuntu-1804-3002-2-py3
  281. - ubuntu-1604-3002-2-py3
  282. - centos-8-3002-2-py3
  283. - centos-7-3002-2-py3
  284. - fedora-33-3002-2-py3
  285. - fedora-32-3002-2-py3
  286. - opensuse-leap-152-3002-2-py3
  287. - amazonlinux-2-3002-2-py3
  288. - oraclelinux-8-3002-2-py3
  289. - oraclelinux-7-3002-2-py3
  290. - gentoo-stage3-latest-3002-2-py3
  291. - gentoo-stage3-systemd-3002-2-py3
  292. provisioner:
  293. state_top:
  294. base:
  295. '*':
  296. - salt._mapdata
  297. - salt.pkgrepo
  298. - salt.master
  299. - salt.minion
  300. pillars:
  301. top.sls:
  302. base:
  303. '*':
  304. - salt
  305. - v3002-py3
  306. pillars_from_files:
  307. salt.sls: test/salt/pillar/salt.sls
  308. v3002-py3.sls: test/salt/pillar/v3002-py3.sls
  309. verifier:
  310. inspec_tests:
  311. - path: test/integration/v3002-py3
  312. - name: v3001-py3
  313. includes:
  314. - debian-10-3001-4-py3
  315. - debian-9-3001-4-py3
  316. - ubuntu-2004-3001-4-py3
  317. - ubuntu-1804-3001-4-py3
  318. - ubuntu-1604-3001-4-py3
  319. - centos-8-3001-4-py3
  320. - centos-7-3001-4-py3
  321. - fedora-33-3001-4-py3
  322. - fedora-32-3001-4-py3
  323. - opensuse-leap-152-3001-4-py3
  324. - amazonlinux-2-3001-4-py3
  325. - oraclelinux-8-3001-4-py3
  326. - oraclelinux-7-3001-4-py3
  327. - gentoo-stage3-latest-3001-4-py3
  328. - gentoo-stage3-systemd-3001-4-py3
  329. provisioner:
  330. state_top:
  331. base:
  332. '*':
  333. - salt._mapdata
  334. - salt.pkgrepo
  335. - salt.master
  336. - salt.minion
  337. pillars:
  338. top.sls:
  339. base:
  340. '*':
  341. - salt
  342. - v3001-py3
  343. pillars_from_files:
  344. salt.sls: test/salt/pillar/salt.sls
  345. v3001-py3.sls: test/salt/pillar/v3001-py3.sls
  346. verifier:
  347. inspec_tests:
  348. - path: test/integration/v3001-py3
  349. - name: v3000-py3
  350. includes:
  351. - debian-10-3000-6-py3
  352. - debian-9-3000-6-py3
  353. - ubuntu-1804-3000-6-py3
  354. - ubuntu-1604-3000-6-py3
  355. - centos-8-3000-6-py3
  356. - centos-7-3000-6-py3
  357. - opensuse-leap-152-3000-6-py3
  358. - amazonlinux-2-3000-6-py3
  359. - oraclelinux-8-3000-6-py3
  360. - oraclelinux-7-3000-6-py3
  361. - gentoo-stage3-latest-3000-6-py3
  362. - gentoo-stage3-systemd-3000-6-py3
  363. provisioner:
  364. state_top:
  365. base:
  366. '*':
  367. - salt._mapdata
  368. - salt.pkgrepo
  369. - salt.master
  370. - salt.minion
  371. pillars:
  372. top.sls:
  373. base:
  374. '*':
  375. - salt
  376. - v3000-py3
  377. pillars_from_files:
  378. salt.sls: test/salt/pillar/salt.sls
  379. v3000-py3.sls: test/salt/pillar/v3000-py3.sls
  380. verifier:
  381. inspec_tests:
  382. - path: test/integration/v3000-py3
  383. - name: v3000-py2
  384. includes:
  385. - ubuntu-1804-3000-6-py2
  386. - ubuntu-1604-3000-6-py2
  387. provisioner:
  388. state_top:
  389. base:
  390. '*':
  391. - salt._mapdata
  392. - salt.pkgrepo
  393. - salt.master
  394. - salt.minion
  395. pillars:
  396. top.sls:
  397. base:
  398. '*':
  399. - salt
  400. - v3000-py2
  401. pillars_from_files:
  402. salt.sls: test/salt/pillar/salt.sls
  403. v3000-py2.sls: test/salt/pillar/v3000-py2.sls
  404. verifier:
  405. inspec_tests:
  406. - path: test/integration/v3000-py2