New version of salt-formula from Saltstack
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

7 роки тому
7 роки тому
7 роки тому
7 роки тому
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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', '<3.0.0'
  18. #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, '<3.0.0'
  19. gem 'kitchen-salt' #, :git => 'https://github.com/salt-formulas/kitchen-salt.git'
  20. - bundle install
  21. env:
  22. - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2016.3 SUITE=control-default
  23. - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2016.3 SUITE=master-default
  24. - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2016.3 SUITE=minion-default
  25. - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2016.3 SUITE=minion-multi-master-failover
  26. - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2017.7 SUITE=control-default
  27. - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2017.7 SUITE=master-default
  28. - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2017.7 SUITE=minion-default
  29. - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2017.7 SUITE=minion-multi-master-failover
  30. - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2018.3 SUITE=control-default
  31. - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2018.3 SUITE=master-default
  32. - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2018.3 SUITE=minion-default
  33. - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2018.3 SUITE=minion-multi-master-failover
  34. # - PLATFORM=epcim/salt:saltstack-ubuntu-bionic-salt-2017.7 SUITE=control-default
  35. # - PLATFORM=epcim/salt:saltstack-ubuntu-bionic-salt-2017.7 SUITE=master-default
  36. # - PLATFORM=epcim/salt:saltstack-ubuntu-bionic-salt-2017.7 SUITE=minion-default
  37. # - PLATFORM=epcim/salt:saltstack-ubuntu-bionic-salt-2017.7 SUITE=minion-multi-master-failover
  38. # - PLATFORM=epcim/salt:saltstack-ubuntu-bionic-salt-2018.3 SUITE=control-default
  39. # - PLATFORM=epcim/salt:saltstack-ubuntu-bionic-salt-2018.3 SUITE=master-default
  40. # - PLATFORM=epcim/salt:saltstack-ubuntu-bionic-salt-2018.3 SUITE=minion-default
  41. # - PLATFORM=epcim/salt:saltstack-ubuntu-bionic-salt-2018.3 SUITE=minion-multi-master-failover
  42. before_script:
  43. - set -o pipefail
  44. - make test | tail
  45. script:
  46. - test ! -e .kitchen.yml || bundle exec kitchen converge ${SUITE} || true
  47. - test ! -e .kitchen.yml || bundle exec kitchen verify ${SUITE} -t tests/integration
  48. notifications:
  49. webhooks:
  50. urls:
  51. - https://webhooks.gitter.im/e/6123573504759330786b
  52. on_success: change # options: [always|never|change] default: always
  53. on_failure: never # options: [always|never|change] default: always
  54. on_start: never # options: [always|never|change] default: always
  55. on_cancel: never # options: [always|never|change] default: always
  56. on_error: never # options: [always|never|change] default: always
  57. email: false