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.

68 lines
1.4KB

  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. - name: debian-9-2019-2-py3
  14. driver:
  15. image: netmanagers/salt-2019.2-py3:debian-9
  16. - name: ubuntu-1804-2019-2-py3
  17. driver:
  18. image: netmanagers/salt-2019.2-py3:ubuntu-18.04
  19. provisioner:
  20. name: salt_solo
  21. log_level: info
  22. salt_install: none
  23. require_chef: false
  24. formula: apt
  25. salt_copy_filter:
  26. - .kitchen
  27. - .git
  28. pillars:
  29. top.sls:
  30. base:
  31. '*':
  32. - apt
  33. verifier:
  34. # https://www.inspec.io/
  35. name: inspec
  36. sudo: true
  37. # cli, documentation, html, progress, json, json-min, json-rspec, junit
  38. reporter:
  39. - cli
  40. suites:
  41. - name: repositories
  42. provisioner:
  43. state_top:
  44. base:
  45. '*':
  46. - apt.repositories
  47. - apt.update
  48. pillars_from_files:
  49. apt.sls: test/salt/pillar/repositories.pillar.sls
  50. verifier:
  51. inspec_tests:
  52. - path: test/integration/repositories
  53. - name: preferences
  54. provisioner:
  55. state_top:
  56. base:
  57. '*':
  58. - apt.preferences
  59. pillars_from_files:
  60. apt.sls: test/salt/pillar/preferences.pillar.sls
  61. verifier:
  62. inspec_tests:
  63. - path: test/integration/preferences