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

177 行
4.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: /usr/lib/systemd/systemd
  10. provisioner:
  11. name: salt_solo
  12. log_level: debug
  13. salt_install: none
  14. require_chef: false
  15. formula: apt-cacher
  16. salt_copy_filter:
  17. - .kitchen
  18. - .git
  19. platforms:
  20. ## SALT `tiamat`
  21. - name: debian-11-tiamat-py3
  22. driver:
  23. image: saltimages/salt-tiamat-py3:debian-11
  24. run_command: /lib/systemd/systemd
  25. - name: debian-10-tiamat-py3
  26. driver:
  27. image: saltimages/salt-tiamat-py3:debian-10
  28. run_command: /lib/systemd/systemd
  29. - name: debian-9-tiamat-py3
  30. driver:
  31. image: saltimages/salt-tiamat-py3:debian-9
  32. run_command: /lib/systemd/systemd
  33. - name: ubuntu-2004-tiamat-py3
  34. driver:
  35. image: saltimages/salt-tiamat-py3:ubuntu-20.04
  36. run_command: /lib/systemd/systemd
  37. - name: ubuntu-1804-tiamat-py3
  38. driver:
  39. image: saltimages/salt-tiamat-py3:ubuntu-18.04
  40. run_command: /lib/systemd/systemd
  41. ## SALT `master`
  42. - name: debian-11-master-py3
  43. driver:
  44. image: saltimages/salt-master-py3:debian-11
  45. run_command: /lib/systemd/systemd
  46. - name: debian-10-master-py3
  47. driver:
  48. image: saltimages/salt-master-py3:debian-10
  49. run_command: /lib/systemd/systemd
  50. - name: debian-9-master-py3
  51. driver:
  52. image: saltimages/salt-master-py3:debian-9
  53. run_command: /lib/systemd/systemd
  54. - name: ubuntu-2004-master-py3
  55. driver:
  56. image: saltimages/salt-master-py3:ubuntu-20.04
  57. run_command: /lib/systemd/systemd
  58. - name: ubuntu-1804-master-py3
  59. driver:
  60. image: saltimages/salt-master-py3:ubuntu-18.04
  61. run_command: /lib/systemd/systemd
  62. ## SALT `3004.0`
  63. - name: debian-11-3004-0-py3
  64. driver:
  65. image: saltimages/salt-3004.0-py3:debian-11
  66. run_command: /lib/systemd/systemd
  67. - name: debian-10-3004-0-py3
  68. driver:
  69. image: saltimages/salt-3004.0-py3:debian-10
  70. run_command: /lib/systemd/systemd
  71. - name: debian-9-3004-0-py3
  72. driver:
  73. image: saltimages/salt-3004.0-py3:debian-9
  74. run_command: /lib/systemd/systemd
  75. - name: ubuntu-2004-3004-0-py3
  76. driver:
  77. image: saltimages/salt-3004.0-py3:ubuntu-20.04
  78. run_command: /lib/systemd/systemd
  79. - name: ubuntu-1804-3004-0-py3
  80. driver:
  81. image: saltimages/salt-3004.0-py3:ubuntu-18.04
  82. run_command: /lib/systemd/systemd
  83. ## SALT `3003.3`
  84. - name: debian-11-3003-3-py3
  85. driver:
  86. image: saltimages/salt-3003.3-py3:debian-11
  87. run_command: /lib/systemd/systemd
  88. - name: debian-10-3003-3-py3
  89. driver:
  90. image: saltimages/salt-3003.3-py3:debian-10
  91. run_command: /lib/systemd/systemd
  92. - name: debian-9-3003-3-py3
  93. driver:
  94. image: saltimages/salt-3003.3-py3:debian-9
  95. run_command: /lib/systemd/systemd
  96. - name: ubuntu-2004-3003-3-py3
  97. driver:
  98. image: saltimages/salt-3003.3-py3:ubuntu-20.04
  99. run_command: /lib/systemd/systemd
  100. - name: ubuntu-1804-3003-3-py3
  101. driver:
  102. image: saltimages/salt-3003.3-py3:ubuntu-18.04
  103. run_command: /lib/systemd/systemd
  104. ## SALT `3002.7`
  105. - name: debian-11-3002-7-py3
  106. driver:
  107. image: saltimages/salt-3002.7-py3:debian-11
  108. run_command: /lib/systemd/systemd
  109. - name: debian-10-3002-7-py3
  110. driver:
  111. image: saltimages/salt-3002.7-py3:debian-10
  112. run_command: /lib/systemd/systemd
  113. - name: debian-9-3002-7-py3
  114. driver:
  115. image: saltimages/salt-3002.7-py3:debian-9
  116. run_command: /lib/systemd/systemd
  117. - name: ubuntu-2004-3002-7-py3
  118. driver:
  119. image: saltimages/salt-3002.7-py3:ubuntu-20.04
  120. run_command: /lib/systemd/systemd
  121. - name: ubuntu-1804-3002-7-py3
  122. driver:
  123. image: saltimages/salt-3002.7-py3:ubuntu-18.04
  124. run_command: /lib/systemd/systemd
  125. ## SALT `3001.8`
  126. - name: debian-10-3001-8-py3
  127. driver:
  128. image: saltimages/salt-3001.8-py3:debian-10
  129. run_command: /lib/systemd/systemd
  130. - name: debian-9-3001-8-py3
  131. driver:
  132. image: saltimages/salt-3001.8-py3:debian-9
  133. run_command: /lib/systemd/systemd
  134. - name: ubuntu-2004-3001-8-py3
  135. driver:
  136. image: saltimages/salt-3001.8-py3:ubuntu-20.04
  137. run_command: /lib/systemd/systemd
  138. - name: ubuntu-1804-3001-8-py3
  139. driver:
  140. image: saltimages/salt-3001.8-py3:ubuntu-18.04
  141. run_command: /lib/systemd/systemd
  142. verifier:
  143. # https://www.inspec.io/
  144. name: inspec
  145. sudo: true
  146. reporter:
  147. # cli, documentation, html, progress, json, json-min, json-rspec, junit
  148. - cli
  149. suites:
  150. - name: default
  151. provisioner:
  152. state_top:
  153. base:
  154. '*':
  155. - apt-cacher.ng._mapdata
  156. - apt-cacher.ng.server
  157. - apt-cacher.ng.client
  158. pillars:
  159. top.sls:
  160. base:
  161. '*':
  162. - apt-cacher
  163. pillars_from_files:
  164. apt-cacher.sls: test/salt/pillar/apt-cacher.sls
  165. verifier:
  166. inspec_tests:
  167. - path: test/integration/default