Saltstack Official Nginx Formula
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

142 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: /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 `develop`
  14. - name: debian-9-develop-py3
  15. driver:
  16. image: netmanagers/salt-develop-py3:debian-9
  17. provision_command:
  18. - curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
  19. - sh bootstrap-salt.sh -XdPbfrq -x python3 git develop
  20. - name: ubuntu-1804-develop-py3
  21. driver:
  22. image: netmanagers/salt-develop-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 develop
  26. - name: centos-7-develop-py3
  27. driver:
  28. image: netmanagers/salt-develop-py3:centos-7
  29. provision_command:
  30. - curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
  31. - sh bootstrap-salt.sh -XdPbfrq -x python3 git develop
  32. - name: fedora-29-develop-py3
  33. driver:
  34. image: netmanagers/salt-develop-py3:fedora-29
  35. provision_command:
  36. - curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
  37. - sh bootstrap-salt.sh -XdPbfrq -x python3 git develop
  38. - name: opensuse-leap-15-develop-py3
  39. driver:
  40. image: netmanagers/salt-develop-py3:opensuse-leap-15
  41. provision_command:
  42. - curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
  43. - sh bootstrap-salt.sh -XdPbfrq -x python3 git develop
  44. run_command: /usr/lib/systemd/systemd
  45. ## SALT 2019.2
  46. - name: debian-9-2019-2-py3
  47. driver:
  48. image: netmanagers/salt-2019.2-py3:debian-9
  49. - name: ubuntu-1804-2019-2-py3
  50. driver:
  51. image: netmanagers/salt-2019.2-py3:ubuntu-18.04
  52. - name: centos-7-2019-2-py3
  53. driver:
  54. image: netmanagers/salt-2019.2-py3:centos-7
  55. - name: fedora-29-2019-2-py3
  56. driver:
  57. image: netmanagers/salt-2019.2-py3:fedora-29
  58. - name: opensuse-leap-15-2019-2-py3
  59. driver:
  60. image: netmanagers/salt-2019.2-py3:opensuse-leap-15
  61. run_command: /usr/lib/systemd/systemd
  62. ## SALT 2018.3
  63. - name: debian-9-2018-3-py2
  64. driver:
  65. image: netmanagers/salt-2018.3-py2:debian-9
  66. - name: ubuntu-1604-2018-3-py2
  67. driver:
  68. image: netmanagers/salt-2018.3-py2:ubuntu-16.04
  69. - name: centos-7-2018-3-py2
  70. driver:
  71. image: netmanagers/salt-2018.3-py2:centos-7
  72. - name: fedora-29-2018-3-py2
  73. driver:
  74. image: netmanagers/salt-2018.3-py2:fedora-29
  75. # TODO: Use this when fixed instead of `opensuse-leap-42`
  76. # Ref: https://github.com/netmanagers/salt-image-builder/issues/2
  77. # - name: opensuse-leap-15-2018-3-py2
  78. # driver:
  79. # image: netmanagers/salt-2018.3-py2:opensuse-leap-15
  80. # run_command: /usr/lib/systemd/systemd
  81. - name: opensuse-leap-42-2018-3-py2
  82. driver:
  83. image: netmanagers/salt-2018.3-py2:opensuse-leap-42
  84. run_command: /usr/lib/systemd/systemd
  85. ## SALT 2017.7
  86. - name: debian-8-2017-7-py2
  87. driver:
  88. image: netmanagers/salt-2017.7-py2:debian-8
  89. - name: ubuntu-1604-2017-7-py2
  90. driver:
  91. image: netmanagers/salt-2017.7-py2:ubuntu-16.04
  92. # TODO: Modify the formula to work for non-`systemd` platforms
  93. - name: centos-6-2017-7-py2
  94. driver:
  95. image: netmanagers/salt-2017.7-py2:centos-6
  96. run_command: /sbin/init
  97. - name: fedora-28-2017-7-py2
  98. driver:
  99. image: netmanagers/salt-2017.7-py2:fedora-28
  100. - name: opensuse-leap-42-2017-7-py2
  101. driver:
  102. image: netmanagers/salt-2017.7-py2:opensuse-leap-42
  103. run_command: /usr/lib/systemd/systemd
  104. provisioner:
  105. name: salt_solo
  106. log_level: info
  107. salt_install: none
  108. require_chef: false
  109. formula: nginx
  110. salt_copy_filter:
  111. - .kitchen
  112. - .git
  113. state_top:
  114. base:
  115. '*':
  116. - nginx
  117. pillars:
  118. top.sls:
  119. base:
  120. '*':
  121. - nginx
  122. pillars_from_files:
  123. nginx.sls: test/salt/default/pillar/nginx.sls
  124. verifier:
  125. # https://www.inspec.io/
  126. name: inspec
  127. sudo: true
  128. # cli, documentation, html, progress, json, json-min, json-rspec, junit
  129. reporter:
  130. - cli
  131. inspec_tests:
  132. - path: test/integration/default
  133. suites:
  134. - name: default