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

42 rindas
1.1KB

  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=trevorj/salty-whales:trusty
  19. - PLATFORM=trevorj/salty-whales:xenial
  20. before_script:
  21. - set -o pipefail
  22. - make test | tail
  23. script:
  24. - test ! -e .kitchen.yml || bundle exec kitchen converge || true
  25. - test ! -e .kitchen.yml || bundle exec kitchen verify -t tests/integration
  26. notifications:
  27. webhooks:
  28. urls:
  29. - https://webhooks.gitter.im/e/6123573504759330786b
  30. on_success: change # options: [always|never|change] default: always
  31. on_failure: never # options: [always|never|change] default: always
  32. on_start: never # options: [always|never|change] default: always
  33. on_cancel: never # options: [always|never|change] default: always
  34. on_error: never # options: [always|never|change] default: always
  35. email: false