Saltstack Official Nginx 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.

195 lines
6.3KB

  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. provision_command:
  18. - curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
  19. - sh bootstrap-salt.sh -XdPbfrq -x python3 git master
  20. - name: ubuntu-1804-master-py3
  21. driver:
  22. image: netmanagers/salt-master-py3:ubuntu-18.04
  23. provision_command:
  24. - curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
  25. - sh bootstrap-salt.sh -XdPbfrq -x python3 git master
  26. - name: centos-8-master-py3
  27. driver:
  28. image: netmanagers/salt-master-py3:centos-8
  29. provision_command:
  30. - curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
  31. - sh bootstrap-salt.sh -XdPbfrq -x python3 git master
  32. - name: fedora-31-master-py3
  33. driver:
  34. image: netmanagers/salt-master-py3:fedora-31
  35. provision_command:
  36. - curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
  37. - sh bootstrap-salt.sh -XdPbfrq -x python3 git master
  38. - name: opensuse-leap-151-master-py3
  39. driver:
  40. image: netmanagers/salt-master-py3:opensuse-leap-15.1
  41. provision_command:
  42. - curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
  43. - sh bootstrap-salt.sh -XdPbfrq -x python3 git master
  44. run_command: /usr/lib/systemd/systemd
  45. # Workaround to avoid intermittent failures on `opensuse-leap-15.1`:
  46. # => SCP did not finish successfully (255): (Net::SCP::Error)
  47. transport:
  48. max_ssh_sessions: 1
  49. # Use the `develop` image temporarily until the `master` image is available
  50. # Not changing the name to minimise disruption across all of the formulas
  51. - name: amazonlinux-2-master-py2
  52. driver:
  53. image: netmanagers/salt-develop-py2:amazonlinux-2
  54. provision_command:
  55. - curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
  56. - sh bootstrap-salt.sh -XdPbfrq -x python2 git develop
  57. - name: arch-base-latest-master-py2
  58. driver:
  59. image: netmanagers/salt-master-py2:arch-base-latest
  60. provision_command:
  61. - curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
  62. - sh bootstrap-salt.sh -XdPbfrq -x python2 git master
  63. run_command: /usr/lib/systemd/systemd
  64. ## SALT `2019.2`
  65. - name: debian-10-2019-2-py3
  66. driver:
  67. image: netmanagers/salt-2019.2-py3:debian-10
  68. - name: debian-9-2019-2-py3
  69. driver:
  70. image: netmanagers/salt-2019.2-py3:debian-9
  71. - name: ubuntu-1804-2019-2-py3
  72. driver:
  73. image: netmanagers/salt-2019.2-py3:ubuntu-18.04
  74. - name: centos-8-2019-2-py3
  75. driver:
  76. image: netmanagers/salt-2019.2-py3:centos-8
  77. - name: fedora-31-2019-2-py3
  78. driver:
  79. image: netmanagers/salt-2019.2-py3:fedora-31
  80. - name: opensuse-leap-151-2019-2-py3
  81. driver:
  82. image: netmanagers/salt-2019.2-py3:opensuse-leap-15.1
  83. run_command: /usr/lib/systemd/systemd
  84. # Workaround to avoid intermittent failures on `opensuse-leap-15.1`:
  85. # => SCP did not finish successfully (255): (Net::SCP::Error)
  86. transport:
  87. max_ssh_sessions: 1
  88. - name: centos-7-2019-2-py2
  89. driver:
  90. image: netmanagers/salt-2019.2-py2:centos-7
  91. - name: amazonlinux-2-2019-2-py2
  92. driver:
  93. image: netmanagers/salt-2019.2-py2:amazonlinux-2
  94. - name: arch-base-latest-2019-2-py2
  95. driver:
  96. image: netmanagers/salt-2019.2-py2:arch-base-latest
  97. run_command: /usr/lib/systemd/systemd
  98. ## SALT `2018.3`
  99. - name: fedora-30-2018-3-py3
  100. driver:
  101. image: netmanagers/salt-2018.3-py3:fedora-30
  102. - name: debian-9-2018-3-py2
  103. driver:
  104. image: netmanagers/salt-2018.3-py2:debian-9
  105. - name: ubuntu-1604-2018-3-py2
  106. driver:
  107. image: netmanagers/salt-2018.3-py2:ubuntu-16.04
  108. - name: centos-7-2018-3-py2
  109. driver:
  110. image: netmanagers/salt-2018.3-py2:centos-7
  111. - name: opensuse-leap-151-2018-3-py2
  112. driver:
  113. image: netmanagers/salt-2018.3-py2:opensuse-leap-15.1
  114. run_command: /usr/lib/systemd/systemd
  115. # Workaround to avoid intermittent failures on `opensuse-leap-15.1`:
  116. # => SCP did not finish successfully (255): (Net::SCP::Error)
  117. transport:
  118. max_ssh_sessions: 1
  119. - name: amazonlinux-2-2018-3-py2
  120. driver:
  121. image: netmanagers/salt-2018.3-py2:amazonlinux-2
  122. - name: arch-base-latest-2018-3-py2
  123. driver:
  124. image: netmanagers/salt-2018.3-py2:arch-base-latest
  125. run_command: /usr/lib/systemd/systemd
  126. ## SALT `2017.7`
  127. - name: debian-8-2017-7-py2
  128. driver:
  129. image: netmanagers/salt-2017.7-py2:debian-8
  130. - name: ubuntu-1604-2017-7-py2
  131. driver:
  132. image: netmanagers/salt-2017.7-py2:ubuntu-16.04
  133. - name: centos-6-2017-7-py2
  134. driver:
  135. image: netmanagers/salt-2017.7-py2:centos-6
  136. run_command: /sbin/init
  137. - name: fedora-30-2017-7-py2
  138. driver:
  139. image: netmanagers/salt-2017.7-py2:fedora-30
  140. - name: opensuse-leap-151-2017-7-py2
  141. driver:
  142. image: netmanagers/salt-2017.7-py2:opensuse-leap-15.1
  143. run_command: /usr/lib/systemd/systemd
  144. # Workaround to avoid intermittent failures on `opensuse-leap-15.1`:
  145. # => SCP did not finish successfully (255): (Net::SCP::Error)
  146. transport:
  147. max_ssh_sessions: 1
  148. - name: amazonlinux-2-2017-7-py2
  149. driver:
  150. image: netmanagers/salt-2017.7-py2:amazonlinux-2
  151. - name: arch-base-latest-2017-7-py2
  152. driver:
  153. image: netmanagers/salt-2017.7-py2:arch-base-latest
  154. run_command: /usr/lib/systemd/systemd
  155. provisioner:
  156. name: salt_solo
  157. log_level: debug
  158. salt_install: none
  159. require_chef: false
  160. formula: nginx
  161. salt_copy_filter:
  162. - .kitchen
  163. - .git
  164. verifier:
  165. # https://www.inspec.io/
  166. name: inspec
  167. sudo: true
  168. # cli, documentation, html, progress, json, json-min, json-rspec, junit
  169. reporter:
  170. - cli
  171. suites:
  172. - name: default
  173. provisioner:
  174. state_top:
  175. base:
  176. '*':
  177. - nginx
  178. pillars:
  179. top.sls:
  180. base:
  181. '*':
  182. - nginx
  183. pillars_from_files:
  184. nginx.sls: test/salt/default/pillar/nginx.sls
  185. verifier:
  186. inspec_tests:
  187. - path: test/integration/default