Saltstack Official Linux Formula
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

57 líneas
1.9KB

  1. sudo: required
  2. services:
  3. - docker
  4. addons:
  5. apt:
  6. packages:
  7. - apt-transport-https
  8. install:
  9. - pip install PyYAML
  10. - pip install virtualenv
  11. - |
  12. test -e Gemfile || cat <<EOF > Gemfile
  13. source 'https://rubygems.org'
  14. gem 'rake'
  15. gem 'test-kitchen'
  16. gem 'kitchen-docker'
  17. gem 'kitchen-inspec'
  18. gem 'inspec'
  19. gem 'kitchen-salt', :git => 'https://github.com/salt-formulas/kitchen-salt.git'
  20. - bundle install
  21. env:
  22. - PLATFORM=trevorj/salty-whales:trusty-2017.7 SUITE=network
  23. - PLATFORM=trevorj/salty-whales:xenial-2017.7 SUITE=network
  24. # - PLATFORM=trevorj/salty-whales:trusty-2017.7 SUITE=storage
  25. # - PLATFORM=trevorj/salty-whales:xenial-2017.7 SUITE=storage
  26. - PLATFORM=trevorj/salty-whales:trusty-2017.7 SUITE=system
  27. - PLATFORM=trevorj/salty-whales:xenial-2017.7 SUITE=system
  28. - PLATFORM=trevorj/salty-whales:trusty SUITE=network
  29. - PLATFORM=trevorj/salty-whales:xenial SUITE=network
  30. # - PLATFORM=trevorj/salty-whales:trusty SUITE=storage
  31. # - PLATFORM=trevorj/salty-whales:xenial SUITE=storage
  32. - PLATFORM=trevorj/salty-whales:trusty SUITE=system
  33. - PLATFORM=trevorj/salty-whales:xenial SUITE=system
  34. ## Test on both Salt version until there is new test policy accepted
  35. before_script:
  36. - set -o pipefail
  37. - make test | tail
  38. script:
  39. - test ! -e .kitchen.yml || bundle exec kitchen converge ${SUITE} || true
  40. - test ! -e .kitchen.yml || bundle exec kitchen verify ${SUITE} -t tests/integration
  41. notifications:
  42. webhooks:
  43. urls:
  44. - https://webhooks.gitter.im/e/6123573504759330786b
  45. on_success: change # options: [always|never|change] default: always
  46. on_failure: never # options: [always|never|change] default: always
  47. on_start: never # options: [always|never|change] default: always
  48. on_cancel: never # options: [always|never|change] default: always
  49. on_error: never # options: [always|never|change] default: always
  50. email: false