Saltstack Official Nginx Formula
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

137 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. # 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. - name: opensuse-leap-42-2018-3-py2
  76. driver:
  77. image: netmanagers/salt-2018.3-py2:opensuse-leap-42
  78. run_command: /usr/lib/systemd/systemd
  79. ## SALT `2017.7`
  80. - name: debian-8-2017-7-py2
  81. driver:
  82. image: netmanagers/salt-2017.7-py2:debian-8
  83. - name: ubuntu-1604-2017-7-py2
  84. driver:
  85. image: netmanagers/salt-2017.7-py2:ubuntu-16.04
  86. - name: centos-6-2017-7-py2
  87. driver:
  88. image: netmanagers/salt-2017.7-py2:centos-6
  89. run_command: /sbin/init
  90. - name: fedora-28-2017-7-py2
  91. driver:
  92. image: netmanagers/salt-2017.7-py2:fedora-28
  93. - name: opensuse-leap-42-2017-7-py2
  94. driver:
  95. image: netmanagers/salt-2017.7-py2:opensuse-leap-42
  96. run_command: /usr/lib/systemd/systemd
  97. provisioner:
  98. name: salt_solo
  99. log_level: info
  100. salt_install: none
  101. require_chef: false
  102. formula: nginx
  103. salt_copy_filter:
  104. - .kitchen
  105. - .git
  106. verifier:
  107. # https://www.inspec.io/
  108. name: inspec
  109. sudo: true
  110. # cli, documentation, html, progress, json, json-min, json-rspec, junit
  111. reporter:
  112. - cli
  113. suites:
  114. - name: default
  115. provisioner:
  116. state_top:
  117. base:
  118. '*':
  119. - nginx
  120. pillars:
  121. top.sls:
  122. base:
  123. '*':
  124. - nginx
  125. pillars_from_files:
  126. nginx.sls: test/salt/default/pillar/nginx.sls
  127. verifier:
  128. inspec_tests:
  129. - path: test/integration/default