blob: 4f20546706253536c63fc47b7fe40fb5df42f6bb [file] [log] [blame]
Martin8192ce29c32017-03-23 22:31:45 +01001sudo: required
2services:
3 - docker
4
5install:
6 - pip install PyYAML
7 - pip install virtualenv
8 - |
9 test -e Gemfile || cat <<EOF > Gemfile
10 source 'https://rubygems.org'
11 gem 'rake'
12 gem 'test-kitchen'
13 gem 'kitchen-docker'
14 gem 'kitchen-inspec'
15 gem 'inspec'
Martin Polreich0c7c2962017-03-28 17:18:05 +020016 gem 'kitchen-salt', :git => 'https://github.com/salt-formulas/kitchen-salt.git'
Martin8192ce29c32017-03-23 22:31:45 +010017 - bundle install
18
19env:
Martin Polreichc81a28b2018-01-05 12:54:51 +010020 - PLATFORM=trevorj/salty-whales:trusty OS_VERSION=mitaka SUITE=ceph-single
21 - PLATFORM=trevorj/salty-whales:xenial OS_VERSION=ocata SUITE=ceph-single
22 - PLATFORM=trevorj/salty-whales:trusty OS_VERSION=mitaka SUITE=control-cluster
23 - PLATFORM=trevorj/salty-whales:xenial OS_VERSION=ocata SUITE=control-cluster
24 - PLATFORM=trevorj/salty-whales:trusty OS_VERSION=mitaka SUITE=control-single
25 - PLATFORM=trevorj/salty-whales:xenial OS_VERSION=ocata SUITE=control-single
26 - PLATFORM=trevorj/salty-whales:trusty OS_VERSION=mitaka SUITE=gpfs-single
27 - PLATFORM=trevorj/salty-whales:xenial OS_VERSION=ocata SUITE=gpfs-single
28 - PLATFORM=trevorj/salty-whales:trusty OS_VERSION=mitaka SUITE=hp3par-single
29 - PLATFORM=trevorj/salty-whales:xenial OS_VERSION=ocata SUITE=hp3par-single
30 - PLATFORM=trevorj/salty-whales:trusty OS_VERSION=mitaka SUITE=lefthand-single
31 - PLATFORM=trevorj/salty-whales:xenial OS_VERSION=ocata SUITE=lefthand-single
32 - PLATFORM=trevorj/salty-whales:trusty OS_VERSION=mitaka SUITE=solidfire-single
33 - PLATFORM=trevorj/salty-whales:xenial OS_VERSION=ocata SUITE=solidfire-single
34 - PLATFORM=trevorj/salty-whales:trusty OS_VERSION=mitaka SUITE=storwize-single
35 - PLATFORM=trevorj/salty-whales:xenial OS_VERSION=ocata SUITE=storwize-single
36 - PLATFORM=trevorj/salty-whales:trusty OS_VERSION=mitaka SUITE=volume-single
37 - PLATFORM=trevorj/salty-whales:xenial OS_VERSION=ocata SUITE=volume-single
38 - PLATFORM=trevorj/salty-whales:trusty OS_VERSION=mitaka SUITE=vsp-single
39 - PLATFORM=trevorj/salty-whales:xenial OS_VERSION=ocata SUITE=vsp-single
40 - PLATFORM=trevorj/salty-whales:trusty OS_VERSION=mitaka SUITE=volume-single-barbican
41 - PLATFORM=trevorj/salty-whales:xenial OS_VERSION=ocata SUITE=volume-single-barbican
Martin Polreich0c7c2962017-03-28 17:18:05 +020042
Martin8192ce29c32017-03-23 22:31:45 +010043before_script:
Martin8193b2001d2017-03-28 08:28:32 +020044 - set -o pipefail
45 - make test | tail
Martin8192ce29c32017-03-23 22:31:45 +010046
47script:
Martin Polreichc81a28b2018-01-05 12:54:51 +010048 - test ! -e .kitchen.yml || bundle exec kitchen converge ${SUITE} || true
49 - test ! -e .kitchen.yml || bundle exec kitchen verify ${SUITE} -t tests/integration
Martin Polreich0c7c2962017-03-28 17:18:05 +020050
51notifications:
52 webhooks:
53 urls:
54 - https://webhooks.gitter.im/e/6123573504759330786b
55 on_success: change # options: [always|never|change] default: always
56 on_failure: never # options: [always|never|change] default: always
57 on_start: never # options: [always|never|change] default: always
58 on_cancel: never # options: [always|never|change] default: always
59 on_error: never # options: [always|never|change] default: always
60 email: false