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

98 lines
2.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: saltimages/salt-master-py3:debian-10
  17. - name: ubuntu-1804-master-py3
  18. driver:
  19. image: saltimages/salt-master-py3:ubuntu-18.04
  20. ## SALT `2019.2`
  21. - name: debian-9-2019-2-py3
  22. driver:
  23. image: saltimages/salt-2019.2-py3:debian-9
  24. - name: ubuntu-1804-2019-2-py3
  25. driver:
  26. image: saltimages/salt-2019.2-py3:ubuntu-18.04
  27. provisioner:
  28. name: salt_solo
  29. log_level: debug
  30. salt_install: none
  31. require_chef: false
  32. formula: apt
  33. salt_copy_filter:
  34. - .kitchen
  35. - .git
  36. verifier:
  37. # https://www.inspec.io/
  38. name: inspec
  39. sudo: true
  40. # cli, documentation, html, progress, json, json-min, json-rspec, junit
  41. reporter:
  42. - cli
  43. suites:
  44. - name: repositories
  45. provisioner:
  46. state_top:
  47. base:
  48. '*':
  49. - apt.repositories
  50. - apt.update
  51. pillars:
  52. top.sls:
  53. base:
  54. '*':
  55. - apt
  56. pillars_from_files:
  57. apt.sls: test/salt/pillar/repositories.pillar.sls
  58. verifier:
  59. inspec_tests:
  60. - path: test/integration/repositories
  61. - name: preferences
  62. provisioner:
  63. state_top:
  64. base:
  65. '*':
  66. - apt.preferences
  67. pillars:
  68. top.sls:
  69. base:
  70. '*':
  71. - apt
  72. pillars_from_files:
  73. apt.sls: test/salt/pillar/preferences.pillar.sls
  74. verifier:
  75. inspec_tests:
  76. - path: test/integration/preferences
  77. - name: unattended
  78. provisioner:
  79. state_top:
  80. base:
  81. '*':
  82. - apt.unattended
  83. pillars:
  84. top.sls:
  85. base:
  86. '*':
  87. - apt
  88. pillars_from_files:
  89. apt.sls: test/salt/pillar/unattended.pillar.sls
  90. verifier:
  91. inspec_tests:
  92. - path: test/integration/unattended