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.

58 líneas
2.0KB

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