New version of salt-formula from Saltstack
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

31 lines
732B

  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/epcim/kitchen-salt.git', :branch => 'dependencis-pkg-repo2'
  16. #Waiting for PR#78
  17. #gem 'kitchen-salt', '>=0.2.25'
  18. - bundle install
  19. env:
  20. - PLATFORM=trevorj/salty-whales:trusty
  21. - PLATFORM=trevorj/salty-whales:xenial
  22. before_script:
  23. - make test | tail
  24. script:
  25. - test ! -e .kitchen.yml || bundle exec kitchen converge || true
  26. - test ! -e .kitchen.yml || bundle exec kitchen verify