blob: d7c692cc2c3f13f6caf838bad4784296f7922de8 [file] [log] [blame]
Martin Polreich8933a6c2017-04-11 14:55:08 +02001sudo: required
2services:
3 - docker
4
5install:
6 - pip install PyYAML
7 - pip install virtualenv
8 - |
Martin Polreichc3c437a2018-11-07 14:42:30 +01009 if [ ! -e Gemfile ]; then
10 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'
11 fi
Martin Polreich8933a6c2017-04-11 14:55:08 +020012 - bundle install
13
14env:
Martin Polreich08c86d12018-11-20 15:07:53 +010015 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19 SUITE=master-cluster MYSQL_VER=5.6 GALERA_VER=3
16 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19 SUITE=slave-cluster MYSQL_VER=5.6 GALERA_VER=3
17 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19 SUITE=master-cluster MYSQL_VER=5.7 GALERA_VER=3
18 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19 SUITE=slave-cluster MYSQL_VER=5.7 GALERA_VER=3
19 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19 SUITE=master-cluster MYSQL_VER=5.6 GALERA_VER=3
20 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19 SUITE=slave-cluster MYSQL_VER=5.6 GALERA_VER=3
21 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19 SUITE=master-cluster MYSQL_VER=5.7 GALERA_VER=3
22 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19 SUITE=slave-cluster MYSQL_VER=5.7 GALERA_VER=3
Martin Polreich8933a6c2017-04-11 14:55:08 +020023
24before_script:
25 - set -o pipefail
26 - make test | tail
27
28script:
Martin Polreichf21f1582018-01-05 13:05:47 +010029 - test ! -e .kitchen.yml || bundle exec kitchen converge ${SUITE} || true
30 - test ! -e .kitchen.yml || bundle exec kitchen verify ${SUITE} -t tests/integration
Martin Polreich8933a6c2017-04-11 14:55:08 +020031
32notifications:
33 webhooks:
34 urls:
35 - https://webhooks.gitter.im/e/6123573504759330786b
36 on_success: change # options: [always|never|change] default: always
37 on_failure: never # options: [always|never|change] default: always
38 on_start: never # options: [always|never|change] default: always
39 on_cancel: never # options: [always|never|change] default: always
40 on_error: never # options: [always|never|change] default: always
41 email: false