Saltstack Official PHP Formula
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  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. - ubuntu-1804-develop-py3
  134. - debian-9-2019-2-py3
  135. - ubuntu-1804-2019-2-py3
  136. - debian-9-2018-3-py2
  137. - ubuntu-1604-2018-3-py2
  138. - debian-8-2017-7-py2
  139. - ubuntu-1604-2017-7-py2
  140. provisioner:
  141. state_top:
  142. base:
  143. '*':
  144. - php.repo
  145. - php.fpm.install
  146. - php.fpm.config
  147. - php.fpm.pools
  148. - php.modules
  149. - php.fpm.service
  150. pillars:
  151. top.sls:
  152. base:
  153. '*':
  154. - php
  155. pillars_from_files:
  156. php.sls: test/salt/pillar/debian.sls
  157. verifier:
  158. inspec_tests:
  159. - path: test/integration/default
  160. - name: redhat
  161. includes:
  162. - centos-7-develop-py3
  163. - fedora-29-develop-py3
  164. - centos-7-2019-2-py3
  165. - fedora-29-2019-2-py3
  166. - centos-7-2018-3-py2
  167. - fedora-29-2018-3-py2
  168. - centos-6-2017-7-py2
  169. - fedora-28-2017-7-py2
  170. provisioner:
  171. state_top:
  172. base:
  173. '*':
  174. - php
  175. pillars:
  176. top.sls:
  177. base:
  178. '*':
  179. - php
  180. pillars_from_files:
  181. php.sls: test/salt/pillar/redhat.sls
  182. verifier:
  183. inspec_tests:
  184. - path: test/integration/default
  185. - name: suse
  186. includes:
  187. - opensuse-leap-15-develop-py3
  188. - opensuse-leap-15-2019-2-py3
  189. - opensuse-leap-42-2018-3-py2
  190. - opensuse-leap-42-2017-7-py2
  191. provisioner:
  192. state_top:
  193. base:
  194. '*':
  195. - php
  196. pillars:
  197. top.sls:
  198. base:
  199. '*':
  200. - php
  201. pillars_from_files:
  202. php.sls: test/salt/pillar/suse.sls
  203. verifier:
  204. inspec_tests:
  205. - path: test/integration/default