Saltstack Official PHP Formula
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284
  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 `master`
  14. - name: debian-10-master-py3
  15. driver:
  16. image: netmanagers/salt-master-py3:debian-10
  17. provision_command:
  18. - curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
  19. - sh bootstrap-salt.sh -XdPbfrq -x python3 git master
  20. - name: ubuntu-1804-master-py3
  21. driver:
  22. image: netmanagers/salt-master-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 master
  26. - name: centos-8-master-py3
  27. driver:
  28. image: netmanagers/salt-master-py3:centos-8
  29. provision_command:
  30. - curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
  31. - sh bootstrap-salt.sh -XdPbfrq -x python3 git master
  32. - name: fedora-31-master-py3
  33. driver:
  34. image: netmanagers/salt-master-py3:fedora-31
  35. provision_command:
  36. - curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
  37. - sh bootstrap-salt.sh -XdPbfrq -x python3 git master
  38. - name: opensuse-leap-151-master-py3
  39. driver:
  40. image: netmanagers/salt-master-py3:opensuse-leap-15.1
  41. provision_command:
  42. - curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
  43. - sh bootstrap-salt.sh -XdPbfrq -x python3 git master
  44. run_command: /usr/lib/systemd/systemd
  45. # Workaround to avoid intermittent failures on `opensuse-leap-15.1`:
  46. # => SCP did not finish successfully (255): (Net::SCP::Error)
  47. transport:
  48. max_ssh_sessions: 1
  49. # Use the `develop` image temporarily until the `master` image is available
  50. # Not changing the name to minimise disruption across all of the formulas
  51. - name: amazonlinux-2-master-py2
  52. driver:
  53. image: netmanagers/salt-develop-py2:amazonlinux-2
  54. provision_command:
  55. - curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
  56. - sh bootstrap-salt.sh -XdPbfrq -x python2 git develop
  57. - name: arch-base-latest-master-py2
  58. driver:
  59. image: netmanagers/salt-master-py2:arch-base-latest
  60. provision_command:
  61. - curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
  62. - sh bootstrap-salt.sh -XdPbfrq -x python2 git master
  63. run_command: /usr/lib/systemd/systemd
  64. ## SALT `2019.2`
  65. - name: debian-10-2019-2-py3
  66. driver:
  67. image: netmanagers/salt-2019.2-py3:debian-10
  68. - name: debian-9-2019-2-py3
  69. driver:
  70. image: netmanagers/salt-2019.2-py3:debian-9
  71. - name: ubuntu-1804-2019-2-py3
  72. driver:
  73. image: netmanagers/salt-2019.2-py3:ubuntu-18.04
  74. - name: centos-8-2019-2-py3
  75. driver:
  76. image: netmanagers/salt-2019.2-py3:centos-8
  77. - name: fedora-31-2019-2-py3
  78. driver:
  79. image: netmanagers/salt-2019.2-py3:fedora-31
  80. - name: opensuse-leap-151-2019-2-py3
  81. driver:
  82. image: netmanagers/salt-2019.2-py3:opensuse-leap-15.1
  83. run_command: /usr/lib/systemd/systemd
  84. # Workaround to avoid intermittent failures on `opensuse-leap-15.1`:
  85. # => SCP did not finish successfully (255): (Net::SCP::Error)
  86. transport:
  87. max_ssh_sessions: 1
  88. - name: centos-7-2019-2-py2
  89. driver:
  90. image: netmanagers/salt-2019.2-py2:centos-7
  91. - name: amazonlinux-2-2019-2-py2
  92. driver:
  93. image: netmanagers/salt-2019.2-py2:amazonlinux-2
  94. - name: arch-base-latest-2019-2-py2
  95. driver:
  96. image: netmanagers/salt-2019.2-py2:arch-base-latest
  97. run_command: /usr/lib/systemd/systemd
  98. ## SALT `2018.3`
  99. - name: fedora-30-2018-3-py3
  100. driver:
  101. image: netmanagers/salt-2018.3-py3:fedora-30
  102. - name: debian-9-2018-3-py2
  103. driver:
  104. image: netmanagers/salt-2018.3-py2:debian-9
  105. - name: ubuntu-1604-2018-3-py2
  106. driver:
  107. image: netmanagers/salt-2018.3-py2:ubuntu-16.04
  108. - name: centos-7-2018-3-py2
  109. driver:
  110. image: netmanagers/salt-2018.3-py2:centos-7
  111. - name: opensuse-leap-151-2018-3-py2
  112. driver:
  113. image: netmanagers/salt-2018.3-py2:opensuse-leap-15.1
  114. run_command: /usr/lib/systemd/systemd
  115. # Workaround to avoid intermittent failures on `opensuse-leap-15.1`:
  116. # => SCP did not finish successfully (255): (Net::SCP::Error)
  117. transport:
  118. max_ssh_sessions: 1
  119. - name: amazonlinux-2-2018-3-py2
  120. driver:
  121. image: netmanagers/salt-2018.3-py2:amazonlinux-2
  122. - name: arch-base-latest-2018-3-py2
  123. driver:
  124. image: netmanagers/salt-2018.3-py2:arch-base-latest
  125. run_command: /usr/lib/systemd/systemd
  126. ## SALT `2017.7`
  127. - name: debian-8-2017-7-py2
  128. driver:
  129. image: netmanagers/salt-2017.7-py2:debian-8
  130. - name: ubuntu-1604-2017-7-py2
  131. driver:
  132. image: netmanagers/salt-2017.7-py2:ubuntu-16.04
  133. - name: centos-6-2017-7-py2
  134. driver:
  135. image: netmanagers/salt-2017.7-py2:centos-6
  136. run_command: /sbin/init
  137. - name: fedora-30-2017-7-py2
  138. driver:
  139. image: netmanagers/salt-2017.7-py2:fedora-30
  140. - name: opensuse-leap-151-2017-7-py2
  141. driver:
  142. image: netmanagers/salt-2017.7-py2:opensuse-leap-15.1
  143. run_command: /usr/lib/systemd/systemd
  144. # Workaround to avoid intermittent failures on `opensuse-leap-15.1`:
  145. # => SCP did not finish successfully (255): (Net::SCP::Error)
  146. transport:
  147. max_ssh_sessions: 1
  148. - name: amazonlinux-2-2017-7-py2
  149. driver:
  150. image: netmanagers/salt-2017.7-py2:amazonlinux-2
  151. - name: arch-base-latest-2017-7-py2
  152. driver:
  153. image: netmanagers/salt-2017.7-py2:arch-base-latest
  154. run_command: /usr/lib/systemd/systemd
  155. provisioner:
  156. name: salt_solo
  157. log_level: debug
  158. salt_install: none
  159. require_chef: false
  160. formula: php
  161. salt_copy_filter:
  162. - .kitchen
  163. - .git
  164. verifier:
  165. # https://www.inspec.io/
  166. name: inspec
  167. sudo: true
  168. # cli, documentation, html, progress, json, json-min, json-rspec, junit
  169. reporter:
  170. - cli
  171. suites:
  172. - name: debian
  173. includes:
  174. - debian-10-master-py3
  175. - debian-10-2019-2-py3
  176. - debian-9-2019-2-py3
  177. - debian-9-2018-3-py2
  178. - debian-8-2017-7-py2
  179. provisioner:
  180. state_top:
  181. base:
  182. '*':
  183. - php.repo
  184. - php.fpm.install
  185. - php.fpm.config
  186. - php.fpm.pools
  187. - php.modules
  188. - php.fpm.service
  189. pillars:
  190. top.sls:
  191. base:
  192. '*':
  193. - php
  194. pillars_from_files:
  195. php.sls: test/salt/pillar/debian.sls
  196. verifier:
  197. inspec_tests:
  198. - path: test/integration/default
  199. - name: ubuntu
  200. includes:
  201. - ubuntu-1804-master-py3
  202. - ubuntu-1804-2019-2-py3
  203. - ubuntu-1604-2018-3-py2
  204. - ubuntu-1604-2017-7-py2
  205. provisioner:
  206. state_top:
  207. base:
  208. '*':
  209. - php.repo
  210. - php.fpm.install
  211. - php.fpm.config
  212. - php.fpm.pools
  213. - php.modules
  214. - php.fpm.service
  215. pillars:
  216. top.sls:
  217. base:
  218. '*':
  219. - php
  220. - ubuntu
  221. pillars_from_files:
  222. php.sls: test/salt/pillar/debian.sls
  223. ubuntu.sls: test/salt/pillar/ubuntu.sls
  224. verifier:
  225. inspec_tests:
  226. - path: test/integration/default
  227. - name: redhat
  228. includes:
  229. - centos-8-master-py3
  230. - fedora-31-master-py3
  231. - amazonlinux-2-master-py2
  232. - centos-8-2019-2-py3
  233. - fedora-31-2019-2-py3
  234. - amazonlinux-2-2019-2-py2
  235. - centos-7-2019-2-py2
  236. - fedora-30-2018-3-py3
  237. - centos-7-2018-3-py2
  238. - amazonlinux-2-2018-3-py2
  239. - centos-6-2017-7-py2
  240. - fedora-30-2017-7-py2
  241. - amazonlinux-2-2017-7-py2
  242. provisioner:
  243. state_top:
  244. base:
  245. '*':
  246. - php
  247. pillars:
  248. top.sls:
  249. base:
  250. '*':
  251. - php
  252. pillars_from_files:
  253. php.sls: test/salt/pillar/redhat.sls
  254. verifier:
  255. inspec_tests:
  256. - path: test/integration/default
  257. - name: suse
  258. includes:
  259. - opensuse-leap-151-master-py3
  260. - opensuse-leap-151-2019-2-py3
  261. - opensuse-leap-151-2018-3-py2
  262. - opensuse-leap-151-2017-7-py2
  263. provisioner:
  264. state_top:
  265. base:
  266. '*':
  267. - php
  268. pillars:
  269. top.sls:
  270. base:
  271. '*':
  272. - php
  273. pillars_from_files:
  274. php.sls: test/salt/pillar/suse.sls
  275. verifier:
  276. inspec_tests:
  277. - path: test/integration/default