Saltstack Official PHP Formula
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  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. provisioner:
  21. pillars_from_files:
  22. php.sls: test/salt/pillar/debian.sls
  23. - name: ubuntu-1804-develop-py3
  24. driver:
  25. image: netmanagers/salt-develop-py3:ubuntu-18.04
  26. provision_command:
  27. - curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
  28. - sh bootstrap-salt.sh -XdPbfrq -x python3 git develop
  29. provisioner:
  30. pillars_from_files:
  31. php.sls: test/salt/pillar/debian.sls
  32. - name: centos-7-develop-py3
  33. driver:
  34. image: netmanagers/salt-develop-py3:centos-7
  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. provisioner:
  39. pillars_from_files:
  40. php.sls: test/salt/pillar/redhat.sls
  41. - name: fedora-29-develop-py3
  42. driver:
  43. image: netmanagers/salt-develop-py3:fedora-29
  44. provision_command:
  45. - curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
  46. - sh bootstrap-salt.sh -XdPbfrq -x python3 git develop
  47. provisioner:
  48. pillars_from_files:
  49. php.sls: test/salt/pillar/redhat.sls
  50. - name: opensuse-leap-15-develop-py3
  51. driver:
  52. image: netmanagers/salt-develop-py3:opensuse-leap-15
  53. provision_command:
  54. - curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
  55. - sh bootstrap-salt.sh -XdPbfrq -x python3 git develop
  56. run_command: /usr/lib/systemd/systemd
  57. provisioner:
  58. pillars_from_files:
  59. php.sls: test/salt/pillar/suse.sls
  60. ## SALT 2019.2
  61. - name: debian-9-2019-2-py3
  62. driver:
  63. image: netmanagers/salt-2019.2-py3:debian-9
  64. provisioner:
  65. pillars_from_files:
  66. php.sls: test/salt/pillar/debian.sls
  67. - name: ubuntu-1804-2019-2-py3
  68. driver:
  69. image: netmanagers/salt-2019.2-py3:ubuntu-18.04
  70. provisioner:
  71. pillars_from_files:
  72. php.sls: test/salt/pillar/debian.sls
  73. - name: centos-7-2019-2-py3
  74. driver:
  75. image: netmanagers/salt-2019.2-py3:centos-7
  76. provisioner:
  77. pillars_from_files:
  78. php.sls: test/salt/pillar/redhat.sls
  79. - name: fedora-29-2019-2-py3
  80. driver:
  81. image: netmanagers/salt-2019.2-py3:fedora-29
  82. provisioner:
  83. pillars_from_files:
  84. php.sls: test/salt/pillar/redhat.sls
  85. - name: opensuse-leap-15-2019-2-py3
  86. driver:
  87. image: netmanagers/salt-2019.2-py3:opensuse-leap-15
  88. run_command: /usr/lib/systemd/systemd
  89. provisioner:
  90. pillars_from_files:
  91. php.sls: test/salt/pillar/suse.sls
  92. ## SALT 2018.3
  93. - name: debian-9-2018-3-py2
  94. driver:
  95. image: netmanagers/salt-2018.3-py2:debian-9
  96. provisioner:
  97. pillars_from_files:
  98. php.sls: test/salt/pillar/debian.sls
  99. - name: ubuntu-1604-2018-3-py2
  100. driver:
  101. image: netmanagers/salt-2018.3-py2:ubuntu-16.04
  102. provisioner:
  103. pillars_from_files:
  104. php.sls: test/salt/pillar/debian.sls
  105. - name: centos-7-2018-3-py2
  106. driver:
  107. image: netmanagers/salt-2018.3-py2:centos-7
  108. provisioner:
  109. pillars_from_files:
  110. php.sls: test/salt/pillar/redhat.sls
  111. - name: fedora-29-2018-3-py2
  112. driver:
  113. image: netmanagers/salt-2018.3-py2:fedora-29
  114. provisioner:
  115. pillars_from_files:
  116. php.sls: test/salt/pillar/redhat.sls
  117. # TODO: Use this when fixed instead of `opensuse-leap-42`
  118. # Ref: https://github.com/netmanagers/salt-image-builder/issues/2
  119. # - name: opensuse-leap-15-2018-3-py2
  120. # driver:
  121. # image: netmanagers/salt-2018.3-py2:opensuse-leap-15
  122. # run_command: /usr/lib/systemd/systemd
  123. - name: opensuse-leap-42-2018-3-py2
  124. driver:
  125. image: netmanagers/salt-2018.3-py2:opensuse-leap-42
  126. run_command: /usr/lib/systemd/systemd
  127. provisioner:
  128. pillars_from_files:
  129. php.sls: test/salt/pillar/suse.sls
  130. ## SALT 2017.7
  131. - name: debian-8-2017-7-py2
  132. driver:
  133. image: netmanagers/salt-2017.7-py2:debian-8
  134. provisioner:
  135. pillars_from_files:
  136. php.sls: test/salt/pillar/debian.sls
  137. - name: ubuntu-1604-2017-7-py2
  138. driver:
  139. image: netmanagers/salt-2017.7-py2:ubuntu-16.04
  140. provisioner:
  141. pillars_from_files:
  142. php.sls: test/salt/pillar/debian.sls
  143. - name: centos-6-2017-7-py2
  144. driver:
  145. image: netmanagers/salt-2017.7-py2:centos-6
  146. run_command: /sbin/init
  147. provisioner:
  148. pillars_from_files:
  149. php.sls: test/salt/pillar/redhat.sls
  150. - name: fedora-28-2017-7-py2
  151. driver:
  152. image: netmanagers/salt-2017.7-py2:fedora-28
  153. provisioner:
  154. pillars_from_files:
  155. php.sls: test/salt/pillar/redhat.sls
  156. - name: opensuse-leap-42-2017-7-py2
  157. driver:
  158. image: netmanagers/salt-2017.7-py2:opensuse-leap-42
  159. run_command: /usr/lib/systemd/systemd
  160. provisioner:
  161. pillars_from_files:
  162. php.sls: test/salt/pillar/suse.sls
  163. provisioner:
  164. name: salt_solo
  165. log_level: info
  166. salt_install: none
  167. require_chef: false
  168. formula: php
  169. salt_copy_filter:
  170. - .kitchen
  171. - .git
  172. state_top:
  173. base:
  174. '*':
  175. - php
  176. pillars:
  177. top.sls:
  178. base:
  179. '*':
  180. - php
  181. verifier:
  182. # https://www.inspec.io/
  183. name: inspec
  184. sudo: true
  185. # cli, documentation, html, progress, json, json-min, json-rspec, junit
  186. reporter:
  187. - cli
  188. inspec_tests:
  189. - path: test/integration/default
  190. suites:
  191. - name: default