Saltstack Official Galera Formula
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

51 Zeilen
2.5KB

  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=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2016.3 SUITE=master-cluster MYSQL_VER=5.6 GALERA_VER=3
  19. - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2016.3 SUITE=slave-cluster MYSQL_VER=5.6 GALERA_VER=3
  20. - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2016.3 SUITE=master-cluster MYSQL_VER=5.7 GALERA_VER=3
  21. - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2016.3 SUITE=slave-cluster MYSQL_VER=5.7 GALERA_VER=3
  22. - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2017.7 SUITE=master-cluster MYSQL_VER=5.6 GALERA_VER=3
  23. - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2017.7 SUITE=slave-cluster MYSQL_VER=5.6 GALERA_VER=3
  24. - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2017.7 SUITE=master-cluster MYSQL_VER=5.7 GALERA_VER=3
  25. - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2017.7 SUITE=slave-cluster MYSQL_VER=5.7 GALERA_VER=3
  26. # - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-bionic-salt-2017.7 SUITE=master-cluster MYSQL_VER=5.6 GALERA_VER=3
  27. # - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-bionic-salt-2017.7 SUITE=slave-cluster MYSQL_VER=5.6 GALERA_VER=3
  28. # - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-bionic-salt-2017.7 SUITE=master-cluster MYSQL_VER=5.7 GALERA_VER=3
  29. # - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-bionic-salt-2017.7 SUITE=slave-cluster MYSQL_VER=5.7 GALERA_VER=3
  30. before_script:
  31. - set -o pipefail
  32. - make test | tail
  33. script:
  34. - test ! -e .kitchen.yml || bundle exec kitchen converge ${SUITE} || true
  35. - test ! -e .kitchen.yml || bundle exec kitchen verify ${SUITE} -t tests/integration
  36. notifications:
  37. webhooks:
  38. urls:
  39. - https://webhooks.gitter.im/e/6123573504759330786b
  40. on_success: change # options: [always|never|change] default: always
  41. on_failure: never # options: [always|never|change] default: always
  42. on_start: never # options: [always|never|change] default: always
  43. on_cancel: never # options: [always|never|change] default: always
  44. on_error: never # options: [always|never|change] default: always
  45. email: false