Saltstack Official Users 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ů.

193 lines
5.5KB

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