Saltstack Official PHP Formula
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263
  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: /lib/systemd/systemd
  10. # Make sure the platforms listed below match up with
  11. # the `env.matrix` instances defined in `.travis.yml`
  12. platforms:
  13. ## SALT `master`
  14. - name: debian-10-master-py3
  15. driver:
  16. image: netmanagers/salt-master-py3:debian-10
  17. - name: ubuntu-1804-master-py3
  18. driver:
  19. image: netmanagers/salt-master-py3:ubuntu-18.04
  20. - name: centos-8-master-py3
  21. driver:
  22. image: netmanagers/salt-master-py3:centos-8
  23. - name: fedora-31-master-py3
  24. driver:
  25. image: netmanagers/salt-master-py3:fedora-31
  26. - name: opensuse-leap-151-master-py3
  27. driver:
  28. image: netmanagers/salt-master-py3:opensuse-leap-15.1
  29. run_command: /usr/lib/systemd/systemd
  30. # Workaround to avoid intermittent failures on `opensuse-leap-15.1`:
  31. # => SCP did not finish successfully (255): (Net::SCP::Error)
  32. transport:
  33. max_ssh_sessions: 1
  34. - name: amazonlinux-2-master-py3
  35. driver:
  36. image: netmanagers/salt-master-py3:amazonlinux-2
  37. - name: arch-base-latest-master-py2
  38. driver:
  39. image: netmanagers/salt-master-py2:arch-base-latest
  40. run_command: /usr/lib/systemd/systemd
  41. ## SALT `2019.2`
  42. - name: debian-10-2019-2-py3
  43. driver:
  44. image: netmanagers/salt-2019.2-py3:debian-10
  45. - name: debian-9-2019-2-py3
  46. driver:
  47. image: netmanagers/salt-2019.2-py3:debian-9
  48. - name: ubuntu-1804-2019-2-py3
  49. driver:
  50. image: netmanagers/salt-2019.2-py3:ubuntu-18.04
  51. - name: centos-8-2019-2-py3
  52. driver:
  53. image: netmanagers/salt-2019.2-py3:centos-8
  54. - name: fedora-31-2019-2-py3
  55. driver:
  56. image: netmanagers/salt-2019.2-py3:fedora-31
  57. - name: opensuse-leap-151-2019-2-py3
  58. driver:
  59. image: netmanagers/salt-2019.2-py3:opensuse-leap-15.1
  60. run_command: /usr/lib/systemd/systemd
  61. # Workaround to avoid intermittent failures on `opensuse-leap-15.1`:
  62. # => SCP did not finish successfully (255): (Net::SCP::Error)
  63. transport:
  64. max_ssh_sessions: 1
  65. - name: centos-7-2019-2-py2
  66. driver:
  67. image: netmanagers/salt-2019.2-py2:centos-7
  68. - name: amazonlinux-2-2019-2-py3
  69. driver:
  70. image: netmanagers/salt-2019.2-py3:amazonlinux-2
  71. - name: arch-base-latest-2019-2-py2
  72. driver:
  73. image: netmanagers/salt-2019.2-py2:arch-base-latest
  74. run_command: /usr/lib/systemd/systemd
  75. ## SALT `2018.3`
  76. - name: fedora-30-2018-3-py3
  77. driver:
  78. image: netmanagers/salt-2018.3-py3:fedora-30
  79. - name: debian-9-2018-3-py2
  80. driver:
  81. image: netmanagers/salt-2018.3-py2:debian-9
  82. - name: ubuntu-1604-2018-3-py2
  83. driver:
  84. image: netmanagers/salt-2018.3-py2:ubuntu-16.04
  85. - name: centos-7-2018-3-py2
  86. driver:
  87. image: netmanagers/salt-2018.3-py2:centos-7
  88. - name: opensuse-leap-151-2018-3-py2
  89. driver:
  90. image: netmanagers/salt-2018.3-py2:opensuse-leap-15.1
  91. run_command: /usr/lib/systemd/systemd
  92. # Workaround to avoid intermittent failures on `opensuse-leap-15.1`:
  93. # => SCP did not finish successfully (255): (Net::SCP::Error)
  94. transport:
  95. max_ssh_sessions: 1
  96. - name: amazonlinux-1-2018-3-py2
  97. driver:
  98. image: netmanagers/salt-2018.3-py2:amazonlinux-1
  99. run_command: /sbin/init
  100. - name: arch-base-latest-2018-3-py2
  101. driver:
  102. image: netmanagers/salt-2018.3-py2:arch-base-latest
  103. run_command: /usr/lib/systemd/systemd
  104. ## SALT `2017.7`
  105. - name: debian-8-2017-7-py2
  106. driver:
  107. image: netmanagers/salt-2017.7-py2:debian-8
  108. - name: ubuntu-1604-2017-7-py2
  109. driver:
  110. image: netmanagers/salt-2017.7-py2:ubuntu-16.04
  111. - name: centos-6-2017-7-py2
  112. driver:
  113. image: netmanagers/salt-2017.7-py2:centos-6
  114. run_command: /sbin/init
  115. - name: fedora-30-2017-7-py2
  116. driver:
  117. image: netmanagers/salt-2017.7-py2:fedora-30
  118. - name: opensuse-leap-151-2017-7-py2
  119. driver:
  120. image: netmanagers/salt-2017.7-py2:opensuse-leap-15.1
  121. run_command: /usr/lib/systemd/systemd
  122. # Workaround to avoid intermittent failures on `opensuse-leap-15.1`:
  123. # => SCP did not finish successfully (255): (Net::SCP::Error)
  124. transport:
  125. max_ssh_sessions: 1
  126. - name: amazonlinux-1-2017-7-py2
  127. driver:
  128. image: netmanagers/salt-2017.7-py2:amazonlinux-1
  129. run_command: /sbin/init
  130. - name: arch-base-latest-2017-7-py2
  131. driver:
  132. image: netmanagers/salt-2017.7-py2:arch-base-latest
  133. run_command: /usr/lib/systemd/systemd
  134. provisioner:
  135. name: salt_solo
  136. log_level: debug
  137. salt_install: none
  138. require_chef: false
  139. formula: php
  140. salt_copy_filter:
  141. - .kitchen
  142. - .git
  143. verifier:
  144. # https://www.inspec.io/
  145. name: inspec
  146. sudo: true
  147. # cli, documentation, html, progress, json, json-min, json-rspec, junit
  148. reporter:
  149. - cli
  150. suites:
  151. - name: debian
  152. includes:
  153. - debian-10-master-py3
  154. - debian-10-2019-2-py3
  155. - debian-9-2019-2-py3
  156. - debian-9-2018-3-py2
  157. - debian-8-2017-7-py2
  158. provisioner:
  159. state_top:
  160. base:
  161. '*':
  162. - php.repo
  163. - php.fpm.install
  164. - php.fpm.config
  165. - php.fpm.pools
  166. - php.modules
  167. - php.fpm.service
  168. pillars:
  169. top.sls:
  170. base:
  171. '*':
  172. - php
  173. pillars_from_files:
  174. php.sls: test/salt/pillar/debian.sls
  175. verifier:
  176. inspec_tests:
  177. - path: test/integration/default
  178. - name: ubuntu
  179. includes:
  180. - ubuntu-1804-master-py3
  181. - ubuntu-1804-2019-2-py3
  182. - ubuntu-1604-2018-3-py2
  183. - ubuntu-1604-2017-7-py2
  184. provisioner:
  185. state_top:
  186. base:
  187. '*':
  188. - php.repo
  189. - php.fpm.install
  190. - php.fpm.config
  191. - php.fpm.pools
  192. - php.modules
  193. - php.fpm.service
  194. pillars:
  195. top.sls:
  196. base:
  197. '*':
  198. - php
  199. - ubuntu
  200. pillars_from_files:
  201. php.sls: test/salt/pillar/debian.sls
  202. ubuntu.sls: test/salt/pillar/ubuntu.sls
  203. verifier:
  204. inspec_tests:
  205. - path: test/integration/default
  206. - name: redhat
  207. includes:
  208. - centos-8-master-py3
  209. - fedora-31-master-py3
  210. - amazonlinux-2-master-py3
  211. - centos-8-2019-2-py3
  212. - fedora-31-2019-2-py3
  213. - amazonlinux-2-2019-2-py3
  214. - centos-7-2019-2-py2
  215. - fedora-30-2018-3-py3
  216. - centos-7-2018-3-py2
  217. - amazonlinux-1-2018-3-py2
  218. - centos-6-2017-7-py2
  219. - fedora-30-2017-7-py2
  220. - amazonlinux-1-2017-7-py2
  221. provisioner:
  222. state_top:
  223. base:
  224. '*':
  225. - php
  226. pillars:
  227. top.sls:
  228. base:
  229. '*':
  230. - php
  231. pillars_from_files:
  232. php.sls: test/salt/pillar/redhat.sls
  233. verifier:
  234. inspec_tests:
  235. - path: test/integration/default
  236. - name: suse
  237. includes:
  238. - opensuse-leap-151-master-py3
  239. - opensuse-leap-151-2019-2-py3
  240. - opensuse-leap-151-2018-3-py2
  241. - opensuse-leap-151-2017-7-py2
  242. provisioner:
  243. state_top:
  244. base:
  245. '*':
  246. - php
  247. pillars:
  248. top.sls:
  249. base:
  250. '*':
  251. - php
  252. pillars_from_files:
  253. php.sls: test/salt/pillar/suse.sls
  254. verifier:
  255. inspec_tests:
  256. - path: test/integration/default