New version of salt-formula from Saltstack
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

134 lines
3.5KB

  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. salt_minion_id: salt.ci.local
  12. require_chef: false
  13. log_level: error
  14. formula: salt
  15. grains:
  16. noservices: true
  17. vendor_repo:
  18. - type: apt
  19. url: http://apt-mk.mirantis.com/xenial
  20. key_url: http://apt-mk.mirantis.com/public.gpg
  21. components: salt
  22. distribution: testing
  23. state_top:
  24. base:
  25. "*":
  26. - salt
  27. pillars:
  28. top.sls:
  29. base:
  30. "*":
  31. - salt
  32. - common
  33. common.sls:
  34. salt:
  35. minion:
  36. enabled: true
  37. master:
  38. host: localhost
  39. linux:
  40. system:
  41. enabled: true
  42. name: salt
  43. domain: ci.local
  44. dependencies:
  45. - name: git
  46. repo: git
  47. source: https://github.com/salt-formulas/salt-formula-git.git
  48. - name: reclass
  49. repo: git
  50. source: https://github.com/salt-formulas/salt-formula-reclass.git
  51. verifier:
  52. name: inspec
  53. sudo: true
  54. platforms:
  55. - name: <%=ENV['PLATFORM'] || 'ubuntu-xenial'%>
  56. driver_config:
  57. image: <%=ENV['PLATFORM'] || 'trevorj/salty-whales:xenial'%>
  58. platform: ubuntu
  59. suites:
  60. - name: minion-default
  61. provisioner:
  62. pillars:
  63. top.sls:
  64. base:
  65. "*":
  66. - common
  67. - minion_pki
  68. - minion_mine
  69. - minion_graph
  70. - minion_handler
  71. - minion_local_pillar
  72. - minion_local_reclass
  73. pillars-from-files:
  74. minion_pki.sls: tests/pillar/minion_pki_ca.sls
  75. minion_mine.sls: tests/pillar/minion_mine.sls
  76. minion_graph.sls: tests/pillar/minion_graph.sls
  77. minion_handler.sls: tests/pillar/minion_custom_handler.sls
  78. minion_local_pillar.sls: tests/pillar/minion_local_pillar.sls
  79. minion_local_reclass.sls: tests/pillar/minion_local_reclass.sls
  80. - name: master-default
  81. provisioner:
  82. pillars:
  83. top.sls:
  84. base:
  85. "*":
  86. - common
  87. - minion_pki
  88. - master_api
  89. - master_acl
  90. - master_ssh_key
  91. - master_ssh_password
  92. - master_ssh_root
  93. - minion_pki_cert
  94. - master_formulas
  95. pillars-from-files:
  96. minion_pki.sls: tests/pillar/minion_pki_ca.sls
  97. minion_pki_cert.sls: tests/pillar/minion_pki_cert.sls
  98. master_api.sls: tests/pillar/master_api.sls
  99. master_acl.sls: tests/pillar/master_acl.sls
  100. master_ssh_key.sls: tests/pillar/master_ssh_minion_key.sls
  101. master_ssh_password.sls: tests/pillar/master_ssh_minion_password.sls
  102. master_ssh_root.sls: tests/pillar/master_ssh_minion_root.sls
  103. master_formulas.sls: tests/pillar/master_formulas.sls
  104. - name: control-default
  105. provisioner:
  106. grains:
  107. noservices: true
  108. pillars:
  109. top.sls:
  110. base:
  111. "*":
  112. - common
  113. - control_cloud_digitalocean
  114. - control_cloud_openstack
  115. - control_virt
  116. pillars-from-files:
  117. control_cloud_digitalocean.sls: tests/pillar/control_cloud_digitalocean.sls
  118. control_cloud_openstack.sls: tests/pillar/control_cloud_openstack.sls
  119. control_virt.sls: tests/pillar/control_virt.sls
  120. - name: minion_multi_master_failover
  121. provisioner:
  122. pillars-from-files:
  123. salt.sls: tests/pillar/minion_multi_master_failover.sls
  124. # vim: ft=yaml sw=2 ts=2 sts=2 tw=125