Saltstack Official Apt-Cacher 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.

163 line
4.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: /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-2204-tiamat-py3
  34. driver:
  35. image: saltimages/salt-tiamat-py3:ubuntu-22.04
  36. run_command: /lib/systemd/systemd
  37. - name: ubuntu-2004-tiamat-py3
  38. driver:
  39. image: saltimages/salt-tiamat-py3:ubuntu-20.04
  40. run_command: /lib/systemd/systemd
  41. - name: ubuntu-1804-tiamat-py3
  42. driver:
  43. image: saltimages/salt-tiamat-py3:ubuntu-18.04
  44. run_command: /lib/systemd/systemd
  45. ## SALT `master`
  46. - name: debian-11-master-py3
  47. driver:
  48. image: saltimages/salt-master-py3:debian-11
  49. run_command: /lib/systemd/systemd
  50. - name: debian-10-master-py3
  51. driver:
  52. image: saltimages/salt-master-py3:debian-10
  53. run_command: /lib/systemd/systemd
  54. - name: debian-9-master-py3
  55. driver:
  56. image: saltimages/salt-master-py3:debian-9
  57. run_command: /lib/systemd/systemd
  58. - name: ubuntu-2204-master-py3
  59. driver:
  60. image: saltimages/salt-master-py3:ubuntu-22.04
  61. run_command: /lib/systemd/systemd
  62. - name: ubuntu-2004-master-py3
  63. driver:
  64. image: saltimages/salt-master-py3:ubuntu-20.04
  65. run_command: /lib/systemd/systemd
  66. - name: ubuntu-1804-master-py3
  67. driver:
  68. image: saltimages/salt-master-py3:ubuntu-18.04
  69. run_command: /lib/systemd/systemd
  70. ## SALT `3004.1`
  71. - name: debian-11-3004-1-py3
  72. driver:
  73. image: saltimages/salt-3004.1-py3:debian-11
  74. run_command: /lib/systemd/systemd
  75. - name: debian-10-3004-1-py3
  76. driver:
  77. image: saltimages/salt-3004.1-py3:debian-10
  78. run_command: /lib/systemd/systemd
  79. - name: debian-9-3004-1-py3
  80. driver:
  81. image: saltimages/salt-3004.1-py3:debian-9
  82. run_command: /lib/systemd/systemd
  83. - name: ubuntu-2204-3004-1-py3
  84. driver:
  85. image: saltimages/salt-3004.1-py3:ubuntu-22.04
  86. run_command: /lib/systemd/systemd
  87. - name: ubuntu-2004-3004-1-py3
  88. driver:
  89. image: saltimages/salt-3004.1-py3:ubuntu-20.04
  90. run_command: /lib/systemd/systemd
  91. - name: ubuntu-1804-3004-1-py3
  92. driver:
  93. image: saltimages/salt-3004.1-py3:ubuntu-18.04
  94. run_command: /lib/systemd/systemd
  95. ## SALT `3003.4`
  96. - name: debian-10-3003-4-py3
  97. driver:
  98. image: saltimages/salt-3003.4-py3:debian-10
  99. run_command: /lib/systemd/systemd
  100. - name: debian-9-3003-4-py3
  101. driver:
  102. image: saltimages/salt-3003.4-py3:debian-9
  103. run_command: /lib/systemd/systemd
  104. - name: ubuntu-2004-3003-4-py3
  105. driver:
  106. image: saltimages/salt-3003.4-py3:ubuntu-20.04
  107. run_command: /lib/systemd/systemd
  108. - name: ubuntu-1804-3003-4-py3
  109. driver:
  110. image: saltimages/salt-3003.4-py3:ubuntu-18.04
  111. run_command: /lib/systemd/systemd
  112. ## SALT `3002.8`
  113. - name: debian-10-3002-8-py3
  114. driver:
  115. image: saltimages/salt-3002.8-py3:debian-10
  116. run_command: /lib/systemd/systemd
  117. - name: debian-9-3002-8-py3
  118. driver:
  119. image: saltimages/salt-3002.8-py3:debian-9
  120. run_command: /lib/systemd/systemd
  121. - name: ubuntu-2004-3002-8-py3
  122. driver:
  123. image: saltimages/salt-3002.8-py3:ubuntu-20.04
  124. run_command: /lib/systemd/systemd
  125. - name: ubuntu-1804-3002-8-py3
  126. driver:
  127. image: saltimages/salt-3002.8-py3:ubuntu-18.04
  128. run_command: /lib/systemd/systemd
  129. verifier:
  130. # https://www.inspec.io/
  131. name: inspec
  132. sudo: true
  133. reporter:
  134. # cli, documentation, html, progress, json, json-min, json-rspec, junit
  135. - cli
  136. suites:
  137. - name: default
  138. provisioner:
  139. state_top:
  140. base:
  141. '*':
  142. - apt-cacher.ng._mapdata
  143. - apt-cacher.ng.server
  144. - apt-cacher.ng.client
  145. pillars:
  146. top.sls:
  147. base:
  148. '*':
  149. - apt-cacher
  150. pillars_from_files:
  151. apt-cacher.sls: test/salt/pillar/apt-cacher.sls
  152. verifier:
  153. inspec_tests:
  154. - path: test/integration/default