blob: 695ee96866954597450073dacc2107e8255834a2 [file] [log] [blame]
Martin Polreichef400202018-06-21 15:29:21 +02001language: python
2python:
3- "2.7.13"
Martin8191d6f0a82017-03-17 17:38:11 +01004sudo: required
Martin8191d6f0a82017-03-17 17:38:11 +01005
Martin819e07d0a92017-03-28 11:37:58 +02006install:
Martin8191d6f0a82017-03-17 17:38:11 +01007 - |
Dzmitry Stremkouski1ca901c2018-11-05 13:20:52 +01008 git clone https://gerrit.mcp.mirantis.com/salt-formulas/salt-formulas-scripts
Dzmitry Stremkouski96335922018-11-05 16:20:11 +01009 sudo -H bash ./salt-formulas-scripts/bootstrap-openstack-kitchen.sh
Martin8191d6f0a82017-03-17 17:38:11 +010010
Martin819e07d0a92017-03-28 11:37:58 +020011env:
Dzmitry Stremkouski1ca901c2018-11-05 13:20:52 +010012 - UBUNTU_DISTRO=xenial SALT_VERSION=2018.3 SUITE=iptables
13 - UBUNTU_DISTRO=xenial SALT_VERSION=2017.7 SUITE=iptables
14 - UBUNTU_DISTRO=bionic SALT_VERSION=2018.3 SUITE=iptables
15 - UBUNTU_DISTRO=bionic SALT_VERSION=2017.7 SUITE=iptables
Martin819e07d0a92017-03-28 11:37:58 +020016
Martin8191d6f0a82017-03-17 17:38:11 +010017before_script:
Martin819f7613e42017-03-28 09:40:12 +020018 - set -o pipefail
19 - make test | tail
Martin8191d6f0a82017-03-17 17:38:11 +010020
21script:
Dzmitry Stremkouski1ca901c2018-11-05 13:20:52 +010022 - test ! -e .kitchen.openstack.yml || bundle exec kitchen converge ${SUITE} || true
23 - test ! -e .kitchen.openstack.yml || bundle exec kitchen verify ${SUITE} -t tests/integration
Martin819fe6e7872017-03-28 10:17:00 +020024
25notifications:
Martin819e07d0a92017-03-28 11:37:58 +020026 on:
27 branch: master
Martin819fe6e7872017-03-28 10:17:00 +020028 webhooks:
29 urls:
30 - https://webhooks.gitter.im/e/6123573504759330786b
31 on_success: change # options: [always|never|change] default: always
Martin8194cbbe3b2017-03-28 12:50:56 +020032 on_failure: never # options: [always|never|change] default: always
Martin819fe6e7872017-03-28 10:17:00 +020033 on_start: never # options: [always|never|change] default: always
34 on_cancel: never # options: [always|never|change] default: always
Martin8194cbbe3b2017-03-28 12:50:56 +020035 on_error: never # options: [always|never|change] default: always
36 email: false