Saltstack Official Galera Formula
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.

66 rindas
1.4KB

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