Saltstack Official Galera Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

61 lines
1.3KB

  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