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.

260 lines
7.1KB

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