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.

kitchen.yml 6.8KB

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