Saltstack Official IPTables Formula
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2016.3 SUITE=iptables-server
  19. - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2017.7 SUITE=iptables-server
  20. # - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-bionic-salt-2017.7 SUITE=iptables-server
  21. before_script:
  22. - set -o pipefail
  23. - make test | tail
  24. script:
  25. - test ! -e .kitchen.yml || bundle exec kitchen converge ${SUITE} || true
  26. - test ! -e .kitchen.yml || bundle exec kitchen verify ${SUITE} -t tests/integration
  27. notifications:
  28. on:
  29. branch: master
  30. webhooks:
  31. urls:
  32. - https://webhooks.gitter.im/e/6123573504759330786b
  33. on_success: change # options: [always|never|change] default: always
  34. on_failure: never # options: [always|never|change] default: always
  35. on_start: never # options: [always|never|change] default: always
  36. on_cancel: never # options: [always|never|change] default: always
  37. on_error: never # options: [always|never|change] default: always
  38. email: false