Martin Polreich | ef40020 | 2018-06-21 15:29:21 +0200 | [diff] [blame] | 1 | language: python |
| 2 | python: |
| 3 | - "2.7.13" |
Martin819 | 1d6f0a8 | 2017-03-17 17:38:11 +0100 | [diff] [blame] | 4 | sudo: required |
Martin819 | 1d6f0a8 | 2017-03-17 17:38:11 +0100 | [diff] [blame] | 5 | |
Martin819 | e07d0a9 | 2017-03-28 11:37:58 +0200 | [diff] [blame] | 6 | install: |
Martin819 | 1d6f0a8 | 2017-03-17 17:38:11 +0100 | [diff] [blame] | 7 | - | |
Dzmitry Stremkouski | 1ca901c | 2018-11-05 13:20:52 +0100 | [diff] [blame] | 8 | git clone https://gerrit.mcp.mirantis.com/salt-formulas/salt-formulas-scripts |
Dzmitry Stremkouski | 9633592 | 2018-11-05 16:20:11 +0100 | [diff] [blame^] | 9 | sudo -H bash ./salt-formulas-scripts/bootstrap-openstack-kitchen.sh |
Martin819 | 1d6f0a8 | 2017-03-17 17:38:11 +0100 | [diff] [blame] | 10 | |
Martin819 | e07d0a9 | 2017-03-28 11:37:58 +0200 | [diff] [blame] | 11 | env: |
Dzmitry Stremkouski | 1ca901c | 2018-11-05 13:20:52 +0100 | [diff] [blame] | 12 | - 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 |
Martin819 | e07d0a9 | 2017-03-28 11:37:58 +0200 | [diff] [blame] | 16 | |
Martin819 | 1d6f0a8 | 2017-03-17 17:38:11 +0100 | [diff] [blame] | 17 | before_script: |
Martin819 | f7613e4 | 2017-03-28 09:40:12 +0200 | [diff] [blame] | 18 | - set -o pipefail |
| 19 | - make test | tail |
Martin819 | 1d6f0a8 | 2017-03-17 17:38:11 +0100 | [diff] [blame] | 20 | |
| 21 | script: |
Dzmitry Stremkouski | 1ca901c | 2018-11-05 13:20:52 +0100 | [diff] [blame] | 22 | - 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 |
Martin819 | fe6e787 | 2017-03-28 10:17:00 +0200 | [diff] [blame] | 24 | |
| 25 | notifications: |
Martin819 | e07d0a9 | 2017-03-28 11:37:58 +0200 | [diff] [blame] | 26 | on: |
| 27 | branch: master |
Martin819 | fe6e787 | 2017-03-28 10:17:00 +0200 | [diff] [blame] | 28 | webhooks: |
| 29 | urls: |
| 30 | - https://webhooks.gitter.im/e/6123573504759330786b |
| 31 | on_success: change # options: [always|never|change] default: always |
Martin819 | 4cbbe3b | 2017-03-28 12:50:56 +0200 | [diff] [blame] | 32 | on_failure: never # options: [always|never|change] default: always |
Martin819 | fe6e787 | 2017-03-28 10:17:00 +0200 | [diff] [blame] | 33 | on_start: never # options: [always|never|change] default: always |
| 34 | on_cancel: never # options: [always|never|change] default: always |
Martin819 | 4cbbe3b | 2017-03-28 12:50:56 +0200 | [diff] [blame] | 35 | on_error: never # options: [always|never|change] default: always |
| 36 | email: false |