Saltstack Official Logrotate 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.

371 lines
11KB

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