Saltstack Official Salt Formula
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

319 行
8.8KB

  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 `3001`
  14. - name: debian-10-3001-py3
  15. driver:
  16. image: saltimages/salt-3001-py3:debian-10
  17. - name: debian-9-3001-py3
  18. driver:
  19. image: saltimages/salt-3001-py3:debian-9
  20. - name: ubuntu-2004-3001-py3
  21. driver:
  22. image: saltimages/salt-3001-py3:ubuntu-20.04
  23. - name: ubuntu-1804-3001-py3
  24. driver:
  25. image: saltimages/salt-3001-py3:ubuntu-18.04
  26. - name: centos-8-3001-py3
  27. driver:
  28. image: saltimages/salt-3001-py3:centos-8
  29. - name: centos-7-3001-py3
  30. driver:
  31. image: saltimages/salt-3001-py3:centos-7
  32. - name: fedora-32-3001-py3
  33. driver:
  34. image: saltimages/salt-3001-py3:fedora-32
  35. - name: fedora-31-3001-py3
  36. driver:
  37. image: saltimages/salt-3001-py3:fedora-31
  38. - name: opensuse-leap-152-3001-py3
  39. driver:
  40. image: saltimages/salt-3001-py3:opensuse-leap-15.2
  41. run_command: /usr/lib/systemd/systemd
  42. # Workaround to avoid intermittent failures on `opensuse-leap-15.2`:
  43. # => SCP did not finish successfully (255): (Net::SCP::Error)
  44. transport:
  45. max_ssh_sessions: 1
  46. - name: amazonlinux-2-3001-py3
  47. driver:
  48. image: saltimages/salt-3001-py3:amazonlinux-2
  49. - name: oraclelinux-8-3001-py3
  50. driver:
  51. image: saltimages/salt-3001-py3:oraclelinux-8
  52. - name: oraclelinux-7-3001-py3
  53. driver:
  54. image: saltimages/salt-3001-py3:oraclelinux-7
  55. - name: gentoo-stage3-latest-3001-py3
  56. driver:
  57. image: saltimages/salt-3001-py3:gentoo-stage3-latest
  58. run_command: /sbin/init
  59. - name: gentoo-stage3-systemd-3001-py3
  60. driver:
  61. image: saltimages/salt-3001-py3:gentoo-stage3-systemd
  62. ## SALT `3000.3`
  63. - name: debian-10-3000-3-py3
  64. driver:
  65. image: saltimages/salt-3000.3-py3:debian-10
  66. - name: debian-9-3000-3-py3
  67. driver:
  68. image: saltimages/salt-3000.3-py3:debian-9
  69. - name: ubuntu-1804-3000-3-py3
  70. driver:
  71. image: saltimages/salt-3000.3-py3:ubuntu-18.04
  72. - name: centos-8-3000-3-py3
  73. driver:
  74. image: saltimages/salt-3000.3-py3:centos-8
  75. - name: centos-7-3000-3-py3
  76. driver:
  77. image: saltimages/salt-3000.3-py3:centos-7
  78. - name: fedora-31-3000-3-py3
  79. driver:
  80. image: saltimages/salt-3000.3-py3:fedora-31
  81. - name: opensuse-leap-152-3000-3-py3
  82. driver:
  83. image: saltimages/salt-3000.3-py3:opensuse-leap-15.2
  84. run_command: /usr/lib/systemd/systemd
  85. # Workaround to avoid intermittent failures on `opensuse-leap-15.2`:
  86. # => SCP did not finish successfully (255): (Net::SCP::Error)
  87. transport:
  88. max_ssh_sessions: 1
  89. - name: amazonlinux-2-3000-3-py3
  90. driver:
  91. image: saltimages/salt-3000.3-py3:amazonlinux-2
  92. - name: oraclelinux-8-3000-3-py3
  93. driver:
  94. image: saltimages/salt-3000.3-py3:oraclelinux-8
  95. - name: oraclelinux-7-3000-3-py3
  96. driver:
  97. image: saltimages/salt-3000.3-py3:oraclelinux-7
  98. - name: ubuntu-1804-3000-3-py2
  99. driver:
  100. image: saltimages/salt-3000.3-py2:ubuntu-18.04
  101. - name: ubuntu-1604-3000-3-py2
  102. driver:
  103. image: saltimages/salt-3000.3-py2:ubuntu-16.04
  104. - name: gentoo-stage3-latest-3000-3-py3
  105. driver:
  106. image: saltimages/salt-3000.3-py3:gentoo-stage3-latest
  107. run_command: /sbin/init
  108. - name: gentoo-stage3-systemd-3000-3-py3
  109. driver:
  110. image: saltimages/salt-3000.3-py3:gentoo-stage3-systemd
  111. ## SALT `2019.2`
  112. - name: debian-10-2019-2-py3
  113. driver:
  114. image: saltimages/salt-2019.2-py3:debian-10
  115. - name: debian-9-2019-2-py3
  116. driver:
  117. image: saltimages/salt-2019.2-py3:debian-9
  118. - name: ubuntu-1804-2019-2-py3
  119. driver:
  120. image: saltimages/salt-2019.2-py3:ubuntu-18.04
  121. - name: ubuntu-1604-2019-2-py3
  122. driver:
  123. image: saltimages/salt-2019.2-py3:ubuntu-16.04
  124. - name: centos-8-2019-2-py3
  125. driver:
  126. image: saltimages/salt-2019.2-py3:centos-8
  127. - name: centos-7-2019-2-py3
  128. driver:
  129. image: saltimages/salt-2019.2-py3:centos-7
  130. - name: fedora-31-2019-2-py3
  131. driver:
  132. image: saltimages/salt-2019.2-py3:fedora-31
  133. - name: opensuse-leap-152-2019-2-py3
  134. driver:
  135. image: saltimages/salt-2019.2-py3:opensuse-leap-15.2
  136. run_command: /usr/lib/systemd/systemd
  137. # Workaround to avoid intermittent failures on `opensuse-leap-15.2`:
  138. # => SCP did not finish successfully (255): (Net::SCP::Error)
  139. transport:
  140. max_ssh_sessions: 1
  141. - name: amazonlinux-2-2019-2-py3
  142. driver:
  143. image: saltimages/salt-2019.2-py3:amazonlinux-2
  144. - name: centos-6-2019-2-py2
  145. driver:
  146. image: saltimages/salt-2019.2-py2:centos-6
  147. run_command: /sbin/init
  148. - name: amazonlinux-1-2019-2-py2
  149. driver:
  150. image: saltimages/salt-2019.2-py2:amazonlinux-1
  151. run_command: /sbin/init
  152. provisioner:
  153. name: salt_solo
  154. log_level: debug
  155. salt_install: none
  156. require_chef: false
  157. formula: salt
  158. salt_copy_filter:
  159. - .kitchen
  160. - .git
  161. verifier:
  162. # https://www.inspec.io/
  163. name: inspec
  164. sudo: true
  165. # cli, documentation, html, progress, json, json-min, json-rspec, junit
  166. reporter:
  167. - cli
  168. suites:
  169. - name: v3001-py3
  170. includes:
  171. - debian-10-3001-py3
  172. - debian-9-3001-py3
  173. - ubuntu-2004-3001-py3
  174. - ubuntu-1804-3001-py3
  175. - centos-8-3001-py3
  176. - centos-7-3001-py3
  177. - fedora-32-3001-py3
  178. - fedora-31-3001-py3
  179. - opensuse-leap-152-3001-py3
  180. - amazonlinux-2-3001-py3
  181. - oraclelinux-8-3001-py3
  182. - oraclelinux-7-3001-py3
  183. - gentoo-stage3-latest-3001-py3
  184. - gentoo-stage3-systemd-3001-py3
  185. provisioner:
  186. state_top:
  187. base:
  188. '*':
  189. - salt.pkgrepo
  190. - salt.master
  191. - salt.minion
  192. pillars:
  193. top.sls:
  194. base:
  195. '*':
  196. - salt
  197. - v3001-py3
  198. pillars_from_files:
  199. salt.sls: test/salt/pillar/salt.sls
  200. v3001-py3.sls: test/salt/pillar/v3001-py3.sls
  201. verifier:
  202. inspec_tests:
  203. - path: test/integration/v3001-py3
  204. - name: v3000-py3
  205. includes:
  206. - debian-10-3000-3-py3
  207. - debian-9-3000-3-py3
  208. - ubuntu-1804-3000-3-py3
  209. - centos-8-3000-3-py3
  210. - centos-7-3000-3-py3
  211. - fedora-31-3000-3-py3
  212. - opensuse-leap-152-3000-3-py3
  213. - amazonlinux-2-3000-3-py3
  214. - oraclelinux-8-3000-3-py3
  215. - oraclelinux-7-3000-3-py3
  216. - gentoo-stage3-latest-3000-3-py3
  217. - gentoo-stage3-systemd-3000-3-py3
  218. provisioner:
  219. state_top:
  220. base:
  221. '*':
  222. - salt.pkgrepo
  223. - salt.master
  224. - salt.minion
  225. pillars:
  226. top.sls:
  227. base:
  228. '*':
  229. - salt
  230. - v3000-py3
  231. pillars_from_files:
  232. salt.sls: test/salt/pillar/salt.sls
  233. v3000-py3.sls: test/salt/pillar/v3000-py3.sls
  234. verifier:
  235. inspec_tests:
  236. - path: test/integration/v3000-py3
  237. - name: v3000-py2
  238. includes:
  239. - ubuntu-1804-3000-3-py2
  240. - ubuntu-1604-3000-3-py2
  241. provisioner:
  242. state_top:
  243. base:
  244. '*':
  245. - salt.pkgrepo
  246. - salt.master
  247. - salt.minion
  248. pillars:
  249. top.sls:
  250. base:
  251. '*':
  252. - salt
  253. - v3000-py2
  254. pillars_from_files:
  255. salt.sls: test/salt/pillar/salt.sls
  256. v3000-py2.sls: test/salt/pillar/v3000-py2.sls
  257. verifier:
  258. inspec_tests:
  259. - path: test/integration/v3000-py2
  260. - name: v201902-py3
  261. includes:
  262. - debian-10-2019-2-py3
  263. - debian-9-2019-2-py3
  264. - ubuntu-1804-2019-2-py3
  265. - ubuntu-1604-2019-2-py3
  266. - centos-8-2019-2-py3
  267. - centos-7-2019-2-py3
  268. - fedora-31-2019-2-py3
  269. - opensuse-leap-152-2019-2-py3
  270. - amazonlinux-2-2019-2-py3
  271. provisioner:
  272. state_top:
  273. base:
  274. '*':
  275. - salt.pkgrepo
  276. - salt.master
  277. - salt.minion
  278. pillars:
  279. top.sls:
  280. base:
  281. '*':
  282. - salt
  283. - v201902-py3
  284. pillars_from_files:
  285. salt.sls: test/salt/pillar/salt.sls
  286. v201902-py3.sls: test/salt/pillar/v201902-py3.sls
  287. verifier:
  288. inspec_tests:
  289. - path: test/integration/v201902-py3
  290. - name: v201902-py2
  291. includes:
  292. - centos-6-2019-2-py2
  293. - amazonlinux-1-2019-2-py2
  294. provisioner:
  295. state_top:
  296. base:
  297. '*':
  298. - salt.pkgrepo
  299. - salt.master
  300. - salt.minion
  301. pillars:
  302. top.sls:
  303. base:
  304. '*':
  305. - salt
  306. - v201902-py2
  307. pillars_from_files:
  308. salt.sls: test/salt/pillar/salt.sls
  309. v201902-py2.sls: test/salt/pillar/v201902-py2.sls
  310. verifier:
  311. inspec_tests:
  312. - path: test/integration/v201902-py2