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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. ---
  2. driver:
  3. name: docker
  4. hostname: galera.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: galera
  14. grains:
  15. noservices: True
  16. state_top:
  17. base:
  18. "*":
  19. - linux
  20. - galera
  21. pillars:
  22. top.sls:
  23. base:
  24. "*":
  25. - galera
  26. - galeracluster_debian_repo
  27. pillars-from-files:
  28. galeracluster_debian_repo.sls: tests/pillar/repo_galeracluster.sls
  29. dependencies:
  30. - name: mysql
  31. repo: git
  32. source: https://github.com/salt-formulas/salt-formula-mysql.git
  33. dependencies:
  34. - name: linux
  35. repo: git
  36. source: https://github.com/salt-formulas/salt-formula-linux.git
  37. verifier:
  38. name: inspec
  39. sudo: true
  40. platforms:
  41. - name: <%=ENV['PLATFORM'] || 'ubuntu-xenial'%>
  42. driver_config:
  43. image: <%=ENV['PLATFORM'] || 'trevorj/salty-whales:xenial'%>
  44. platform: ubuntu
  45. suites:
  46. - name: master_cluster
  47. provisioner:
  48. pillars-from-files:
  49. galera.sls: tests/pillar/master_cluster.sls
  50. - name: slave_cluster
  51. provisioner:
  52. pillars-from-files:
  53. galera.sls: tests/pillar/slave_cluster.sls
  54. # vim: ft=yaml sw=2 ts=2 sts=2 tw=125