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.

155 lines
4.2KB

  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 `3003.3`
  63. - name: debian-11-3003-3-py3
  64. driver:
  65. image: saltimages/salt-3003.3-py3:debian-11
  66. run_command: /lib/systemd/systemd
  67. - name: debian-10-3003-3-py3
  68. driver:
  69. image: saltimages/salt-3003.3-py3:debian-10
  70. run_command: /lib/systemd/systemd
  71. - name: debian-9-3003-3-py3
  72. driver:
  73. image: saltimages/salt-3003.3-py3:debian-9
  74. run_command: /lib/systemd/systemd
  75. - name: ubuntu-2004-3003-3-py3
  76. driver:
  77. image: saltimages/salt-3003.3-py3:ubuntu-20.04
  78. run_command: /lib/systemd/systemd
  79. - name: ubuntu-1804-3003-3-py3
  80. driver:
  81. image: saltimages/salt-3003.3-py3:ubuntu-18.04
  82. run_command: /lib/systemd/systemd
  83. ## SALT `3002.7`
  84. - name: debian-11-3002-7-py3
  85. driver:
  86. image: saltimages/salt-3002.7-py3:debian-11
  87. run_command: /lib/systemd/systemd
  88. - name: debian-10-3002-7-py3
  89. driver:
  90. image: saltimages/salt-3002.7-py3:debian-10
  91. run_command: /lib/systemd/systemd
  92. - name: debian-9-3002-7-py3
  93. driver:
  94. image: saltimages/salt-3002.7-py3:debian-9
  95. run_command: /lib/systemd/systemd
  96. - name: ubuntu-2004-3002-7-py3
  97. driver:
  98. image: saltimages/salt-3002.7-py3:ubuntu-20.04
  99. run_command: /lib/systemd/systemd
  100. - name: ubuntu-1804-3002-7-py3
  101. driver:
  102. image: saltimages/salt-3002.7-py3:ubuntu-18.04
  103. run_command: /lib/systemd/systemd
  104. ## SALT `3001.8`
  105. - name: debian-10-3001-8-py3
  106. driver:
  107. image: saltimages/salt-3001.8-py3:debian-10
  108. run_command: /lib/systemd/systemd
  109. - name: debian-9-3001-8-py3
  110. driver:
  111. image: saltimages/salt-3001.8-py3:debian-9
  112. run_command: /lib/systemd/systemd
  113. - name: ubuntu-2004-3001-8-py3
  114. driver:
  115. image: saltimages/salt-3001.8-py3:ubuntu-20.04
  116. run_command: /lib/systemd/systemd
  117. - name: ubuntu-1804-3001-8-py3
  118. driver:
  119. image: saltimages/salt-3001.8-py3:ubuntu-18.04
  120. run_command: /lib/systemd/systemd
  121. verifier:
  122. # https://www.inspec.io/
  123. name: inspec
  124. sudo: true
  125. reporter:
  126. # cli, documentation, html, progress, json, json-min, json-rspec, junit
  127. - cli
  128. suites:
  129. - name: default
  130. provisioner:
  131. state_top:
  132. base:
  133. '*':
  134. - apt-cacher.ng._mapdata
  135. - apt-cacher.ng.server
  136. - apt-cacher.ng.client
  137. pillars:
  138. top.sls:
  139. base:
  140. '*':
  141. - apt-cacher
  142. pillars_from_files:
  143. apt-cacher.sls: test/salt/pillar/apt-cacher.sls
  144. verifier:
  145. inspec_tests:
  146. - path: test/integration/default