New version of salt-formula from Saltstack
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

143 行
3.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. 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: ubuntu-trusty
  49. driver_config:
  50. image: trevorj/salty-whales:trusty
  51. platform: ubuntu
  52. - name: ubuntu-xenial
  53. driver_config:
  54. image: trevorj/salty-whales:xenial
  55. platform: ubuntu
  56. suites:
  57. - name: minion-default
  58. provisioner:
  59. pillars:
  60. top.sls:
  61. base:
  62. "*":
  63. - common
  64. - minion_pki
  65. - minion_mine
  66. - minion_graph
  67. - minion_handler
  68. pillars-from-files:
  69. minion_pki.sls: tests/pillar/minion_pki_ca.sls
  70. minion_mine.sls: tests/pillar/minion_mine.sls
  71. minion_graph.sls: tests/pillar/minion_graph.sls
  72. minion_handler.sls: tests/pillar/minion_custom_handler.sls
  73. - name: master-default
  74. provisioner:
  75. pillars:
  76. top.sls:
  77. base:
  78. "*":
  79. - common
  80. - master_api
  81. - master_acl
  82. - master_ssh_key
  83. - master_ssh_password
  84. - master_ssh_root
  85. - master_handler
  86. pillars-from-files:
  87. master_api.sls: tests/pillar/master_acl.sls
  88. master_acl.sls: tests/pillar/master_api.sls
  89. master_ssh_key.sls: tests/pillar/master_ssh_minion_key.sls
  90. master_ssh_password.sls: tests/pillar/master_ssh_minion_password.sls
  91. master_ssh_root.sls: tests/pillar/master_ssh_minion_root.sls
  92. master_handler.sls: tests/pillar/master_custom_handler.sls
  93. - name: control_cloud_digitalocean
  94. provisioner:
  95. pillars-from-files:
  96. salt.sls: tests/pillar/control_cloud_digitalocean.sls
  97. - name: control_cloud_openstack
  98. provisioner:
  99. pillars-from-files:
  100. salt.sls: tests/pillar/control_cloud_openstack.sls
  101. - name: control_virt
  102. provisioner:
  103. pillars-from-files:
  104. salt.sls: tests/pillar/control_virt.sls
  105. - name: master_single_pillar
  106. provisioner:
  107. pillars-from-files:
  108. salt.sls: tests/pillar/master_single_pillar.sls
  109. - name: master_single_reclass
  110. provisioner:
  111. pillars-from-files:
  112. salt.sls: tests/pillar/master_single_reclass.sls
  113. - name: minion_local_pillar
  114. provisioner:
  115. pillars-from-files:
  116. salt.sls: tests/pillar/minion_local_pillar.sls
  117. - name: minion_local_reclass
  118. provisioner:
  119. pillars-from-files:
  120. salt.sls: tests/pillar/minion_local_reclass.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