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

479 lines
14KB

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