Saltstack Official PHP Formula
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

464 rindas
13KB

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