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.

kitchen.yml 8.3KB

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