SuperTux88's Diaspora Saltstack 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ů.

249 lines
6.9KB

  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 `tiamat`
  14. - name: debian-10-tiamat-py3
  15. driver:
  16. image: saltimages/salt-tiamat-py3:debian-10
  17. - name: debian-9-tiamat-py3
  18. driver:
  19. image: saltimages/salt-tiamat-py3:debian-9
  20. - name: ubuntu-2004-tiamat-py3
  21. driver:
  22. image: saltimages/salt-tiamat-py3:ubuntu-20.04
  23. - name: ubuntu-1804-tiamat-py3
  24. driver:
  25. image: saltimages/salt-tiamat-py3:ubuntu-18.04
  26. - name: ubuntu-1604-tiamat-py3
  27. driver:
  28. image: saltimages/salt-tiamat-py3:ubuntu-16.04
  29. - name: centos-8-tiamat-py3
  30. driver:
  31. image: saltimages/salt-tiamat-py3:centos-8
  32. - name: centos-7-tiamat-py3
  33. driver:
  34. image: saltimages/salt-tiamat-py3:centos-7
  35. - name: amazonlinux-2-tiamat-py3
  36. driver:
  37. image: saltimages/salt-tiamat-py3:amazonlinux-2
  38. - name: oraclelinux-8-tiamat-py3
  39. driver:
  40. image: saltimages/salt-tiamat-py3:oraclelinux-8
  41. - name: oraclelinux-7-tiamat-py3
  42. driver:
  43. image: saltimages/salt-tiamat-py3:oraclelinux-7
  44. ## SALT `master`
  45. - name: debian-10-master-py3
  46. driver:
  47. image: saltimages/salt-master-py3:debian-10
  48. - name: ubuntu-2004-master-py3
  49. driver:
  50. image: saltimages/salt-master-py3:ubuntu-20.04
  51. - name: ubuntu-1804-master-py3
  52. driver:
  53. image: saltimages/salt-master-py3:ubuntu-18.04
  54. - name: centos-8-master-py3
  55. driver:
  56. image: saltimages/salt-master-py3:centos-8
  57. - name: fedora-32-master-py3
  58. driver:
  59. image: saltimages/salt-master-py3:fedora-32
  60. - name: fedora-31-master-py3
  61. driver:
  62. image: saltimages/salt-master-py3:fedora-31
  63. - name: opensuse-leap-152-master-py3
  64. driver:
  65. image: saltimages/salt-master-py3:opensuse-leap-15.2
  66. run_command: /usr/lib/systemd/systemd
  67. # Workaround to avoid intermittent failures on `opensuse-leap-15.2`:
  68. # => SCP did not finish successfully (255): (Net::SCP::Error)
  69. transport:
  70. max_ssh_sessions: 1
  71. - name: amazonlinux-2-master-py3
  72. driver:
  73. image: saltimages/salt-master-py3:amazonlinux-2
  74. ## SALT `3001`
  75. - name: debian-10-3001-py3
  76. driver:
  77. image: saltimages/salt-3001-py3:debian-10
  78. - name: debian-9-3001-py3
  79. driver:
  80. image: saltimages/salt-3001-py3:debian-9
  81. - name: ubuntu-2004-3001-py3
  82. driver:
  83. image: saltimages/salt-3001-py3:ubuntu-20.04
  84. - name: ubuntu-1804-3001-py3
  85. driver:
  86. image: saltimages/salt-3001-py3:ubuntu-18.04
  87. - name: centos-8-3001-py3
  88. driver:
  89. image: saltimages/salt-3001-py3:centos-8
  90. - name: centos-7-3001-py3
  91. driver:
  92. image: saltimages/salt-3001-py3:centos-7
  93. - name: fedora-32-3001-py3
  94. driver:
  95. image: saltimages/salt-3001-py3:fedora-32
  96. - name: fedora-31-3001-py3
  97. driver:
  98. image: saltimages/salt-3001-py3:fedora-31
  99. - name: opensuse-leap-152-3001-py3
  100. driver:
  101. image: saltimages/salt-3001-py3:opensuse-leap-15.2
  102. run_command: /usr/lib/systemd/systemd
  103. # Workaround to avoid intermittent failures on `opensuse-leap-15.2`:
  104. # => SCP did not finish successfully (255): (Net::SCP::Error)
  105. transport:
  106. max_ssh_sessions: 1
  107. - name: amazonlinux-2-3001-py3
  108. driver:
  109. image: saltimages/salt-3001-py3:amazonlinux-2
  110. - name: oraclelinux-8-3001-py3
  111. driver:
  112. image: saltimages/salt-3001-py3:oraclelinux-8
  113. - name: oraclelinux-7-3001-py3
  114. driver:
  115. image: saltimages/salt-3001-py3:oraclelinux-7
  116. ## SALT `3000.3`
  117. - name: debian-10-3000-3-py3
  118. driver:
  119. image: saltimages/salt-3000.3-py3:debian-10
  120. - name: debian-9-3000-3-py3
  121. driver:
  122. image: saltimages/salt-3000.3-py3:debian-9
  123. - name: ubuntu-1804-3000-3-py3
  124. driver:
  125. image: saltimages/salt-3000.3-py3:ubuntu-18.04
  126. - name: centos-8-3000-3-py3
  127. driver:
  128. image: saltimages/salt-3000.3-py3:centos-8
  129. - name: centos-7-3000-3-py3
  130. driver:
  131. image: saltimages/salt-3000.3-py3:centos-7
  132. - name: fedora-31-3000-3-py3
  133. driver:
  134. image: saltimages/salt-3000.3-py3:fedora-31
  135. - name: opensuse-leap-152-3000-3-py3
  136. driver:
  137. image: saltimages/salt-3000.3-py3:opensuse-leap-15.2
  138. run_command: /usr/lib/systemd/systemd
  139. # Workaround to avoid intermittent failures on `opensuse-leap-15.2`:
  140. # => SCP did not finish successfully (255): (Net::SCP::Error)
  141. transport:
  142. max_ssh_sessions: 1
  143. - name: amazonlinux-2-3000-3-py3
  144. driver:
  145. image: saltimages/salt-3000.3-py3:amazonlinux-2
  146. - name: ubuntu-1804-3000-3-py2
  147. driver:
  148. image: saltimages/salt-3000.3-py2:ubuntu-18.04
  149. - name: ubuntu-1604-3000-3-py2
  150. driver:
  151. image: saltimages/salt-3000.3-py2:ubuntu-16.04
  152. - name: arch-base-latest-3000-3-py2
  153. driver:
  154. image: saltimages/salt-3000.3-py2:arch-base-latest
  155. run_command: /usr/lib/systemd/systemd
  156. ## SALT `2019.2`
  157. - name: centos-6-2019-2-py2
  158. driver:
  159. image: saltimages/salt-2019.2-py2:centos-6
  160. run_command: /sbin/init
  161. - name: amazonlinux-1-2019-2-py2
  162. driver:
  163. image: saltimages/salt-2019.2-py2:amazonlinux-1
  164. run_command: /sbin/init
  165. provisioner:
  166. name: salt_solo
  167. log_level: debug
  168. salt_install: none
  169. require_chef: false
  170. formula: diaspora
  171. salt_copy_filter:
  172. - .kitchen
  173. - .git
  174. verifier:
  175. # https://www.inspec.io/
  176. name: inspec
  177. sudo: true
  178. # cli, documentation, html, progress, json, json-min, json-rspec, junit
  179. reporter:
  180. - cli
  181. suites:
  182. - name: default
  183. provisioner:
  184. state_top:
  185. base:
  186. '*':
  187. - diaspora._mapdata
  188. - diaspora
  189. - redis
  190. - postgres
  191. pillars:
  192. top.sls:
  193. base:
  194. '*':
  195. - diaspora
  196. - tests
  197. pillars_from_files:
  198. diaspora.sls: pillar.example
  199. tests.sls: test/salt/pillar/tests.sls
  200. dependencies:
  201. - name: redis
  202. path: test/salt/states
  203. - name: postgres
  204. path: test/salt/states
  205. verifier:
  206. inspec_tests:
  207. - path: test/integration/_mapdata
  208. - path: test/integration/default
  209. - name: mysql
  210. includes:
  211. - debian-10-master-py3
  212. - debian-9-3001-py3
  213. - ubuntu-2004-master-py3
  214. - ubuntu-1804-master-py3
  215. provisioner:
  216. state_top:
  217. base:
  218. '*':
  219. - diaspora
  220. - redis
  221. - mysql
  222. pillars:
  223. top.sls:
  224. base:
  225. '*':
  226. - diaspora
  227. - tests
  228. - mysql
  229. pillars_from_files:
  230. diaspora.sls: pillar.example
  231. tests.sls: test/salt/pillar/tests.sls
  232. mysql.sls: test/salt/pillar/mysql.sls
  233. dependencies:
  234. - name: redis
  235. path: test/salt/states
  236. - name: mysql
  237. path: test/salt/states
  238. verifier:
  239. inspec_tests:
  240. - path: test/integration/default