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.

227 líneas
6.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 `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. excludes:
  116. - debian-9-develop-py3
  117. - ubuntu-1804-develop-py3
  118. - centos-7-develop-py3
  119. - fedora-29-develop-py3
  120. - opensuse-leap-15-develop-py3
  121. - debian-9-2019-2-py3
  122. - ubuntu-1804-2019-2-py3
  123. - centos-7-2019-2-py3
  124. - fedora-29-2019-2-py3
  125. - opensuse-leap-15-2019-2-py3
  126. - debian-9-2018-3-py2
  127. - ubuntu-1604-2018-3-py2
  128. - centos-7-2018-3-py2
  129. - fedora-29-2018-3-py2
  130. - opensuse-leap-42-2018-3-py2
  131. - debian-8-2017-7-py2
  132. - ubuntu-1604-2017-7-py2
  133. - centos-6-2017-7-py2
  134. - fedora-28-2017-7-py2
  135. - opensuse-leap-42-2017-7-py2
  136. provisioner:
  137. state_top:
  138. base:
  139. '*':
  140. - php
  141. pillars:
  142. top.sls:
  143. base:
  144. '*':
  145. - php
  146. verifier:
  147. inspec_tests:
  148. - path: test/integration/default
  149. - name: debian
  150. includes:
  151. - debian-9-develop-py3
  152. - ubuntu-1804-develop-py3
  153. - debian-9-2019-2-py3
  154. - ubuntu-1804-2019-2-py3
  155. - debian-9-2018-3-py2
  156. - ubuntu-1604-2018-3-py2
  157. - debian-8-2017-7-py2
  158. - ubuntu-1604-2017-7-py2
  159. provisioner:
  160. state_top:
  161. base:
  162. '*':
  163. - php
  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: redhat
  175. includes:
  176. - centos-7-develop-py3
  177. - fedora-29-develop-py3
  178. - centos-7-2019-2-py3
  179. - fedora-29-2019-2-py3
  180. - centos-7-2018-3-py2
  181. - fedora-29-2018-3-py2
  182. - centos-6-2017-7-py2
  183. - fedora-28-2017-7-py2
  184. provisioner:
  185. state_top:
  186. base:
  187. '*':
  188. - php
  189. pillars:
  190. top.sls:
  191. base:
  192. '*':
  193. - php
  194. pillars_from_files:
  195. php.sls: test/salt/pillar/redhat.sls
  196. verifier:
  197. inspec_tests:
  198. - path: test/integration/default
  199. - name: suse
  200. includes:
  201. - opensuse-leap-15-develop-py3
  202. - opensuse-leap-15-2019-2-py3
  203. - opensuse-leap-42-2018-3-py2
  204. - opensuse-leap-42-2017-7-py2
  205. provisioner:
  206. state_top:
  207. base:
  208. '*':
  209. - php
  210. pillars:
  211. top.sls:
  212. base:
  213. '*':
  214. - php
  215. pillars_from_files:
  216. php.sls: test/salt/pillar/suse.sls
  217. verifier:
  218. inspec_tests:
  219. - path: test/integration/default