Saltstack Official PHP Formula
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

237 rindas
6.2KB

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