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.

411 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.pkgrepo
  297. - salt.master
  298. - salt.minion
  299. pillars:
  300. top.sls:
  301. base:
  302. '*':
  303. - salt
  304. - v3002-py3
  305. pillars_from_files:
  306. salt.sls: test/salt/pillar/salt.sls
  307. v3002-py3.sls: test/salt/pillar/v3002-py3.sls
  308. verifier:
  309. inspec_tests:
  310. - path: test/integration/v3002-py3
  311. - name: v3001-py3
  312. includes:
  313. - debian-10-3001-4-py3
  314. - debian-9-3001-4-py3
  315. - ubuntu-2004-3001-4-py3
  316. - ubuntu-1804-3001-4-py3
  317. - ubuntu-1604-3001-4-py3
  318. - centos-8-3001-4-py3
  319. - centos-7-3001-4-py3
  320. - fedora-33-3001-4-py3
  321. - fedora-32-3001-4-py3
  322. - opensuse-leap-152-3001-4-py3
  323. - amazonlinux-2-3001-4-py3
  324. - oraclelinux-8-3001-4-py3
  325. - oraclelinux-7-3001-4-py3
  326. - gentoo-stage3-latest-3001-4-py3
  327. - gentoo-stage3-systemd-3001-4-py3
  328. provisioner:
  329. state_top:
  330. base:
  331. '*':
  332. - salt.pkgrepo
  333. - salt.master
  334. - salt.minion
  335. pillars:
  336. top.sls:
  337. base:
  338. '*':
  339. - salt
  340. - v3001-py3
  341. pillars_from_files:
  342. salt.sls: test/salt/pillar/salt.sls
  343. v3001-py3.sls: test/salt/pillar/v3001-py3.sls
  344. verifier:
  345. inspec_tests:
  346. - path: test/integration/v3001-py3
  347. - name: v3000-py3
  348. includes:
  349. - debian-10-3000-6-py3
  350. - debian-9-3000-6-py3
  351. - ubuntu-1804-3000-6-py3
  352. - ubuntu-1604-3000-6-py3
  353. - centos-8-3000-6-py3
  354. - centos-7-3000-6-py3
  355. - opensuse-leap-152-3000-6-py3
  356. - amazonlinux-2-3000-6-py3
  357. - oraclelinux-8-3000-6-py3
  358. - oraclelinux-7-3000-6-py3
  359. - gentoo-stage3-latest-3000-6-py3
  360. - gentoo-stage3-systemd-3000-6-py3
  361. provisioner:
  362. state_top:
  363. base:
  364. '*':
  365. - salt.pkgrepo
  366. - salt.master
  367. - salt.minion
  368. pillars:
  369. top.sls:
  370. base:
  371. '*':
  372. - salt
  373. - v3000-py3
  374. pillars_from_files:
  375. salt.sls: test/salt/pillar/salt.sls
  376. v3000-py3.sls: test/salt/pillar/v3000-py3.sls
  377. verifier:
  378. inspec_tests:
  379. - path: test/integration/v3000-py3
  380. - name: v3000-py2
  381. includes:
  382. - ubuntu-1804-3000-6-py2
  383. - ubuntu-1604-3000-6-py2
  384. provisioner:
  385. state_top:
  386. base:
  387. '*':
  388. - salt.pkgrepo
  389. - salt.master
  390. - salt.minion
  391. pillars:
  392. top.sls:
  393. base:
  394. '*':
  395. - salt
  396. - v3000-py2
  397. pillars_from_files:
  398. salt.sls: test/salt/pillar/salt.sls
  399. v3000-py2.sls: test/salt/pillar/v3000-py2.sls
  400. verifier:
  401. inspec_tests:
  402. - path: test/integration/v3000-py2