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.

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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', '<3.0.0'
  18. #Version was frozen, because of issues in the version of inspec >3.0.0 -- see https://mirantis.jira.com/browse/PROD-24324 for more info
  19. gem 'kitchen-salt', :git => 'https://github.com/salt-formulas/kitchen-salt.git'
  20. - bundle install
  21. env:
  22. - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2016.3 SUITE=cluster
  23. - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2016.3 SUITE=single
  24. - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2017.7 SUITE=cluster
  25. - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2017.7 SUITE=single
  26. - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2018.3 SUITE=cluster
  27. - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2018.3 SUITE=single
  28. # - PLATFORM=epcim/salt:saltstack-ubuntu-bionic-salt-2017.7 SUITE=cluster
  29. # - PLATFORM=epcim/salt:saltstack-ubuntu-bionic-salt-2017.7 SUITE=single
  30. # - PLATFORM=epcim/salt:saltstack-ubuntu-bionic-salt-2018.3 SUITE=cluster
  31. # - PLATFORM=epcim/salt:saltstack-ubuntu-bionic-salt-2018.3 SUITE=single
  32. before_script:
  33. - set -o pipefail
  34. - make test | tail
  35. script:
  36. - test ! -e .kitchen.yml || bundle exec kitchen converge ${SUITE} || true
  37. - test ! -e .kitchen.yml || bundle exec kitchen verify ${SUITE} -t tests/integration
  38. notifications:
  39. webhooks:
  40. urls:
  41. - https://webhooks.gitter.im/e/6123573504759330786b
  42. on_success: change # options: [always|never|change] default: always
  43. on_failure: never # options: [always|never|change] default: always
  44. on_start: never # options: [always|never|change] default: always
  45. on_cancel: never # options: [always|never|change] default: always
  46. on_error: never # options: [always|never|change] default: always
  47. email: false