New Saltstack Salt formula
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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. if [ ! -e Gemfile ]; then
  12. curl -s -o ./Gemfile 'https://gerrit.mcp.mirantis.com/gitweb?p=salt-formulas/salt-formulas-scripts.git;a=blob_plain;f=Gemfile;hb=refs/heads/master'
  13. fi
  14. - bundle install
  15. env:
  16. - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2016.3/salt:2018_11_19 SUITE=control-default
  17. - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2016.3/salt:2018_11_19 SUITE=master-default
  18. - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2016.3/salt:2018_11_19 SUITE=minion-default
  19. - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2016.3/salt:2018_11_19 SUITE=minion-multi-master-failover
  20. - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19 SUITE=control-default
  21. - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19 SUITE=master-default
  22. - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19 SUITE=minion-default
  23. - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19 SUITE=minion-multi-master-failover
  24. - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19 SUITE=control-default
  25. - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19 SUITE=master-default
  26. - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19 SUITE=minion-default
  27. - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19 SUITE=minion-multi-master-failover
  28. before_script:
  29. - set -o pipefail
  30. - make test | tail
  31. script:
  32. - test ! -e .kitchen.yml || bundle exec kitchen converge ${SUITE} || true
  33. - test ! -e .kitchen.yml || bundle exec kitchen verify ${SUITE} -t tests/integration
  34. notifications:
  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