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.

50 líneas
1.4KB

  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 SUITE=network
  23. - PLATFORM=trevorj/salty-whales:xenial SUITE=network
  24. # - PLATFORM=trevorj/salty-whales:trusty SUITE=storage
  25. # - PLATFORM=trevorj/salty-whales:xenial SUITE=storage
  26. - PLATFORM=trevorj/salty-whales:trusty SUITE=system
  27. - PLATFORM=trevorj/salty-whales:xenial SUITE=system
  28. before_script:
  29. - set -o pipefail
  30. - make test | tail
  31. script:
  32. - test ! -e .kitchen.yml || bundle exec kitchen converge ${SUITE} || true
  33. - test ! -e .kitchen.yml || bundle exec kitchen verify ${SUITE} -t tests/integration
  34. notifications:
  35. webhooks:
  36. urls:
  37. - https://webhooks.gitter.im/e/6123573504759330786b
  38. on_success: change # options: [always|never|change] default: always
  39. on_failure: never # options: [always|never|change] default: always
  40. on_start: never # options: [always|never|change] default: always
  41. on_cancel: never # options: [always|never|change] default: always
  42. on_error: never # options: [always|never|change] default: always
  43. email: false