Saltstack Official Salt Formula
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

559 行
17KB

  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. platforms:
  11. ## SALT `tiamat`
  12. - name: debian-10-tiamat-py3
  13. driver:
  14. image: saltimages/salt-tiamat-py3:debian-10
  15. - name: debian-9-tiamat-py3
  16. driver:
  17. image: saltimages/salt-tiamat-py3:debian-9
  18. - name: ubuntu-2004-tiamat-py3
  19. driver:
  20. image: saltimages/salt-tiamat-py3:ubuntu-20.04
  21. - name: ubuntu-1804-tiamat-py3
  22. driver:
  23. image: saltimages/salt-tiamat-py3:ubuntu-18.04
  24. - name: ubuntu-1604-tiamat-py3
  25. driver:
  26. image: saltimages/salt-tiamat-py3:ubuntu-16.04
  27. - name: centos-8-tiamat-py3
  28. driver:
  29. image: saltimages/salt-tiamat-py3:centos-8
  30. - name: centos-7-tiamat-py3
  31. driver:
  32. image: saltimages/salt-tiamat-py3:centos-7
  33. - name: amazonlinux-2-tiamat-py3
  34. driver:
  35. image: saltimages/salt-tiamat-py3:amazonlinux-2
  36. - name: oraclelinux-8-tiamat-py3
  37. driver:
  38. image: saltimages/salt-tiamat-py3:oraclelinux-8
  39. - name: oraclelinux-7-tiamat-py3
  40. driver:
  41. image: saltimages/salt-tiamat-py3:oraclelinux-7
  42. ## SALT `master`
  43. - name: debian-10-master-py3
  44. driver:
  45. image: saltimages/salt-master-py3:debian-10
  46. - name: debian-9-master-py3
  47. driver:
  48. image: saltimages/salt-master-py3:debian-9
  49. - name: ubuntu-2004-master-py3
  50. driver:
  51. image: saltimages/salt-master-py3:ubuntu-20.04
  52. - name: ubuntu-1804-master-py3
  53. driver:
  54. image: saltimages/salt-master-py3:ubuntu-18.04
  55. - name: ubuntu-1604-master-py3
  56. driver:
  57. image: saltimages/salt-master-py3:ubuntu-16.04
  58. - name: centos-8-master-py3
  59. driver:
  60. image: saltimages/salt-master-py3:centos-8
  61. - name: centos-7-master-py3
  62. driver:
  63. image: saltimages/salt-master-py3:centos-7
  64. - name: fedora-34-master-py3
  65. driver:
  66. image: saltimages/salt-master-py3:fedora-34
  67. - name: fedora-33-master-py3
  68. driver:
  69. image: saltimages/salt-master-py3:fedora-33
  70. - name: fedora-32-master-py3
  71. driver:
  72. image: saltimages/salt-master-py3:fedora-32
  73. - name: opensuse-leap-152-master-py3
  74. driver:
  75. image: saltimages/salt-master-py3:opensuse-leap-15.2
  76. run_command: /usr/lib/systemd/systemd
  77. # Workaround to avoid intermittent failures on `opensuse-leap-15.2`:
  78. # => SCP did not finish successfully (255): (Net::SCP::Error)
  79. transport:
  80. max_ssh_sessions: 1
  81. - name: opensuse-tmbl-latest-master-py3
  82. driver:
  83. image: saltimages/salt-master-py3:opensuse-tumbleweed-latest
  84. run_command: /usr/lib/systemd/systemd
  85. # Workaround to avoid intermittent failures on `opensuse-tumbleweed`:
  86. # => SCP did not finish successfully (255): (Net::SCP::Error)
  87. transport:
  88. max_ssh_sessions: 1
  89. - name: amazonlinux-2-master-py3
  90. driver:
  91. image: saltimages/salt-master-py3:amazonlinux-2
  92. - name: oraclelinux-8-master-py3
  93. driver:
  94. image: saltimages/salt-master-py3:oraclelinux-8
  95. - name: oraclelinux-7-master-py3
  96. driver:
  97. image: saltimages/salt-master-py3:oraclelinux-7
  98. - name: arch-base-latest-master-py3
  99. driver:
  100. image: saltimages/salt-master-py3:arch-base-latest
  101. run_command: /usr/lib/systemd/systemd
  102. - name: gentoo-stage3-latest-master-py3
  103. driver:
  104. image: saltimages/salt-master-py3:gentoo-stage3-latest
  105. run_command: /sbin/init
  106. - name: gentoo-stage3-systemd-master-py3
  107. driver:
  108. image: saltimages/salt-master-py3:gentoo-stage3-systemd
  109. ## SALT `3003.0`
  110. - name: debian-10-3003-0-py3
  111. driver:
  112. image: saltimages/salt-3003.0-py3:debian-10
  113. - name: debian-9-3003-0-py3
  114. driver:
  115. image: saltimages/salt-3003.0-py3:debian-9
  116. - name: ubuntu-2004-3003-0-py3
  117. driver:
  118. image: saltimages/salt-3003.0-py3:ubuntu-20.04
  119. - name: ubuntu-1804-3003-0-py3
  120. driver:
  121. image: saltimages/salt-3003.0-py3:ubuntu-18.04
  122. - name: centos-8-3003-0-py3
  123. driver:
  124. image: saltimages/salt-3003.0-py3:centos-8
  125. - name: centos-7-3003-0-py3
  126. driver:
  127. image: saltimages/salt-3003.0-py3:centos-7
  128. - name: fedora-34-3003-0-py3
  129. driver:
  130. image: saltimages/salt-3003.0-py3:fedora-34
  131. - name: fedora-33-3003-0-py3
  132. driver:
  133. image: saltimages/salt-3003.0-py3:fedora-33
  134. - name: fedora-32-3003-0-py3
  135. driver:
  136. image: saltimages/salt-3003.0-py3:fedora-32
  137. - name: amazonlinux-2-3003-0-py3
  138. driver:
  139. image: saltimages/salt-3003.0-py3:amazonlinux-2
  140. - name: oraclelinux-8-3003-0-py3
  141. driver:
  142. image: saltimages/salt-3003.0-py3:oraclelinux-8
  143. - name: oraclelinux-7-3003-0-py3
  144. driver:
  145. image: saltimages/salt-3003.0-py3:oraclelinux-7
  146. - name: arch-base-latest-3003-0-py3
  147. driver:
  148. image: saltimages/salt-3003.0-py3:arch-base-latest
  149. run_command: /usr/lib/systemd/systemd
  150. - name: gentoo-stage3-latest-3003-0-py3
  151. driver:
  152. image: saltimages/salt-3003.0-py3:gentoo-stage3-latest
  153. run_command: /sbin/init
  154. - name: gentoo-stage3-systemd-3003-0-py3
  155. driver:
  156. image: saltimages/salt-3003.0-py3:gentoo-stage3-systemd
  157. ## SALT `3002.6`
  158. - name: debian-10-3002-6-py3
  159. driver:
  160. image: saltimages/salt-3002.6-py3:debian-10
  161. - name: debian-9-3002-6-py3
  162. driver:
  163. image: saltimages/salt-3002.6-py3:debian-9
  164. - name: ubuntu-2004-3002-6-py3
  165. driver:
  166. image: saltimages/salt-3002.6-py3:ubuntu-20.04
  167. - name: ubuntu-1804-3002-6-py3
  168. driver:
  169. image: saltimages/salt-3002.6-py3:ubuntu-18.04
  170. - name: ubuntu-1604-3002-6-py3
  171. driver:
  172. image: saltimages/salt-3002.6-py3:ubuntu-16.04
  173. - name: centos-8-3002-6-py3
  174. driver:
  175. image: saltimages/salt-3002.6-py3:centos-8
  176. - name: centos-7-3002-6-py3
  177. driver:
  178. image: saltimages/salt-3002.6-py3:centos-7
  179. - name: fedora-34-3002-6-py3
  180. driver:
  181. image: saltimages/salt-3002.6-py3:fedora-34
  182. - name: fedora-33-3002-6-py3
  183. driver:
  184. image: saltimages/salt-3002.6-py3:fedora-33
  185. - name: fedora-32-3002-6-py3
  186. driver:
  187. image: saltimages/salt-3002.6-py3:fedora-32
  188. - name: amazonlinux-2-3002-6-py3
  189. driver:
  190. image: saltimages/salt-3002.6-py3:amazonlinux-2
  191. - name: oraclelinux-8-3002-6-py3
  192. driver:
  193. image: saltimages/salt-3002.6-py3:oraclelinux-8
  194. - name: oraclelinux-7-3002-6-py3
  195. driver:
  196. image: saltimages/salt-3002.6-py3:oraclelinux-7
  197. - name: arch-base-latest-3002-6-py3
  198. driver:
  199. image: saltimages/salt-3002.6-py3:arch-base-latest
  200. run_command: /usr/lib/systemd/systemd
  201. ## SALT `3002.5`
  202. - name: gentoo-stage3-latest-3002-5-py3
  203. driver:
  204. image: saltimages/salt-3002.5-py3:gentoo-stage3-latest
  205. run_command: /sbin/init
  206. - name: gentoo-stage3-systemd-3002-5-py3
  207. driver:
  208. image: saltimages/salt-3002.5-py3:gentoo-stage3-systemd
  209. ## SALT `3002.2`
  210. - name: opensuse-leap-152-3002-2-py3
  211. driver:
  212. image: saltimages/salt-3002.2-py3:opensuse-leap-15.2
  213. run_command: /usr/lib/systemd/systemd
  214. # Workaround to avoid intermittent failures on `opensuse-leap-15.2`:
  215. # => SCP did not finish successfully (255): (Net::SCP::Error)
  216. transport:
  217. max_ssh_sessions: 1
  218. - name: opensuse-tmbl-latest-3002-2-py3
  219. driver:
  220. image: saltimages/salt-3002.2-py3:opensuse-tumbleweed-latest
  221. run_command: /usr/lib/systemd/systemd
  222. # Workaround to avoid intermittent failures on `opensuse-tumbleweed`:
  223. # => SCP did not finish successfully (255): (Net::SCP::Error)
  224. transport:
  225. max_ssh_sessions: 1
  226. ## SALT `3001.7`
  227. - name: debian-10-3001-7-py3
  228. driver:
  229. image: saltimages/salt-3001.7-py3:debian-10
  230. - name: debian-9-3001-7-py3
  231. driver:
  232. image: saltimages/salt-3001.7-py3:debian-9
  233. - name: ubuntu-2004-3001-7-py3
  234. driver:
  235. image: saltimages/salt-3001.7-py3:ubuntu-20.04
  236. - name: ubuntu-1804-3001-7-py3
  237. driver:
  238. image: saltimages/salt-3001.7-py3:ubuntu-18.04
  239. - name: ubuntu-1604-3001-7-py3
  240. driver:
  241. image: saltimages/salt-3001.7-py3:ubuntu-16.04
  242. - name: centos-8-3001-7-py3
  243. driver:
  244. image: saltimages/salt-3001.7-py3:centos-8
  245. - name: centos-7-3001-7-py3
  246. driver:
  247. image: saltimages/salt-3001.7-py3:centos-7
  248. - name: fedora-34-3001-7-py3
  249. driver:
  250. image: saltimages/salt-3001.7-py3:fedora-34
  251. - name: fedora-33-3001-7-py3
  252. driver:
  253. image: saltimages/salt-3001.7-py3:fedora-33
  254. - name: fedora-32-3001-7-py3
  255. driver:
  256. image: saltimages/salt-3001.7-py3:fedora-32
  257. - name: opensuse-leap-152-3001-7-py3
  258. driver:
  259. image: saltimages/salt-3001.7-py3:opensuse-leap-15.2
  260. run_command: /usr/lib/systemd/systemd
  261. # Workaround to avoid intermittent failures on `opensuse-leap-15.2`:
  262. # => SCP did not finish successfully (255): (Net::SCP::Error)
  263. transport:
  264. max_ssh_sessions: 1
  265. - name: opensuse-tmbl-latest-3001-7-py3
  266. driver:
  267. image: saltimages/salt-3001.7-py3:opensuse-tumbleweed-latest
  268. run_command: /usr/lib/systemd/systemd
  269. # Workaround to avoid intermittent failures on `opensuse-tumbleweed`:
  270. # => SCP did not finish successfully (255): (Net::SCP::Error)
  271. transport:
  272. max_ssh_sessions: 1
  273. - name: amazonlinux-2-3001-7-py3
  274. driver:
  275. image: saltimages/salt-3001.7-py3:amazonlinux-2
  276. - name: oraclelinux-8-3001-7-py3
  277. driver:
  278. image: saltimages/salt-3001.7-py3:oraclelinux-8
  279. - name: oraclelinux-7-3001-7-py3
  280. driver:
  281. image: saltimages/salt-3001.7-py3:oraclelinux-7
  282. - name: arch-base-latest-3001-7-py3
  283. driver:
  284. image: saltimages/salt-3001.7-py3:arch-base-latest
  285. run_command: /usr/lib/systemd/systemd
  286. ## SALT `3001.6`
  287. - name: gentoo-stage3-latest-3001-6-py3
  288. driver:
  289. image: saltimages/salt-3001.6-py3:gentoo-stage3-latest
  290. run_command: /sbin/init
  291. - name: gentoo-stage3-systemd-3001-6-py3
  292. driver:
  293. image: saltimages/salt-3001.6-py3:gentoo-stage3-systemd
  294. ## SALT `3000.9`
  295. - name: debian-10-3000-9-py3
  296. driver:
  297. image: saltimages/salt-3000.9-py3:debian-10
  298. - name: debian-9-3000-9-py3
  299. driver:
  300. image: saltimages/salt-3000.9-py3:debian-9
  301. - name: ubuntu-1804-3000-9-py3
  302. driver:
  303. image: saltimages/salt-3000.9-py3:ubuntu-18.04
  304. - name: ubuntu-1604-3000-9-py3
  305. driver:
  306. image: saltimages/salt-3000.9-py3:ubuntu-16.04
  307. - name: centos-8-3000-9-py3
  308. driver:
  309. image: saltimages/salt-3000.9-py3:centos-8
  310. - name: centos-7-3000-9-py3
  311. driver:
  312. image: saltimages/salt-3000.9-py3:centos-7
  313. - name: opensuse-leap-152-3000-9-py3
  314. driver:
  315. image: saltimages/salt-3000.9-py3:opensuse-leap-15.2
  316. run_command: /usr/lib/systemd/systemd
  317. # Workaround to avoid intermittent failures on `opensuse-leap-15.2`:
  318. # => SCP did not finish successfully (255): (Net::SCP::Error)
  319. transport:
  320. max_ssh_sessions: 1
  321. - name: amazonlinux-2-3000-9-py3
  322. driver:
  323. image: saltimages/salt-3000.9-py3:amazonlinux-2
  324. - name: oraclelinux-8-3000-9-py3
  325. driver:
  326. image: saltimages/salt-3000.9-py3:oraclelinux-8
  327. - name: oraclelinux-7-3000-9-py3
  328. driver:
  329. image: saltimages/salt-3000.9-py3:oraclelinux-7
  330. - name: ubuntu-1804-3000-9-py2
  331. driver:
  332. image: saltimages/salt-3000.9-py2:ubuntu-18.04
  333. - name: ubuntu-1604-3000-9-py2
  334. driver:
  335. image: saltimages/salt-3000.9-py2:ubuntu-16.04
  336. - name: arch-base-latest-3000-9-py2
  337. driver:
  338. image: saltimages/salt-3000.9-py2:arch-base-latest
  339. run_command: /usr/lib/systemd/systemd
  340. ## SALT `3000.8`
  341. - name: gentoo-stage3-latest-3000-8-py3
  342. driver:
  343. image: saltimages/salt-3000.8-py3:gentoo-stage3-latest
  344. run_command: /sbin/init
  345. - name: gentoo-stage3-systemd-3000-8-py3
  346. driver:
  347. image: saltimages/salt-3000.8-py3:gentoo-stage3-systemd
  348. provisioner:
  349. name: salt_solo
  350. log_level: debug
  351. salt_install: none
  352. require_chef: false
  353. formula: salt
  354. salt_copy_filter:
  355. - .kitchen
  356. - .git
  357. verifier:
  358. # https://www.inspec.io/
  359. name: inspec
  360. sudo: true
  361. # cli, documentation, html, progress, json, json-min, json-rspec, junit
  362. reporter:
  363. - cli
  364. suites:
  365. - name: v3003-py3
  366. includes:
  367. - debian-10-3003-0-py3
  368. - debian-9-3003-0-py3
  369. - ubuntu-2004-3003-0-py3
  370. - ubuntu-1804-3003-0-py3
  371. - centos-8-3003-0-py3
  372. - centos-7-3003-0-py3
  373. - fedora-34-3003-0-py3
  374. - fedora-33-3003-0-py3
  375. - fedora-32-3003-0-py3
  376. - amazonlinux-2-3003-0-py3
  377. - oraclelinux-8-3003-0-py3
  378. - oraclelinux-7-3003-0-py3
  379. - arch-base-latest-3003-0-py3
  380. - gentoo-stage3-latest-3003-0-py3
  381. - gentoo-stage3-systemd-3003-0-py3
  382. - windows-10-latest-py3
  383. - windows-81-latest-py3
  384. - windows-2019-latest-py3
  385. - windows-2016-latest-py3
  386. provisioner:
  387. state_top:
  388. base:
  389. '*':
  390. - salt._mapdata
  391. - salt.pkgrepo
  392. - salt.master
  393. - salt.minion
  394. pillars:
  395. top.sls:
  396. base:
  397. '*':
  398. - salt
  399. - v3003-py3
  400. pillars_from_files:
  401. salt.sls: test/salt/pillar/salt.sls
  402. v3003-py3.sls: test/salt/pillar/v3003-py3.sls
  403. verifier:
  404. inspec_tests:
  405. - path: test/integration/v3003-py3
  406. - name: v3002-py3
  407. includes:
  408. - debian-10-3002-6-py3
  409. - debian-9-3002-6-py3
  410. - ubuntu-2004-3002-6-py3
  411. - ubuntu-1804-3002-6-py3
  412. - ubuntu-1604-3002-6-py3
  413. - centos-8-3002-6-py3
  414. - centos-7-3002-6-py3
  415. - fedora-34-3002-6-py3
  416. - fedora-33-3002-6-py3
  417. - fedora-32-3002-6-py3
  418. - amazonlinux-2-3002-6-py3
  419. - oraclelinux-8-3002-6-py3
  420. - oraclelinux-7-3002-6-py3
  421. - arch-base-latest-3002-6-py3
  422. - gentoo-stage3-latest-3002-5-py3
  423. - gentoo-stage3-systemd-3002-5-py3
  424. - opensuse-leap-152-3002-2-py3
  425. - opensuse-tmbl-latest-3002-2-py3
  426. - freebsd-130-3002-6-py3
  427. - freebsd-122-3002-6-py3
  428. - freebsd-114-3002-6-py3
  429. - openbsd-69-3002-6-py3
  430. provisioner:
  431. state_top:
  432. base:
  433. '*':
  434. - salt._mapdata
  435. - salt.pkgrepo
  436. - salt.master
  437. - salt.minion
  438. pillars:
  439. top.sls:
  440. base:
  441. '*':
  442. - salt
  443. - v3002-py3
  444. pillars_from_files:
  445. salt.sls: test/salt/pillar/salt.sls
  446. v3002-py3.sls: test/salt/pillar/v3002-py3.sls
  447. verifier:
  448. inspec_tests:
  449. - path: test/integration/v3002-py3
  450. - name: v3001-py3
  451. includes:
  452. - debian-10-3001-7-py3
  453. - debian-9-3001-7-py3
  454. - ubuntu-2004-3001-7-py3
  455. - ubuntu-1804-3001-7-py3
  456. - ubuntu-1604-3001-7-py3
  457. - centos-8-3001-7-py3
  458. - centos-7-3001-7-py3
  459. - fedora-34-3001-7-py3
  460. - fedora-33-3001-7-py3
  461. - fedora-32-3001-7-py3
  462. - opensuse-leap-152-3001-7-py3
  463. - opensuse-tmbl-latest-3001-7-py3
  464. - amazonlinux-2-3001-7-py3
  465. - oraclelinux-8-3001-7-py3
  466. - oraclelinux-7-3001-7-py3
  467. - arch-base-latest-3001-7-py3
  468. - openbsd-68-3001-1-py3
  469. provisioner:
  470. state_top:
  471. base:
  472. '*':
  473. - salt._mapdata
  474. - salt.pkgrepo
  475. - salt.master
  476. - salt.minion
  477. pillars:
  478. top.sls:
  479. base:
  480. '*':
  481. - salt
  482. - v3001-py3
  483. pillars_from_files:
  484. salt.sls: test/salt/pillar/salt.sls
  485. v3001-py3.sls: test/salt/pillar/v3001-py3.sls
  486. verifier:
  487. inspec_tests:
  488. - path: test/integration/v3001-py3
  489. - name: v3000-py3
  490. includes:
  491. - debian-10-3000-9-py3
  492. - debian-9-3000-9-py3
  493. - ubuntu-1804-3000-9-py3
  494. - ubuntu-1604-3000-9-py3
  495. - centos-8-3000-9-py3
  496. - centos-7-3000-9-py3
  497. - opensuse-leap-152-3000-9-py3
  498. - amazonlinux-2-3000-9-py3
  499. - oraclelinux-8-3000-9-py3
  500. - oraclelinux-7-3000-9-py3
  501. provisioner:
  502. state_top:
  503. base:
  504. '*':
  505. - salt._mapdata
  506. - salt.pkgrepo
  507. - salt.master
  508. - salt.minion
  509. pillars:
  510. top.sls:
  511. base:
  512. '*':
  513. - salt
  514. - v3000-py3
  515. pillars_from_files:
  516. salt.sls: test/salt/pillar/salt.sls
  517. v3000-py3.sls: test/salt/pillar/v3000-py3.sls
  518. verifier:
  519. inspec_tests:
  520. - path: test/integration/v3000-py3
  521. - name: v3000-py2
  522. includes:
  523. - ubuntu-1804-3000-9-py2
  524. - ubuntu-1604-3000-9-py2
  525. - arch-base-latest-3000-9-py2
  526. provisioner:
  527. state_top:
  528. base:
  529. '*':
  530. - salt._mapdata
  531. - salt.pkgrepo
  532. - salt.master
  533. - salt.minion
  534. pillars:
  535. top.sls:
  536. base:
  537. '*':
  538. - salt
  539. - v3000-py2
  540. pillars_from_files:
  541. salt.sls: test/salt/pillar/salt.sls
  542. v3000-py2.sls: test/salt/pillar/v3000-py2.sls
  543. verifier:
  544. inspec_tests:
  545. - path: test/integration/v3000-py2