Saltstack Official PHP Formula
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

208 lines
5.5KB

  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
  145. pillars:
  146. top.sls:
  147. base:
  148. '*':
  149. - php
  150. pillars_from_files:
  151. php.sls: test/salt/pillar/debian.sls
  152. verifier:
  153. inspec_tests:
  154. - path: test/integration/default
  155. - name: redhat
  156. includes:
  157. - centos-7-develop-py3
  158. - fedora-29-develop-py3
  159. - centos-7-2019-2-py3
  160. - fedora-29-2019-2-py3
  161. - centos-7-2018-3-py2
  162. - fedora-29-2018-3-py2
  163. - centos-6-2017-7-py2
  164. - fedora-28-2017-7-py2
  165. provisioner:
  166. state_top:
  167. base:
  168. '*':
  169. - php
  170. pillars:
  171. top.sls:
  172. base:
  173. '*':
  174. - php
  175. pillars_from_files:
  176. php.sls: test/salt/pillar/redhat.sls
  177. verifier:
  178. inspec_tests:
  179. - path: test/integration/default
  180. - name: suse
  181. includes:
  182. - opensuse-leap-15-develop-py3
  183. - opensuse-leap-15-2019-2-py3
  184. - opensuse-leap-42-2018-3-py2
  185. - opensuse-leap-42-2017-7-py2
  186. provisioner:
  187. state_top:
  188. base:
  189. '*':
  190. - php
  191. pillars:
  192. top.sls:
  193. base:
  194. '*':
  195. - php
  196. pillars_from_files:
  197. php.sls: test/salt/pillar/suse.sls
  198. verifier:
  199. inspec_tests:
  200. - path: test/integration/default