Saltstack Official Apache 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.

487 lines
16KB

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