Saltstack Official Syslog-NG 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.

kitchen.yml 5.0KB

6 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  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. # Make sure the platforms listed below match up with
  11. # the `env.matrix` instances defined in `.travis.yml`
  12. platforms:
  13. ## SALT `master`
  14. - name: debian-10-master-py3
  15. driver:
  16. image: netmanagers/salt-master-py3:debian-10
  17. - name: ubuntu-1804-master-py3
  18. driver:
  19. image: netmanagers/salt-master-py3:ubuntu-18.04
  20. - name: centos-8-master-py3
  21. driver:
  22. image: netmanagers/salt-master-py3:centos-8
  23. - name: fedora-31-master-py3
  24. driver:
  25. image: netmanagers/salt-master-py3:fedora-31
  26. - name: opensuse-leap-151-master-py3
  27. driver:
  28. image: netmanagers/salt-master-py3:opensuse-leap-15.1
  29. run_command: /usr/lib/systemd/systemd
  30. # Workaround to avoid intermittent failures on `opensuse-leap-15.1`:
  31. # => SCP did not finish successfully (255): (Net::SCP::Error)
  32. transport:
  33. max_ssh_sessions: 1
  34. - name: amazonlinux-2-master-py3
  35. driver:
  36. image: netmanagers/salt-master-py3:amazonlinux-2
  37. ## SALT `2019.2`
  38. - name: debian-10-2019-2-py3
  39. driver:
  40. image: netmanagers/salt-2019.2-py3:debian-10
  41. - name: debian-9-2019-2-py3
  42. driver:
  43. image: netmanagers/salt-2019.2-py3:debian-9
  44. - name: ubuntu-1804-2019-2-py3
  45. driver:
  46. image: netmanagers/salt-2019.2-py3:ubuntu-18.04
  47. - name: centos-8-2019-2-py3
  48. driver:
  49. image: netmanagers/salt-2019.2-py3:centos-8
  50. - name: fedora-31-2019-2-py3
  51. driver:
  52. image: netmanagers/salt-2019.2-py3:fedora-31
  53. - name: opensuse-leap-151-2019-2-py3
  54. driver:
  55. image: netmanagers/salt-2019.2-py3:opensuse-leap-15.1
  56. run_command: /usr/lib/systemd/systemd
  57. # Workaround to avoid intermittent failures on `opensuse-leap-15.1`:
  58. # => SCP did not finish successfully (255): (Net::SCP::Error)
  59. transport:
  60. max_ssh_sessions: 1
  61. - name: centos-7-2019-2-py2
  62. driver:
  63. image: netmanagers/salt-2019.2-py2:centos-7
  64. - name: amazonlinux-2-2019-2-py3
  65. driver:
  66. image: netmanagers/salt-2019.2-py3:amazonlinux-2
  67. - name: arch-base-latest-2019-2-py2
  68. driver:
  69. image: netmanagers/salt-2019.2-py2:arch-base-latest
  70. run_command: /usr/lib/systemd/systemd
  71. ## SALT `2018.3`
  72. - name: fedora-30-2018-3-py3
  73. driver:
  74. image: netmanagers/salt-2018.3-py3:fedora-30
  75. - name: debian-9-2018-3-py2
  76. driver:
  77. image: netmanagers/salt-2018.3-py2:debian-9
  78. - name: ubuntu-1604-2018-3-py2
  79. driver:
  80. image: netmanagers/salt-2018.3-py2:ubuntu-16.04
  81. - name: centos-7-2018-3-py2
  82. driver:
  83. image: netmanagers/salt-2018.3-py2:centos-7
  84. - name: opensuse-leap-151-2018-3-py2
  85. driver:
  86. image: netmanagers/salt-2018.3-py2:opensuse-leap-15.1
  87. run_command: /usr/lib/systemd/systemd
  88. # Workaround to avoid intermittent failures on `opensuse-leap-15.1`:
  89. # => SCP did not finish successfully (255): (Net::SCP::Error)
  90. transport:
  91. max_ssh_sessions: 1
  92. - name: amazonlinux-1-2018-3-py2
  93. driver:
  94. image: netmanagers/salt-2018.3-py2:amazonlinux-1
  95. run_command: /sbin/init
  96. - name: arch-base-latest-2018-3-py2
  97. driver:
  98. image: netmanagers/salt-2018.3-py2:arch-base-latest
  99. run_command: /usr/lib/systemd/systemd
  100. ## SALT `2017.7`
  101. - name: debian-8-2017-7-py2
  102. driver:
  103. image: netmanagers/salt-2017.7-py2:debian-8
  104. - name: ubuntu-1604-2017-7-py2
  105. driver:
  106. image: netmanagers/salt-2017.7-py2:ubuntu-16.04
  107. - name: centos-6-2017-7-py2
  108. driver:
  109. image: netmanagers/salt-2017.7-py2:centos-6
  110. run_command: /sbin/init
  111. - name: fedora-30-2017-7-py2
  112. driver:
  113. image: netmanagers/salt-2017.7-py2:fedora-30
  114. - name: opensuse-leap-151-2017-7-py2
  115. driver:
  116. image: netmanagers/salt-2017.7-py2:opensuse-leap-15.1
  117. run_command: /usr/lib/systemd/systemd
  118. # Workaround to avoid intermittent failures on `opensuse-leap-15.1`:
  119. # => SCP did not finish successfully (255): (Net::SCP::Error)
  120. transport:
  121. max_ssh_sessions: 1
  122. - name: amazonlinux-1-2017-7-py2
  123. driver:
  124. image: netmanagers/salt-2017.7-py2:amazonlinux-1
  125. run_command: /sbin/init
  126. - name: arch-base-latest-2017-7-py2
  127. driver:
  128. image: netmanagers/salt-2017.7-py2:arch-base-latest
  129. run_command: /usr/lib/systemd/systemd
  130. provisioner:
  131. name: salt_solo
  132. log_level: debug
  133. salt_install: none
  134. require_chef: false
  135. formula: syslog_ng
  136. salt_copy_filter:
  137. - .kitchen
  138. - .git
  139. verifier:
  140. # https://www.inspec.io/
  141. name: inspec
  142. sudo: true
  143. # cli, documentation, html, progress, json, json-min, json-rspec, junit
  144. reporter:
  145. - cli
  146. suites:
  147. - name: default
  148. provisioner:
  149. state_top:
  150. base:
  151. '*':
  152. - syslog_ng
  153. pillars:
  154. top.sls:
  155. base:
  156. '*':
  157. - syslog_ng
  158. pillars_from_files:
  159. syslog_ng.sls: test/salt/pillar/syslog_ng.sls
  160. verifier:
  161. inspec_tests:
  162. - path: test/integration/default