Martin Polreich | 2209ad1 | 2018-09-13 16:10:34 +0200 | [diff] [blame] | 1 | language: python |
| 2 | python: |
| 3 | - "2.7.13" |
Petr Michalec | 520a2a1 | 2017-03-13 08:47:43 +0100 | [diff] [blame] | 4 | sudo: required |
| 5 | services: |
| 6 | - docker |
| 7 | |
| 8 | install: |
| 9 | - pip install PyYAML |
| 10 | - pip install virtualenv |
| 11 | - | |
Martin Polreich | 20896dc | 2018-11-07 14:44:01 +0100 | [diff] [blame] | 12 | 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 |
Petr Michalec | 520a2a1 | 2017-03-13 08:47:43 +0100 | [diff] [blame] | 15 | - bundle install |
| 16 | |
| 17 | env: |
Ann Kamyshnikova | 3480053 | 2018-12-07 13:21:11 +0400 | [diff] [blame^] | 18 | - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19 OS_VERSION=pike SUITE=compute-dpdk |
| 19 | - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19 OS_VERSION=ocata SUITE=compute-dvr-fwaas-v1 |
| 20 | - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19 OS_VERSION=pike SUITE=compute-nonexternal-dvr |
| 21 | - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19 OS_VERSION=pike SUITE=compute-qos-sriov |
| 22 | - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19 OS_VERSION=queens SUITE=compute-ovn |
| 23 | - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19 OS_VERSION=pike SUITE=control-cluster |
| 24 | - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19 OS_VERSION=pike SUITE=control-nodvr |
| 25 | - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19 OS_VERSION=ocata SUITE=control-fwaas-v1 |
| 26 | - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19 OS_VERSION=pike SUITE=control-opendaylight |
| 27 | - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19 OS_VERSION=pike SUITE=control-qos |
| 28 | - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19 OS_VERSION=pike SUITE=gateway-dvr |
| 29 | - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19 OS_VERSION=pike SUITE=gateway-qos |
| 30 | - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19 OS_VERSION=pike SUITE=gateway-legacy-l2gw |
| 31 | - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19 OS_VERSION=pike SUITE=compute-dvr |
| 32 | - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19 OS_VERSION=pike SUITE=compute-legacy |
| 33 | - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19 OS_VERSION=pike SUITE=compute-sriov |
| 34 | - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19 OS_VERSION=pike SUITE=compute-qos |
| 35 | - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19 OS_VERSION=pike SUITE=control-dvr |
| 36 | - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19 OS_VERSION=pike SUITE=control-lbaas-octavia |
| 37 | - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19 OS_VERSION=pike SUITE=control-l2gw |
| 38 | - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19 OS_VERSION=pike SUITE=control-single |
| 39 | - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19 OS_VERSION=queens SUITE=control-ovn |
| 40 | - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19 OS_VERSION=pike SUITE=gateway-dvr |
| 41 | - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19 OS_VERSION=pike SUITE=gateway-legacy |
| 42 | - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19 OS_VERSION=ocata SUITE=gateway-legacy-fwaas-v1 |
| 43 | - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19 OS_VERSION=pike SUITE=gateway-legacy-opendaylight |
Petr Michalec | 520a2a1 | 2017-03-13 08:47:43 +0100 | [diff] [blame] | 44 | |
| 45 | before_script: |
| 46 | - set -o pipefail |
| 47 | - make test | tail |
| 48 | |
| 49 | script: |
Martin Polreich | cb1e80c | 2018-01-05 13:26:12 +0100 | [diff] [blame] | 50 | - test ! -e .kitchen.yml || bundle exec kitchen converge ${SUITE} || true |
| 51 | - test ! -e .kitchen.yml || bundle exec kitchen verify ${SUITE} -t tests/integration |
Petr Michalec | 520a2a1 | 2017-03-13 08:47:43 +0100 | [diff] [blame] | 52 | |
| 53 | notifications: |
| 54 | webhooks: |
| 55 | urls: |
| 56 | - https://webhooks.gitter.im/e/6123573504759330786b |
| 57 | on_success: change # options: [always|never|change] default: always |
| 58 | on_failure: never # options: [always|never|change] default: always |
| 59 | on_start: never # options: [always|never|change] default: always |
| 60 | on_cancel: never # options: [always|never|change] default: always |
| 61 | on_error: never # options: [always|never|change] default: always |
| 62 | email: false |