Saltstack Official PHP Formula
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

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