Saltstack Official IPTables Formula
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

49 linhas
1.5KB

  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'
  18. gem 'kitchen-salt', :git => 'https://github.com/salt-formulas/kitchen-salt.git'
  19. - bundle install
  20. env:
  21. - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2016.3 SUITE=iptables-server
  22. - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2017.7 SUITE=iptables-server
  23. - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2018.3 SUITE=iptables-server
  24. # - PLATFORM=epcim/salt:saltstack-ubuntu-bionic-salt-2017.7 SUITE=iptables-server
  25. # - PLATFORM=epcim/salt:saltstack-ubuntu-bionic-salt-2018.3 SUITE=iptables-server
  26. before_script:
  27. - set -o pipefail
  28. - make test | tail
  29. script:
  30. - test ! -e .kitchen.yml || bundle exec kitchen converge ${SUITE} || true
  31. - test ! -e .kitchen.yml || bundle exec kitchen verify ${SUITE} -t tests/integration
  32. notifications:
  33. on:
  34. branch: master
  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