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

174 行
5.1KB

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