New version of salt-formula from Saltstack
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

135 rindas
3.6KB

  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. minion_backend_urllib.sls: tests/pillar/minion_backend_urllib.sls
  81. - name: master-default
  82. provisioner:
  83. pillars:
  84. top.sls:
  85. base:
  86. "*":
  87. - common
  88. - minion_pki
  89. - master_api
  90. - master_acl
  91. - master_ssh_key
  92. - master_ssh_password
  93. - master_ssh_root
  94. - minion_pki_cert
  95. - master_formulas
  96. pillars-from-files:
  97. minion_pki.sls: tests/pillar/minion_pki_ca.sls
  98. minion_pki_cert.sls: tests/pillar/minion_pki_cert.sls
  99. master_api.sls: tests/pillar/master_api.sls
  100. master_acl.sls: tests/pillar/master_acl.sls
  101. master_ssh_key.sls: tests/pillar/master_ssh_minion_key.sls
  102. master_ssh_password.sls: tests/pillar/master_ssh_minion_password.sls
  103. master_ssh_root.sls: tests/pillar/master_ssh_minion_root.sls
  104. master_formulas.sls: tests/pillar/master_formulas.sls
  105. - name: control-default
  106. provisioner:
  107. grains:
  108. noservices: true
  109. pillars:
  110. top.sls:
  111. base:
  112. "*":
  113. - common
  114. - control_cloud_digitalocean
  115. - control_cloud_openstack
  116. - control_virt
  117. pillars-from-files:
  118. control_cloud_digitalocean.sls: tests/pillar/control_cloud_digitalocean.sls
  119. control_cloud_openstack.sls: tests/pillar/control_cloud_openstack.sls
  120. control_virt.sls: tests/pillar/control_virt.sls
  121. - name: minion_multi_master_failover
  122. provisioner:
  123. pillars-from-files:
  124. salt.sls: tests/pillar/minion_multi_master_failover.sls
  125. # vim: ft=yaml sw=2 ts=2 sts=2 tw=125