Saltstack Official MongoDB 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.

52 rindas
1.8KB

  1. language: python
  2. python:
  3. - "2.7.13"
  4. sudo: required
  5. services:
  6. - docker
  7. install:
  8. - pip install PyYAML
  9. - pip install virtualenv
  10. - |
  11. test -e Gemfile || cat <<EOF > Gemfile
  12. source 'https://rubygems.org'
  13. gem 'rake'
  14. gem 'test-kitchen'
  15. gem 'kitchen-docker'
  16. gem 'kitchen-inspec'
  17. gem 'inspec'
  18. gem 'kitchen-salt', :git => 'https://github.com/salt-formulas/kitchen-salt.git'
  19. - bundle install
  20. env:
  21. - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2016.3 SUITE=cluster
  22. - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2016.3 SUITE=single
  23. - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2017.7 SUITE=cluster
  24. - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2017.7 SUITE=single
  25. - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2018.3 SUITE=cluster
  26. - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2018.3 SUITE=single
  27. # - PLATFORM=epcim/salt:saltstack-ubuntu-bionic-salt-2017.7 SUITE=cluster
  28. # - PLATFORM=epcim/salt:saltstack-ubuntu-bionic-salt-2017.7 SUITE=single
  29. # - PLATFORM=epcim/salt:saltstack-ubuntu-bionic-salt-2018.3 SUITE=cluster
  30. # - PLATFORM=epcim/salt:saltstack-ubuntu-bionic-salt-2018.3 SUITE=single
  31. before_script:
  32. - set -o pipefail
  33. - make test | tail
  34. script:
  35. - test ! -e .kitchen.yml || bundle exec kitchen converge ${SUITE} || true
  36. - test ! -e .kitchen.yml || bundle exec kitchen verify ${SUITE} -t tests/integration
  37. notifications:
  38. webhooks:
  39. urls:
  40. - https://webhooks.gitter.im/e/6123573504759330786b
  41. on_success: change # options: [always|never|change] default: always
  42. on_failure: never # options: [always|never|change] default: always
  43. on_start: never # options: [always|never|change] default: always
  44. on_cancel: never # options: [always|never|change] default: always
  45. on_error: never # options: [always|never|change] default: always
  46. email: false