blob: 07f35086d59bef35b270924182c55029889a5f02 [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:
Oleh Hryhorovb25b17a2018-01-22 12:14:30 +020020 - PLATFORM=trevorj/salty-whales:trusty-2017.7 OS_VERSION=mitaka SUITE=ceph-single
21 - PLATFORM=trevorj/salty-whales:xenial-2017.7 OS_VERSION=ocata SUITE=ceph-single
22 - PLATFORM=trevorj/salty-whales:trusty-2017.7 OS_VERSION=mitaka SUITE=control-cluster
23 - PLATFORM=trevorj/salty-whales:xenial-2017.7 OS_VERSION=ocata SUITE=control-cluster
24 - PLATFORM=trevorj/salty-whales:trusty-2017.7 OS_VERSION=mitaka SUITE=control-single
25 - PLATFORM=trevorj/salty-whales:xenial-2017.7 OS_VERSION=ocata SUITE=control-single
26 - PLATFORM=trevorj/salty-whales:trusty-2017.7 OS_VERSION=mitaka SUITE=gpfs-single
27 - PLATFORM=trevorj/salty-whales:xenial-2017.7 OS_VERSION=ocata SUITE=gpfs-single
28 - PLATFORM=trevorj/salty-whales:trusty-2017.7 OS_VERSION=mitaka SUITE=hp3par-single
29 - PLATFORM=trevorj/salty-whales:xenial-2017.7 OS_VERSION=ocata SUITE=hp3par-single
30 - PLATFORM=trevorj/salty-whales:trusty-2017.7 OS_VERSION=mitaka SUITE=lefthand-single
31 - PLATFORM=trevorj/salty-whales:xenial-2017.7 OS_VERSION=ocata SUITE=lefthand-single
32 - PLATFORM=trevorj/salty-whales:trusty-2017.7 OS_VERSION=mitaka SUITE=solidfire-single
33 - PLATFORM=trevorj/salty-whales:xenial-2017.7 OS_VERSION=ocata SUITE=solidfire-single
34 - PLATFORM=trevorj/salty-whales:trusty-2017.7 OS_VERSION=mitaka SUITE=storwize-single
35 - PLATFORM=trevorj/salty-whales:xenial-2017.7 OS_VERSION=ocata SUITE=storwize-single
36 - PLATFORM=trevorj/salty-whales:trusty-2017.7 OS_VERSION=mitaka SUITE=volume-single
37 - PLATFORM=trevorj/salty-whales:xenial-2017.7 OS_VERSION=ocata SUITE=volume-single
38 - PLATFORM=trevorj/salty-whales:trusty-2017.7 OS_VERSION=mitaka SUITE=vsp-single
39 - PLATFORM=trevorj/salty-whales:xenial-2017.7 OS_VERSION=ocata SUITE=vsp-single
40 - PLATFORM=trevorj/salty-whales:trusty-2017.7 OS_VERSION=mitaka SUITE=volume-single-barbican
41 - PLATFORM=trevorj/salty-whales:xenial-2017.7 OS_VERSION=ocata SUITE=volume-single-barbican
Martin Polreichc81a28b2018-01-05 12:54:51 +010042 - PLATFORM=trevorj/salty-whales:trusty OS_VERSION=mitaka SUITE=ceph-single
43 - PLATFORM=trevorj/salty-whales:xenial OS_VERSION=ocata SUITE=ceph-single
44 - PLATFORM=trevorj/salty-whales:trusty OS_VERSION=mitaka SUITE=control-cluster
45 - PLATFORM=trevorj/salty-whales:xenial OS_VERSION=ocata SUITE=control-cluster
46 - PLATFORM=trevorj/salty-whales:trusty OS_VERSION=mitaka SUITE=control-single
47 - PLATFORM=trevorj/salty-whales:xenial OS_VERSION=ocata SUITE=control-single
48 - PLATFORM=trevorj/salty-whales:trusty OS_VERSION=mitaka SUITE=gpfs-single
49 - PLATFORM=trevorj/salty-whales:xenial OS_VERSION=ocata SUITE=gpfs-single
50 - PLATFORM=trevorj/salty-whales:trusty OS_VERSION=mitaka SUITE=hp3par-single
51 - PLATFORM=trevorj/salty-whales:xenial OS_VERSION=ocata SUITE=hp3par-single
52 - PLATFORM=trevorj/salty-whales:trusty OS_VERSION=mitaka SUITE=lefthand-single
53 - PLATFORM=trevorj/salty-whales:xenial OS_VERSION=ocata SUITE=lefthand-single
54 - PLATFORM=trevorj/salty-whales:trusty OS_VERSION=mitaka SUITE=solidfire-single
55 - PLATFORM=trevorj/salty-whales:xenial OS_VERSION=ocata SUITE=solidfire-single
56 - PLATFORM=trevorj/salty-whales:trusty OS_VERSION=mitaka SUITE=storwize-single
57 - PLATFORM=trevorj/salty-whales:xenial OS_VERSION=ocata SUITE=storwize-single
58 - PLATFORM=trevorj/salty-whales:trusty OS_VERSION=mitaka SUITE=volume-single
59 - PLATFORM=trevorj/salty-whales:xenial OS_VERSION=ocata SUITE=volume-single
60 - PLATFORM=trevorj/salty-whales:trusty OS_VERSION=mitaka SUITE=vsp-single
61 - PLATFORM=trevorj/salty-whales:xenial OS_VERSION=ocata SUITE=vsp-single
Oleh Hryhorovb25b17a2018-01-22 12:14:30 +020062 - PLATFORM=trevorj/salty-whales:trusty-2017.7 OS_VERSION=mitaka SUITE=volume-single-barbican
63 - PLATFORM=trevorj/salty-whales:xenial-2017.7 OS_VERSION=ocata SUITE=volume-single-barbican
Martin Polreich0c7c2962017-03-28 17:18:05 +020064
Martin8192ce29c32017-03-23 22:31:45 +010065before_script:
Martin8193b2001d2017-03-28 08:28:32 +020066 - set -o pipefail
67 - make test | tail
Martin8192ce29c32017-03-23 22:31:45 +010068
69script:
Martin Polreichc81a28b2018-01-05 12:54:51 +010070 - test ! -e .kitchen.yml || bundle exec kitchen converge ${SUITE} || true
71 - test ! -e .kitchen.yml || bundle exec kitchen verify ${SUITE} -t tests/integration
Martin Polreich0c7c2962017-03-28 17:18:05 +020072
73notifications:
74 webhooks:
75 urls:
76 - https://webhooks.gitter.im/e/6123573504759330786b
77 on_success: change # options: [always|never|change] default: always
78 on_failure: never # options: [always|never|change] default: always
79 on_start: never # options: [always|never|change] default: always
80 on_cancel: never # options: [always|never|change] default: always
81 on_error: never # options: [always|never|change] default: always
82 email: false