New version of salt-formula from Saltstack
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.

.kitchen.yml 3.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. ---
  2. driver:
  3. name: docker
  4. hostname: salt.ci.local
  5. use_sudo: false
  6. provisioner:
  7. name: salt_solo
  8. salt_install: bootstrap
  9. salt_bootstrap_url: https://bootstrap.saltstack.com
  10. salt_version: latest
  11. require_chef: false
  12. log_level: error
  13. formula: salt
  14. grains:
  15. noservices: true
  16. state_top:
  17. base:
  18. "*":
  19. - salt
  20. pillars:
  21. top.sls:
  22. base:
  23. "*":
  24. - salt
  25. - common
  26. common.sls:
  27. salt:
  28. minion:
  29. enabled: true
  30. master:
  31. host: localhost
  32. linux:
  33. system:
  34. enabled: true
  35. name: salt
  36. domain: ci.local
  37. dependencies:
  38. - name: git
  39. repo: git
  40. source: https://github.com/salt-formulas/salt-formula-git.git
  41. - name: reclass
  42. repo: git
  43. source: https://github.com/salt-formulas/salt-formula-reclass.git
  44. verifier:
  45. name: inspec
  46. sudo: true
  47. platforms:
  48. - name: <%=ENV['PLATFORM'] || 'ubuntu-xenial'%>
  49. driver_config:
  50. image: <%=ENV['PLATFORM'] || 'trevorj/salty-whales:xenial'%>
  51. platform: ubuntu
  52. # - name: ubuntu-xenial
  53. # driver_config:
  54. # image: trevorj/salty-whales:xenial
  55. # platform: ubuntu
  56. # - name: debian-jessie
  57. # driver_config:
  58. # image: debian:jessie
  59. # - name: debian-stretch
  60. # driver_config:
  61. # image: debian:stretch
  62. suites:
  63. - name: minion-default
  64. provisioner:
  65. pillars:
  66. top.sls:
  67. base:
  68. "*":
  69. - common
  70. - minion_pki
  71. - minion_mine
  72. - minion_graph
  73. - minion_handler
  74. - minion_local_pillar
  75. - minion_local_reclass
  76. pillars-from-files:
  77. minion_pki.sls: tests/pillar/minion_pki_ca.sls
  78. minion_mine.sls: tests/pillar/minion_mine.sls
  79. minion_graph.sls: tests/pillar/minion_graph.sls
  80. minion_handler.sls: tests/pillar/minion_custom_handler.sls
  81. minion_local_pillar.sls: tests/pillar/minion_local_pillar.sls
  82. minion_local_reclass.sls: tests/pillar/minion_local_reclass.sls
  83. - name: master-default
  84. provisioner:
  85. pillars:
  86. top.sls:
  87. base:
  88. "*":
  89. - common
  90. - master_api
  91. - master_acl
  92. - master_ssh_key
  93. - master_ssh_password
  94. - master_ssh_root
  95. - master_handler
  96. pillars-from-files:
  97. master_api.sls: tests/pillar/master_api.sls
  98. master_acl.sls: tests/pillar/master_acl.sls
  99. master_ssh_key.sls: tests/pillar/master_ssh_minion_key.sls
  100. master_ssh_password.sls: tests/pillar/master_ssh_minion_password.sls
  101. master_ssh_root.sls: tests/pillar/master_ssh_minion_root.sls
  102. master_handler.sls: tests/pillar/master_custom_handler.sls
  103. - name: control-default
  104. provisioner:
  105. grains:
  106. noservices: true
  107. pillars:
  108. top.sls:
  109. base:
  110. "*":
  111. - common
  112. - control_cloud_digitalocean
  113. - control_cloud_openstack
  114. - control_virt
  115. pillars-from-files:
  116. control_cloud_digitalocean.sls: tests/pillar/control_cloud_digitalocean.sls
  117. control_cloud_openstack.sls: tests/pillar/control_cloud_openstack.sls
  118. control_virt.sls: tests/pillar/control_virt.sls
  119. - name: minion_multi_master_failover
  120. provisioner:
  121. pillars-from-files:
  122. salt.sls: tests/pillar/minion_multi_master_failover.sls
  123. # - name: minion-local
  124. # provisioner:
  125. # pillars:
  126. # top.sls:
  127. # base:
  128. # "*":
  129. # - common
  130. # - minion_local_pillar
  131. # - minion_local_reclass
  132. # pillars-from-files:
  133. # minion_local_pillar.sls: tests/pillar/minion_local_pillar.sls
  134. # minion_local_reclass.sls: tests/pillar/minion_local_reclass.sls
  135. # vim: ft=yaml sw=2 ts=2 sts=2 tw=125