Saltstack Official PHP Formula
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

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