blob: 635cec42ada978ecad6466bfac36a375c74fe17c [file] [log] [blame]
Martin Polreich6dc1f222018-06-21 15:30:05 +02001language: python
2python:
3- "2.7.13"
Vasyl Saienko7a4ae402018-01-30 16:37:14 +02004sudo: required
5services:
6 - docker
7
8install:
9 - pip install PyYAML
10 - pip install virtualenv
11 - |
Martin Polreich489e2632018-11-07 14:43:46 +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
Vasyl Saienko7a4ae402018-01-30 16:37:14 +020015 - bundle install
16
17env:
Martin Polreich2b7d1ce2018-11-20 15:09:11 +010018 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19 OS_VERSION=pike SUITE=server-cluster
19 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19 OS_VERSION=pike SUITE=server-single
20 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19 OS_VERSION=pike SUITE=share-nexenta
21 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19 OS_VERSION=pike SUITE=share-glusterfs
22 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19 OS_VERSION=pike SUITE=server-cluster-ssl
sgarbuze8677fc2018-05-15 16:37:17 +030023# Uncomment when salt 2018.3.1 released bug https://github.com/saltstack/salt/issues/46929
Martin Polreich2b7d1ce2018-11-20 15:09:11 +010024# - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19 OS_VERSION=pike SUITE=server-cluster
25# - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19 OS_VERSION=pike SUITE=server-single
26# - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19 OS_VERSION=pike SUITE=share-nexenta
27# - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19 OS_VERSION=pike SUITE=share-glusterfs
28# - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19 OS_VERSION=pike SUITE=server-cluster-ssl
Vasyl Saienko7a4ae402018-01-30 16:37:14 +020029
30before_script:
31 - set -o pipefail
32 - make test | tail
33
34script:
35 - test ! -e .kitchen.yml || bundle exec kitchen converge ${SUITE} || true
36 - test ! -e .kitchen.yml || bundle exec kitchen verify ${SUITE} -t tests/integration
37
38notifications:
39 webhooks:
40 urls:
41 - https://webhooks.gitter.im/e/6123573504759330786b
42 on_success: change # options: [always|never|change] default: always
43 on_failure: never # options: [always|never|change] default: always
44 on_start: never # options: [always|never|change] default: always
45 on_cancel: never # options: [always|never|change] default: always
46 on_error: never # options: [always|never|change] default: always
47 email: false