New version of salt-formula from Saltstack
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

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. minion_env_vars.sls: tests/pillar/minion_env_vars.sls
  86. - name: master-default
  87. provisioner:
  88. pillars:
  89. top.sls:
  90. base:
  91. "*":
  92. - common
  93. - minion_pki
  94. - master_api
  95. - master_acl
  96. - master_ssh_key
  97. - master_ssh_password
  98. - master_ssh_root
  99. - minion_pki_cert
  100. - master_formulas
  101. common.sls:
  102. salt:
  103. master:
  104. #Use a useless package to avoid upgrading salt-master
  105. pkgs:
  106. - python-yaml
  107. pillars-from-files:
  108. minion_pki.sls: tests/pillar/minion_pki_ca.sls
  109. minion_pki_cert.sls: tests/pillar/minion_pki_cert.sls
  110. master_api.sls: tests/pillar/master_api.sls
  111. master_acl.sls: tests/pillar/master_acl.sls
  112. master_ssh_key.sls: tests/pillar/master_ssh_minion_key.sls
  113. master_ssh_password.sls: tests/pillar/master_ssh_minion_password.sls
  114. master_ssh_root.sls: tests/pillar/master_ssh_minion_root.sls
  115. master_formulas.sls: tests/pillar/master_formulas.sls
  116. - name: master-extpillar-composite
  117. provisioner:
  118. pillars-from-files:
  119. salt.sls: tests/pillar/master_single_extpillars.sls
  120. - name: master-extpillar-reclass
  121. provisioner:
  122. pillars-from-files:
  123. salt.sls: tests/pillar/master_single_extreclass.sls
  124. - name: master-backward-compat
  125. provisioner:
  126. pillars-from-files:
  127. salt.sls: tests/pillar/master_single_extolddays.sls
  128. - name: control-default
  129. provisioner:
  130. grains:
  131. noservices: true
  132. pillars:
  133. top.sls:
  134. base:
  135. "*":
  136. - common
  137. - control_cloud_digitalocean
  138. - control_cloud_openstack
  139. - control_virt
  140. pillars-from-files:
  141. control_cloud_digitalocean.sls: tests/pillar/control_cloud_digitalocean.sls
  142. control_cloud_openstack.sls: tests/pillar/control_cloud_openstack.sls
  143. control_virt.sls: tests/pillar/control_virt.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