Saltstack Official Apt Formula
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

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