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.

96 lines
2.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 2019.2
  14. - name: debian-9-2019-2-py3
  15. driver:
  16. image: netmanagers/salt-2019.2-py3:debian-9
  17. - name: ubuntu-1804-2019-2-py3
  18. driver:
  19. image: netmanagers/salt-2019.2-py3:ubuntu-1804
  20. - name: centos-7-2019-2-py2
  21. driver:
  22. image: netmanagers/salt-2019.2-py2:centos-7
  23. - name: fedora-29-2019-2-py2
  24. driver:
  25. image: netmanagers/salt-2019.2-py2:fedora-29
  26. ## SALT 2018.3
  27. - name: opensuse-423-2018-3-py2
  28. driver:
  29. image: netmanagers/salt-2018.3-py2:opensuse-423
  30. run_command: /usr/lib/systemd/systemd
  31. - name: debian-8-2018-3-py2
  32. driver:
  33. image: netmanagers/salt-2018.3-py2:debian-8
  34. - name: ubuntu-1604-2018-3-py2
  35. driver:
  36. image: netmanagers/salt-2018.3-py2:ubuntu-1604
  37. - name: fedora-28-2018-3-py2
  38. driver:
  39. image: netmanagers/salt-2018.3-py2:fedora-28
  40. # centos-6 guest fails on Debian hosts due to vsyscall issues, see
  41. # https://hub.docker.com/_/centos, "A note about vsyscall"
  42. # Disabled for `template-formula` because not `systemd` based
  43. # - name: centos-6-2018-3
  44. # driver:
  45. # image: netmanagers/salt-2018.3-py2:centos-6
  46. # run_command: /sbin/init
  47. ##S SALT 2017.7
  48. - name: debian-8-2017-7-py2
  49. driver:
  50. image: netmanagers/salt-2017.7-py2:debian-8
  51. - name: ubuntu-1604-2017-7-py2
  52. driver:
  53. image: netmanagers/salt-2017.7-py2:ubuntu-1604
  54. # - name: centos-6-2017-7
  55. # driver:
  56. # image: netmanagers/salt-2017.7-py2:centos-6
  57. # run_command: /sbin/init
  58. provisioner:
  59. name: salt_solo
  60. log_level: info
  61. salt_install: none
  62. require_chef: false
  63. formula: nginx
  64. salt_copy_filter:
  65. - .kitchen
  66. - .git
  67. state_top:
  68. base:
  69. '*':
  70. - nginx
  71. pillars:
  72. top.sls:
  73. base:
  74. '*':
  75. - nginx
  76. pillars_from_files:
  77. nginx.sls: test/salt/default/pillar/nginx.sls
  78. verifier:
  79. # https://www.inspec.io/
  80. name: inspec
  81. sudo: true
  82. # cli, documentation, html, progress, json, json-min, json-rspec, junit
  83. reporter:
  84. - cli
  85. inspec_tests:
  86. - path: test/integration/default
  87. suites:
  88. - name: default