Saltstack Official PHP Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

184 lines
5.3KB

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