Saltstack Official Salt Formula
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

213 rindas
5.6KB

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