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.

пре 7 година
пре 7 година
пре 7 година
12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. sudo: required
  2. services:
  3. - docker
  4. install:
  5. - pip install PyYAML
  6. - pip install virtualenv
  7. - |
  8. test -e Gemfile || cat <<EOF > Gemfile
  9. source 'https://rubygems.org'
  10. gem 'rake'
  11. gem 'test-kitchen'
  12. gem 'kitchen-docker'
  13. gem 'kitchen-inspec'
  14. gem 'inspec'
  15. gem 'kitchen-salt', :git => 'https://github.com/salt-formulas/kitchen-salt.git'
  16. - bundle install
  17. env:
  18. - PLATFORM=trevorj/salty-whales:trusty SUITE=master-cluster MYSQL_VER=5.6 GALERA_VER=3
  19. - PLATFORM=trevorj/salty-whales:xenial SUITE=master-cluster MYSQL_VER=5.6 GALERA_VER=3
  20. - PLATFORM=trevorj/salty-whales:trusty SUITE=slave-cluster MYSQL_VER=5.6 GALERA_VER=3
  21. - PLATFORM=trevorj/salty-whales:xenial SUITE=slave-cluster MYSQL_VER=5.6 GALERA_VER=3
  22. - PLATFORM=trevorj/salty-whales:trusty SUITE=master-cluster MYSQL_VER=5.7 GALERA_VER=3
  23. - PLATFORM=trevorj/salty-whales:xenial SUITE=master-cluster MYSQL_VER=5.7 GALERA_VER=3
  24. - PLATFORM=trevorj/salty-whales:trusty SUITE=slave-cluster MYSQL_VER=5.7 GALERA_VER=3
  25. - PLATFORM=trevorj/salty-whales:xenial SUITE=slave-cluster MYSQL_VER=5.7 GALERA_VER=3
  26. before_script:
  27. - set -o pipefail
  28. - make test | tail
  29. script:
  30. - test ! -e .kitchen.yml || bundle exec kitchen converge ${SUITE} || true
  31. - test ! -e .kitchen.yml || bundle exec kitchen verify ${SUITE} -t tests/integration
  32. notifications:
  33. webhooks:
  34. urls:
  35. - https://webhooks.gitter.im/e/6123573504759330786b
  36. on_success: change # options: [always|never|change] default: always
  37. on_failure: never # options: [always|never|change] default: always
  38. on_start: never # options: [always|never|change] default: always
  39. on_cancel: never # options: [always|never|change] default: always
  40. on_error: never # options: [always|never|change] default: always
  41. email: false