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.

151 lines
3.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: /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: ubuntu-1604-tiamat-py3
  25. driver:
  26. image: saltimages/salt-tiamat-py3:ubuntu-16.04
  27. ## SALT `master`
  28. - name: debian-10-master-py3
  29. driver:
  30. image: saltimages/salt-master-py3:debian-10
  31. - name: debian-9-master-py3
  32. driver:
  33. image: saltimages/salt-master-py3:debian-9
  34. - name: ubuntu-2004-master-py3
  35. driver:
  36. image: saltimages/salt-master-py3:ubuntu-20.04
  37. - name: ubuntu-1804-master-py3
  38. driver:
  39. image: saltimages/salt-master-py3:ubuntu-18.04
  40. - name: ubuntu-1604-master-py3
  41. driver:
  42. image: saltimages/salt-master-py3:ubuntu-16.04
  43. ## SALT `3003.0`
  44. - name: debian-10-3003-0-py3
  45. driver:
  46. image: saltimages/salt-3003.0-py3:debian-10
  47. - name: debian-9-3003-0-py3
  48. driver:
  49. image: saltimages/salt-3003.0-py3:debian-9
  50. - name: ubuntu-2004-3003-0-py3
  51. driver:
  52. image: saltimages/salt-3003.0-py3:ubuntu-20.04
  53. - name: ubuntu-1804-3003-0-py3
  54. driver:
  55. image: saltimages/salt-3003.0-py3:ubuntu-18.04
  56. ## SALT `3002.6`
  57. - name: debian-10-3002-6-py3
  58. driver:
  59. image: saltimages/salt-3002.6-py3:debian-10
  60. - name: debian-9-3002-6-py3
  61. driver:
  62. image: saltimages/salt-3002.6-py3:debian-9
  63. - name: ubuntu-2004-3002-6-py3
  64. driver:
  65. image: saltimages/salt-3002.6-py3:ubuntu-20.04
  66. - name: ubuntu-1804-3002-6-py3
  67. driver:
  68. image: saltimages/salt-3002.6-py3:ubuntu-18.04
  69. - name: ubuntu-1604-3002-6-py3
  70. driver:
  71. image: saltimages/salt-3002.6-py3:ubuntu-16.04
  72. ## SALT `3001.7`
  73. - name: debian-10-3001-7-py3
  74. driver:
  75. image: saltimages/salt-3001.7-py3:debian-10
  76. - name: debian-9-3001-7-py3
  77. driver:
  78. image: saltimages/salt-3001.7-py3:debian-9
  79. - name: ubuntu-2004-3001-7-py3
  80. driver:
  81. image: saltimages/salt-3001.7-py3:ubuntu-20.04
  82. - name: ubuntu-1804-3001-7-py3
  83. driver:
  84. image: saltimages/salt-3001.7-py3:ubuntu-18.04
  85. - name: ubuntu-1604-3001-7-py3
  86. driver:
  87. image: saltimages/salt-3001.7-py3:ubuntu-16.04
  88. ## SALT `3000.9`
  89. - name: debian-10-3000-9-py3
  90. driver:
  91. image: saltimages/salt-3000.9-py3:debian-10
  92. - name: debian-9-3000-9-py3
  93. driver:
  94. image: saltimages/salt-3000.9-py3:debian-9
  95. - name: ubuntu-1804-3000-9-py3
  96. driver:
  97. image: saltimages/salt-3000.9-py3:ubuntu-18.04
  98. - name: ubuntu-1604-3000-9-py3
  99. driver:
  100. image: saltimages/salt-3000.9-py3:ubuntu-16.04
  101. - name: ubuntu-1804-3000-9-py2
  102. driver:
  103. image: saltimages/salt-3000.9-py2:ubuntu-18.04
  104. - name: ubuntu-1604-3000-9-py2
  105. driver:
  106. image: saltimages/salt-3000.9-py2:ubuntu-16.04
  107. provisioner:
  108. name: salt_solo
  109. log_level: debug
  110. salt_install: none
  111. require_chef: false
  112. formula: apt-cacher
  113. salt_copy_filter:
  114. - .kitchen
  115. - .git
  116. verifier:
  117. # https://www.inspec.io/
  118. name: inspec
  119. sudo: true
  120. # cli, documentation, html, progress, json, json-min, json-rspec, junit
  121. reporter:
  122. - cli
  123. suites:
  124. - name: default
  125. provisioner:
  126. state_top:
  127. base:
  128. '*':
  129. - apt-cacher.ng._mapdata
  130. - apt-cacher.ng.server
  131. - apt-cacher.ng.client
  132. pillars:
  133. top.sls:
  134. base:
  135. '*':
  136. - apt-cacher
  137. pillars_from_files:
  138. apt-cacher.sls: test/salt/pillar/apt-cacher.sls
  139. verifier:
  140. inspec_tests:
  141. - path: test/integration/default