New version of salt-formula from Saltstack
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

161 lines
4.4KB

  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. pkgs:
  40. - python-m2crypto
  41. - python-psutil
  42. - python-yaml
  43. linux:
  44. system:
  45. enabled: true
  46. name: salt
  47. domain: ci.local
  48. dependencies:
  49. - name: git
  50. repo: git
  51. source: https://github.com/salt-formulas/salt-formula-git.git
  52. - name: reclass
  53. repo: git
  54. source: https://github.com/salt-formulas/salt-formula-reclass.git
  55. verifier:
  56. name: inspec
  57. sudo: true
  58. platforms:
  59. - name: <%=ENV['PLATFORM'] || 'ubuntu-xenial'%>
  60. driver_config:
  61. image: <%=ENV['PLATFORM'] || 'trevorj/salty-whales:xenial'%>
  62. platform: ubuntu
  63. suites:
  64. - name: minion-default
  65. provisioner:
  66. pillars:
  67. top.sls:
  68. base:
  69. "*":
  70. - common
  71. - minion_pki
  72. - minion_mine
  73. - minion_graph
  74. - minion_handler
  75. - minion_local_pillar
  76. - minion_local_reclass
  77. pillars-from-files:
  78. minion_pki.sls: tests/pillar/minion_pki_ca.sls
  79. minion_mine.sls: tests/pillar/minion_mine.sls
  80. minion_graph.sls: tests/pillar/minion_graph.sls
  81. minion_handler.sls: tests/pillar/minion_custom_handler.sls
  82. minion_local_pillar.sls: tests/pillar/minion_local_pillar.sls
  83. minion_local_reclass.sls: tests/pillar/minion_local_reclass.sls
  84. minion_backend_urllib.sls: tests/pillar/minion_backend_urllib.sls
  85. - name: master-default
  86. provisioner:
  87. pillars:
  88. top.sls:
  89. base:
  90. "*":
  91. - common
  92. - minion_pki
  93. - master_api
  94. - master_acl
  95. - master_ssh_key
  96. - master_ssh_password
  97. - master_ssh_root
  98. - minion_pki_cert
  99. - master_formulas
  100. common.sls:
  101. salt:
  102. master:
  103. #Use a useless package to avoid upgrading salt-master
  104. pkgs:
  105. - python-yaml
  106. pillars-from-files:
  107. minion_pki.sls: tests/pillar/minion_pki_ca.sls
  108. minion_pki_cert.sls: tests/pillar/minion_pki_cert.sls
  109. master_api.sls: tests/pillar/master_api.sls
  110. master_acl.sls: tests/pillar/master_acl.sls
  111. master_ssh_key.sls: tests/pillar/master_ssh_minion_key.sls
  112. master_ssh_password.sls: tests/pillar/master_ssh_minion_password.sls
  113. master_ssh_root.sls: tests/pillar/master_ssh_minion_root.sls
  114. master_formulas.sls: tests/pillar/master_formulas.sls
  115. - name: master-extpillar-composite
  116. provisioner:
  117. pillars-from-files:
  118. salt.sls: tests/pillar/master_single_extpillars.sls
  119. - name: master-extpillar-reclass
  120. provisioner:
  121. pillars-from-files:
  122. salt.sls: tests/pillar/master_single_extreclass.sls
  123. - name: master-backward-compat
  124. provisioner:
  125. pillars-from-files:
  126. salt.sls: tests/pillar/master_single_extolddays.sls
  127. - name: control-default
  128. provisioner:
  129. grains:
  130. noservices: true
  131. pillars:
  132. top.sls:
  133. base:
  134. "*":
  135. - common
  136. - control_cloud_digitalocean
  137. - control_cloud_openstack
  138. - control_virt
  139. pillars-from-files:
  140. control_cloud_digitalocean.sls: tests/pillar/control_cloud_digitalocean.sls
  141. control_cloud_openstack.sls: tests/pillar/control_cloud_openstack.sls
  142. control_virt.sls: tests/pillar/control_virt.sls
  143. control_virt_custom.sls: tests/pillar/control_virt_custom.sls
  144. - name: minion_multi_master_failover
  145. provisioner:
  146. pillars-from-files:
  147. salt.sls: tests/pillar/minion_multi_master_failover.sls
  148. # vim: ft=yaml sw=2 ts=2 sts=2 tw=125