blob: 8f3dd7d90baf6697a953b696e729519fa3382700 [file] [log] [blame]
Martin Polreichdda63c02018-06-21 15:27:55 +02001language: python
2python:
3- "2.7.13"
Martin81923e0eb42017-03-24 13:55:31 +01004sudo: required
5services:
6 - docker
7
8install:
9 - pip install PyYAML
10 - pip install virtualenv
11 - |
Martin Polreichb275fa52018-11-07 14:41:54 +010012 if [ ! -e Gemfile ]; then
13 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'
14 fi
Martin81923e0eb42017-03-24 13:55:31 +010015 - bundle install
16
17env:
Mykyta Karpine78e8232018-08-27 11:11:33 +030018 - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2017.7 OS_VERSION=newton SUITE=agent_cluster
19 - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2017.7 OS_VERSION=newton SUITE=agent_single
20 - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2017.7 OS_VERSION=newton SUITE=server_cluster
21 - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2017.7 OS_VERSION=newton SUITE=server_single
22 - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2017.7 OS_VERSION=mitaka SUITE=agent_cluster
23 - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2017.7 OS_VERSION=mitaka SUITE=agent_single
24 - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2017.7 OS_VERSION=mitaka SUITE=server_cluster
25 - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2017.7 OS_VERSION=mitaka SUITE=server_single
Mykyta Karpin72d0b992018-02-16 12:01:11 +020026 - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2017.7 OS_VERSION=ocata SUITE=agent_cluster
27 - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2017.7 OS_VERSION=ocata SUITE=agent_single
28 - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2017.7 OS_VERSION=pike SUITE=agent_cluster
29 - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2017.7 OS_VERSION=pike SUITE=agent_single
30 - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2017.7 OS_VERSION=ocata SUITE=server_cluster
Mykyta Karpin096d8e12018-03-01 14:57:10 +020031 - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2017.7 OS_VERSION=pike SUITE=server_gnocchi_cluster
Mykyta Karpin72d0b992018-02-16 12:01:11 +020032 - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2017.7 OS_VERSION=ocata SUITE=server_single
33 - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2017.7 OS_VERSION=pike SUITE=server_cluster
34 - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2017.7 OS_VERSION=pike SUITE=server_single
35 - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2017.7 OS_VERSION=pike SUITE=server_cluster_ssl
Mykyta Karpin096d8e12018-03-01 14:57:10 +020036 - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2017.7 OS_VERSION=pike SUITE=server_gnocchi_cluster_ssl
Mykyta Karpin72d0b992018-02-16 12:01:11 +020037 - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2017.7 OS_VERSION=pike SUITE=agent_cluster_ssl
Martin Polreich05282372017-03-28 17:06:10 +020038
Martin81923e0eb42017-03-24 13:55:31 +010039before_script:
Martin Polreich05282372017-03-28 17:06:10 +020040 - set -o pipefail
41 - make test | tail
Martin81923e0eb42017-03-24 13:55:31 +010042
43script:
Martin Polreich16a786f2018-01-05 12:49:34 +010044 - test ! -e .kitchen.yml || bundle exec kitchen converge ${SUITE} || true
45 - test ! -e .kitchen.yml || bundle exec kitchen verify ${SUITE} -t tests/integration
Martin Polreich05282372017-03-28 17:06:10 +020046
47notifications:
48 webhooks:
49 urls:
50 - https://webhooks.gitter.im/e/6123573504759330786b
51 on_success: change # options: [always|never|change] default: always
52 on_failure: never # options: [always|never|change] default: always
53 on_start: never # options: [always|never|change] default: always
54 on_cancel: never # options: [always|never|change] default: always
55 on_error: never # options: [always|never|change] default: always
56 email: false