Saltstack Official PHP Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

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. # Workaround to avoid intermittent failures on `opensuse-leap-15`:
  46. # => SCP did not finish successfully (255): (Net::SCP::Error)
  47. transport:
  48. max_ssh_sessions: 1
  49. - name: amazonlinux-2-develop-py2
  50. driver:
  51. image: netmanagers/salt-develop-py2:amazonlinux-2
  52. provision_command:
  53. - curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
  54. - sh bootstrap-salt.sh -XdPbfrq -x python2 git develop
  55. ## SALT `2019.2`
  56. - name: debian-9-2019-2-py3
  57. driver:
  58. image: netmanagers/salt-2019.2-py3:debian-9
  59. - name: ubuntu-1804-2019-2-py3
  60. driver:
  61. image: netmanagers/salt-2019.2-py3:ubuntu-18.04
  62. - name: centos-7-2019-2-py3
  63. driver:
  64. image: netmanagers/salt-2019.2-py3:centos-7
  65. - name: fedora-30-2019-2-py3
  66. driver:
  67. image: netmanagers/salt-2019.2-py3:fedora-30
  68. - name: opensuse-leap-15-2019-2-py3
  69. driver:
  70. image: netmanagers/salt-2019.2-py3:opensuse-leap-15
  71. run_command: /usr/lib/systemd/systemd
  72. # Workaround to avoid intermittent failures on `opensuse-leap-15`:
  73. # => SCP did not finish successfully (255): (Net::SCP::Error)
  74. transport:
  75. max_ssh_sessions: 1
  76. - name: amazonlinux-2-2019-2-py2
  77. driver:
  78. image: netmanagers/salt-2019.2-py2:amazonlinux-2
  79. ## SALT `2018.3`
  80. - name: debian-9-2018-3-py2
  81. driver:
  82. image: netmanagers/salt-2018.3-py2:debian-9
  83. - name: ubuntu-1604-2018-3-py2
  84. driver:
  85. image: netmanagers/salt-2018.3-py2:ubuntu-16.04
  86. - name: centos-7-2018-3-py2
  87. driver:
  88. image: netmanagers/salt-2018.3-py2:centos-7
  89. - name: fedora-29-2018-3-py2
  90. driver:
  91. image: netmanagers/salt-2018.3-py2:fedora-29
  92. - name: opensuse-leap-15-2018-3-py2
  93. driver:
  94. image: netmanagers/salt-2018.3-py2:opensuse-leap-15
  95. run_command: /usr/lib/systemd/systemd
  96. # Workaround to avoid intermittent failures on `opensuse-leap-15`:
  97. # => SCP did not finish successfully (255): (Net::SCP::Error)
  98. transport:
  99. max_ssh_sessions: 1
  100. - name: amazonlinux-2-2018-3-py2
  101. driver:
  102. image: netmanagers/salt-2018.3-py2:amazonlinux-2
  103. ## SALT `2017.7`
  104. - name: debian-8-2017-7-py2
  105. driver:
  106. image: netmanagers/salt-2017.7-py2:debian-8
  107. - name: ubuntu-1604-2017-7-py2
  108. driver:
  109. image: netmanagers/salt-2017.7-py2:ubuntu-16.04
  110. - name: centos-6-2017-7-py2
  111. driver:
  112. image: netmanagers/salt-2017.7-py2:centos-6
  113. run_command: /sbin/init
  114. - name: fedora-29-2017-7-py2
  115. driver:
  116. image: netmanagers/salt-2017.7-py2:fedora-29
  117. - name: opensuse-leap-15-2017-7-py2
  118. driver:
  119. image: netmanagers/salt-2017.7-py2:opensuse-leap-15
  120. run_command: /usr/lib/systemd/systemd
  121. # Workaround to avoid intermittent failures on `opensuse-leap-15`:
  122. # => SCP did not finish successfully (255): (Net::SCP::Error)
  123. transport:
  124. max_ssh_sessions: 1
  125. - name: amazonlinux-2-2017-7-py2
  126. driver:
  127. image: netmanagers/salt-2017.7-py2:amazonlinux-2
  128. provisioner:
  129. name: salt_solo
  130. log_level: debug
  131. salt_install: none
  132. require_chef: false
  133. formula: php
  134. salt_copy_filter:
  135. - .kitchen
  136. - .git
  137. verifier:
  138. # https://www.inspec.io/
  139. name: inspec
  140. sudo: true
  141. # cli, documentation, html, progress, json, json-min, json-rspec, junit
  142. reporter:
  143. - cli
  144. suites:
  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